Rooting 3
only_samurai wrote: as in with a trace route or a ping? that would be a bit hard to emulate methinks. ALOT of possiblities to put in there…but a good idea all the same. im sure its doable. and yeah, we do have rooting 3 coming out soon enough
Not too hard to make a simulated ping… i made this in about 30 seconds with little knowledge of java… you being the java jedi should be able to school this but here:
public static void main ( String [ ] args ) {
IStream Input = new IStream( );
System.out.print ("Type command:");
String ping = Input.getString ();
if (ping.equals ("ping 127.0.0.1") )
System.out.println ("Pinging 127.0.0.1 with 32 bytes of data ");
System.out.println ("Reply from 127.0.0.1: bytes=32 time=18ms TIL=244" );
System.out.pringln ("Ping statistics 127.0.0.1:");
System.out.pringln ("PING INFO HERE");
else
System.out.println ("No command found");
try { System.in.read () ; }
catch (Exception e) {}
}
}```
@biggnic, i don't think samurai was talking about the code, he was talking about the > PING INFO HERE
There's a lot of things that can go in there and to be as specific as allowing the user to ping, traceroute, and many other commands with a realistic output would be time-consuming (unless you had a realistic target in your midst). Although, i'd like to see them implement a tracerout where it hits a firewall and you have to figure out that it hit a firewall (which wouldn't be hard), then "take out" the firewall or "firewalk" it. Something like that implemented would be cool.