ConfigurableSettings() { settings = new LinkedHashMap<>(); put("Add 'fcbz' cachebuster", false); put("Add dynamic cachebuster", false); put("learn observed words", false); put("skip boring words", true); put("only report unique params", false); put("response", true); put("use basic wordlist", true); put("use bonus wordlist", false); put("use custom wordlist", false); put("custom wordlist path", "/usr/share/dict/words"); put("bruteforce", false); put("skip uncacheable", false); put("dynamic keyload", false); put("max one per host", false); put("max one per host+status", false); put("scan identified params", false); put("enable auto-mine", false); put("auto-mine headers", false); put("auto-mine cookies", false); put("auto-mine params", false); put("auto-nest params", false); put("fuzz detect", false); put("try cache poison", true); put("try method flip", false); put("try -_ bypass", false); put("thread pool size", 8); put("rotation interval", 200); put("rotation increment", 4);
val = ((JTextField) val).getText(); put(key, val); Utilities.callbacks.saveExtensionSetting(key, encode(val));
ConfigurableSettings() { settings = new LinkedHashMap<>(); put("thorough mode", false); put("confirmations", 8); put("encode everything", false); put("debug", false); put("try transformation scan", false); put("try diffing scan", true); put("diff: HPP", true); put("diff: HPP auto-followup", false); put("diff: syntax attacks", true); put("diff: value preserving attacks", true); put("diff: experimental concat attacks", false); put("diff: magic value attacks", true); put("diff: magic values", "undefined,null,empty,none,COM1,c!C123449477,aA1537368460!"); for(String key: settings.keySet()) { //Utilities.callbacks.saveExtensionSetting(key, null); // purge saved settings String value = Utilities.callbacks.loadExtensionSetting(key); if (Utilities.callbacks.loadExtensionSetting(key) != null) { putRaw(key, value); } } NumberFormat format = NumberFormat.getInstance(); onlyInt = new NumberFormatter(format); onlyInt.setValueClass(Integer.class); onlyInt.setMinimum(-1); onlyInt.setMaximum(Integer.MAX_VALUE); onlyInt.setAllowsInvalid(false); }
val = ((JTextField) val).getText(); put(key, val); Utilities.callbacks.saveExtensionSetting(key, encode(val));
ConfigurableSettings() { settings = new LinkedHashMap<>(); put("throttle", 1000); put("max param length", 30); put("scan path", true); put("scan cookies", true); put("scan headers", true); put("target headers", "User-Agent,Referer"); put("header target mime types", "HTML,JSON"); put("header target status codes", "200,302,307"); for(String key: settings.keySet()) { //Utilities.callbacks.saveExtensionSetting(key, null); // purge saved settings String value = Utilities.callbacks.loadExtensionSetting(key); if (Utilities.callbacks.loadExtensionSetting(key) != null) { putRaw(key, value); } } NumberFormat format = NumberFormat.getInstance(); onlyInt = new NumberFormatter(format); onlyInt.setValueClass(Integer.class); onlyInt.setMinimum(-1); onlyInt.setMaximum(Integer.MAX_VALUE); onlyInt.setAllowsInvalid(false); }
val = ((JTextField) val).getText(); put(key, val); Utilities.callbacks.saveExtensionSetting(key, encode(val));