Skip to content

Instantly share code, notes, and snippets.

@ccammilleri
Created February 10, 2016 16:21
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save ccammilleri/968cc826e58b988bc0a5 to your computer and use it in GitHub Desktop.
Save ccammilleri/968cc826e58b988bc0a5 to your computer and use it in GitHub Desktop.
set PROMPT %red%L %yel%J %grn%S %blu%W
load nessus
load pentest
load sounds
load alias
alias j "jobs -v"
alias s "sessions -v"
alias -f w "workspace"
alias so "show options"
alias sa "show advanced"
alias -f e "exploit -j -z"
alias psexec_psh "use exploit/windows/smb/psexec_psh"
alias psexec_cmd "use auxiliary/admin/smb/psexec_command"
alias psexec "use exploit/windows/smb/psexec"
alias handler "use exploit/multi/handler"
alias screen_spy "use post/windows/gather/screen_spy"
alias sphttps "set payload windows/meterpreter/reverse_https"
alias sphttp "set payload windows/meterpreter/reverse_http"
alias sptcp "set payload windows/meterpreter/reverse_tcp"
alias smart_hashdump "use post/windows/gather/smart_hashdump"
#setg enablecontextencoding true
#setg enablestageencoding true
setg exitonsession false
setg MeterpreterUserAgent "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Win64; x64; Trident/4.0)"
setg MeterpreterServerName "Microsoft-IIS/8.0"
@NeodymiumPhish
Copy link

I've looked everywhere, but I can't find more clarity on the color-coding for the PROMPT. I'd like to end my PROMPT with resetting/unsetting the color after %W, but I don't know what the code would be for setting to white or unsetting the color altogether.

Do you have a resource for what the colors are or how to unset this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment