@@ -16,17 +16,17 @@ module MetasploitModule
16
16
17
17
def initialize ( info = { } )
18
18
super ( merge_info ( info ,
19
- 'Name' => 'Unix Command Shell, Reverse TCP (via ncat)' ,
20
- 'Description' => 'Creates an interactive shell via ncat, utilising ssl mode' ,
21
- 'Author' => 'C_Sto' ,
22
- 'License' => MSF_LICENSE ,
23
- 'Platform' => 'unix' ,
24
- 'Arch' => ARCH_CMD ,
25
- 'Handler' => Msf ::Handler ::ReverseTcpSsl ,
26
- 'Session' => Msf ::Sessions ::CommandShell ,
27
- 'PayloadType' => 'cmd' ,
28
- 'RequiredCmd' => 'ncat' ,
29
- 'Payload' =>
19
+ 'Name' => 'Unix Command Shell, Reverse TCP (via ncat)' ,
20
+ 'Description' => 'Creates an interactive shell via ncat, utilising ssl mode' ,
21
+ 'Author' => 'C_Sto' ,
22
+ 'License' => MSF_LICENSE ,
23
+ 'Platform' => 'unix' ,
24
+ 'Arch' => ARCH_CMD ,
25
+ 'Handler' => Msf ::Handler ::ReverseTcpSsl ,
26
+ 'Session' => Msf ::Sessions ::CommandShell ,
27
+ 'PayloadType' => 'cmd' ,
28
+ 'RequiredCmd' => 'ncat' ,
29
+ 'Payload' =>
30
30
{
31
31
'Offsets' => { } ,
32
32
'Payload' => ''
@@ -38,7 +38,7 @@ def initialize(info = {})
38
38
# Constructs the payload
39
39
#
40
40
def generate
41
- return super + command_string
41
+ super + command_string
42
42
end
43
43
44
44
#
0 commit comments