Ping remote arbitrary command execution on linux -


i'm trying execute code on remote machine (virtual), runs webserver single post form, intended simple ping. on other side following script (part of it):

exec("/bin/ping -c 4 ".$_post["addr"]);

"addr" data entered in post form goes. calls /bin/ping , appends whatever data enter. question how can leverage shell? think since ping command runs root privileges should easy i'm still new game , couldn't find useful info on how this. appreciated :)


Comments

Popular posts from this blog

javascript - how to protect a flash video from refresh? -

android - Associate same looper with different threads -

visual studio 2010 - Connect to informix database windows form application -