void incrStop() { stop += config.getInt("rotation increment"); }
public void delayRequest(String hostname){ if (hostname.equals("bwapps") || hostname.equals("labs-linux")) { return; } synchronized(hostname.intern()) { if (locks.containsKey(hostname)) { long waitFor = Utilities.globalSettings.getInt("throttle") - (new Date().getTime() - locks.get(hostname)); if (waitFor > 0) { try { Thread.sleep(waitFor); } catch (java.lang.InterruptedException e) { Utilities.err("Interrupted while sleeping"); } } } locks.put(hostname, new Date().getTime()); } } }
box.setText(String.valueOf(getInt(key))); panel.add(box); configured.put(key, box);
box.setText(String.valueOf(getInt(key))); panel.add(box); configured.put(key, box);
box.setText(String.valueOf(getInt(key))); panel.add(box); configured.put(key, box);
taskEngine.execute(new ParamGuesser(Utilities.callbacks.saveBuffersToTempFiles(messageInfo), false, Utilities.PARAM_HEADER, this, taskEngine, Utilities.globalSettings.getInt("rotation interval"), Utilities.globalSettings)); taskEngine.execute(new ParamGuesser(Utilities.callbacks.saveBuffersToTempFiles(messageInfo), false, IParameter.PARAM_COOKIE, this, taskEngine, Utilities.globalSettings.getInt("rotation interval"), Utilities.globalSettings)); taskEngine.execute(new ParamGuesser(Utilities.callbacks.saveBuffersToTempFiles(messageInfo), false, guessType, this, taskEngine, Utilities.globalSettings.getInt("rotation interval"), Utilities.globalSettings)); alreadyScanned.add(paramCode);
if (param.getName().length() > Utilities.globalSettings.getInt("max param length")) { continue;
int thread_count = taskEngine.getCorePoolSize(); int stop = config.getInt("rotation interval"); if (queueSize < thread_count) { stop = 256;
taskEngine = new ThreadPoolExecutor(Utilities.globalSettings.getInt("thread pool size"), Utilities.globalSettings.getInt("thread pool size"), 10, TimeUnit.MINUTES, tasks); Utilities.globalSettings.registerListener("thread pool size", value -> { Utilities.out("Updating active thread pool size to "+value);
params.replaceAll(x -> x.substring(0, min(x.length(), config.getInt("max param length"))));
tryMethodFlip = false; int longest = config.getInt("max param length");
for(int i=0; i<Utilities.globalSettings.getInt("confirmations"); i++) { Attack tempBreakAttack = buildAttackFromProbe(probe, probe.getNextBreak()); mergedBreakAttack.addAttack(tempBreakAttack);