Commit c394b170 authored by fxb's avatar fxb

fixing and forcing tor at 127.0.0.1:9050 for dev reasons

parent e1c1eccc
......@@ -20,6 +20,10 @@ public class Main {
*
*/
public static void main(String[] args) {
System.setProperty("socksProxyHost", "127.0.0.1");
System.setProperty("socksProxyPort", "9050");
Arguments A = new Parser().parseIt(args);
if(A == null) {
System.out.println("[ERROR] Error while parsing your Arguments. See --help flag.");
......
......@@ -28,11 +28,11 @@ public class GenerateSimpleDorks {
}
public static String filetype(String dork) {
if(dork.indexOf(".php?") != -1) return "php?";
else if(dork.indexOf(".asp?") != -1) return "asp?";
else if(dork.indexOf(".cfm?") != -1) return "cfm?";
else if(dork.indexOf(".pl?") != -1) return "pl?";
else if(dork.indexOf(".cgi") != -1) return "cgi?";
if(dork.indexOf(".php?") != -1) return "php";
else if(dork.indexOf(".asp?") != -1) return "asp";
else if(dork.indexOf(".cfm?") != -1) return "cfm";
else if(dork.indexOf(".pl?") != -1) return "pl";
else if(dork.indexOf(".cgi") != -1) return "cgi";
else return null;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment