Skip to content

Commit 5fd9420

Browse files
committed
ftp_version: Update initialize
1 parent dacc4bb commit 5fd9420

1 file changed

Lines changed: 18 additions & 13 deletions

File tree

modules/auxiliary/scanner/ftp/ftp_version.rb

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,25 @@ class MetasploitModule < Msf::Auxiliary
77
include Msf::Exploit::Remote::Ftp
88
include Msf::Auxiliary::Scanner
99

10-
def initialize
10+
def initialize(info = {})
1111
super(
12-
'Name' => 'FTP Version Scanner',
13-
'Description' => 'Detect FTP Version.',
14-
'Author' => [
15-
'hdm',
16-
'g0tmi1k' # @g0tmi1k - additional features
17-
],
18-
'License' => MSF_LICENSE,
19-
'Notes' => {
20-
'Stability' => [CRASH_SAFE],
21-
'Reliability' => [],
22-
'SideEffects' => [IOC_IN_LOGS]
23-
}
12+
update_info(
13+
info,
14+
'Name' => 'FTP Version Scanner',
15+
'Description' => %q{
16+
This module tries to identify the version of an FTP service by reading its banner.
17+
},
18+
'Author' => [
19+
'hdm',
20+
'g0tmi1k' # @g0tmi1k - additional features
21+
],
22+
'License' => MSF_LICENSE,
23+
'Notes' => {
24+
'Stability' => [CRASH_SAFE],
25+
'Reliability' => [],
26+
'SideEffects' => [IOC_IN_LOGS]
27+
}
28+
)
2429
)
2530

2631
register_options(

0 commit comments

Comments
 (0)