Skip to content

Commit 518cf02

Browse files
committed
ftp_version: Update initialize
1 parent f1f99a7 commit 518cf02

1 file changed

Lines changed: 21 additions & 16 deletions

File tree

modules/auxiliary/scanner/ftp/ftp_version.rb

Lines changed: 21 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,28 @@ 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-
'References' => [
20-
['URL', 'https://www.ietf.org/rfc/rfc959']
21-
],
22-
'Notes' => {
23-
'Stability' => [CRASH_SAFE],
24-
'Reliability' => [],
25-
'SideEffects' => [IOC_IN_LOGS]
26-
}
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+
'References' => [
24+
['URL', 'https://www.ietf.org/rfc/rfc959']
25+
],
26+
'Notes' => {
27+
'Stability' => [CRASH_SAFE],
28+
'Reliability' => [],
29+
'SideEffects' => [IOC_IN_LOGS]
30+
}
31+
)
2732
)
2833

2934
register_options(

0 commit comments

Comments
 (0)