2 Next
Topic: Programmers Unite!
Mirage4279's photo
Fri 06/22/12 08:01 PM
Hacking 101...

If you look at the top of your web-browser in the text field you will see this string...

http://mingle2.com/topic/show/326721?page=1

Protcol: HTTP
Domain: mingle.com
File: /topic/show/326721?page=1
Query: page=1


I wll run it through my editor and compile it...


here goes...


public class MingleHacking101
{

public static void main(String[] args)
{
PrintStream out = System.out;
try
{
URL hackMingle2 = new URL("http://mingle2.com/topic/reply/326721?page=1");
out.println("Protocol: "+hackMingle2.getProtocol());
out.println("File: "+hackMingle2.getFile());
out.println("Authority: "+hackMingle2.getAuthority());
out.println("Ref: "+hackMingle2.getRef());
out.println("Query: "+hackMingle2.getQuery());
out.println("Path: "+hackMingle2.getPath());

}
catch(Exception e)
{

}
}

}





Output Below........................




Protocol: http
File: /topic/reply/326721?page=1
Authority: mingle2.com
Ref: null
Query: page=1
Path: /topic/reply/326721
BUILD SUCCESSFUL (total time: 13 seconds)

See I was exactly right!!!!!!!!!


Mirage4279's photo
Fri 06/22/12 08:01 PM
Edited by Mirage4279 on Fri 06/22/12 08:02 PM
Hacking 101...

If you look at the top of your web-browser in the text field you will see this string...

http://mingle2.com/topic/show/326721?page=1

Protcol: HTTP
Domain: mingle.com
File: /topic/show/326721?page=1
Query: page=1


I wll run it through my editor and compile it...


here goes...


public class MingleHacking101
{

public static void main(String[] args)
{
PrintStream out = System.out;
try
{
URL hackMingle2 = new URL("http://mingle2.com/topic/reply/326721?page=1");
out.println("Protocol: "+hackMingle2.getProtocol());
out.println("File: "+hackMingle2.getFile());
out.println("Authority: "+hackMingle2.getAuthority());
out.println("Ref: "+hackMingle2.getRef());
out.println("Query: "+hackMingle2.getQuery());
out.println("Path: "+hackMingle2.getPath());

}
catch(Exception e)
{

}
}

}





Output Below........................




Protocol: http
File: /topic/reply/326721?page=1
Authority: mingle2.com
Ref: null
Query: page=1
Path: /topic/reply/326721
BUILD SUCCESSFUL (total time: 13 seconds)

See I was exactly right!!!!!!!!!

:banana: :banana: :banana: :banana:

mrparadoxical's photo
Sat 06/23/12 06:11 AM
ROFLOL

2 Next