Tiza Posted April 8, 2017 Report Share Posted April 8, 2017 Hey everyone, I am trying to work on some code to execute putty on a Remote Machine using php. Hence i decided to code something like this to see if it works Code Looks like this <?php $ip = "121.36.36.254"; $file = "http://www.ovladis.eu/file/putty.exe"; $fp = fsockopen($ip,80,$errno,$errstr); if (!$fp) { echo "$errstr ($errno)<br />\n"; } else { shell_exec($file); ?> AM i Missing something ? Please Advice if i am Doing it correctly. Quote Link to comment Share on other sites More sharing options...
Amalf Posted April 8, 2017 Report Share Posted April 8, 2017 Bruhhhhh.... this is some next level ... bruhhhhhhhhhhhhhhhhhhhhhh 1 Quote Link to comment Share on other sites More sharing options...
aelius Posted April 8, 2017 Report Share Posted April 8, 2017 wtf ?! Hahahaha Quote Link to comment Share on other sites More sharing options...