Skip to content

Commit 772a16f

Browse files
committed
fix style
1 parent 9e06c3f commit 772a16f

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

modules/payloads/singles/cmd/unix/reverse_ncat_ssl.rb

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,17 @@ module MetasploitModule
1616

1717
def initialize(info = {})
1818
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' =>
3030
{
3131
'Offsets' => { },
3232
'Payload' => ''
@@ -38,7 +38,7 @@ def initialize(info = {})
3838
# Constructs the payload
3939
#
4040
def generate
41-
return super + command_string
41+
super + command_string
4242
end
4343

4444
#

0 commit comments

Comments
 (0)