Skip to content

Instantly share code, notes, and snippets.

@carnal0wnage
Created February 27, 2016 15:05
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 carnal0wnage/cbe3a4ab1c78d7fbe096 to your computer and use it in GitHub Desktop.
Save carnal0wnage/cbe3a4ab1c78d7fbe096 to your computer and use it in GitHub Desktop.
snippet for blog post
msf > sessions -h
Usage: sessions [options]
Active session manipulation and interaction.
OPTIONS:
-K Terminate all sessions
-c <opt> Run a command on the session given with -i, or all
-h Help banner
-i <opt> Interact with the supplied session ID
-k <opt> Terminate sessions by session ID and/or range
-l List all active sessions
-q Quiet mode
-r Reset the ring buffer for the session given with -i, or all
-s <opt> Run a script on the session given with -i, or all
-t <opt> Set a response timeout (default: 15)
-u <opt> Upgrade a shell to a meterpreter session on many platforms
-v List verbose fields
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment