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

c# - HttpResponseMessage System.InvalidOperationException -

sql - Postgresql error: "failed to find conversion function from unknown to text" -