We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09f795a commit 2b5a36dCopy full SHA for 2b5a36d
1 file changed
modules/auxiliary/scanner/ftp/ftp_login.rb
@@ -67,13 +67,28 @@ def grab_report_banner
67
disconnect
68
end
69
70
+ unless banner
71
+ vprint_warning('No FTP banner received')
72
+ return
73
+ end
74
+
75
+ # Cleaned up FTP banner
76
report_service(
77
host: rhost,
78
port: rport,
79
proto: 'tcp',
80
name: 'ftp',
81
info: banner_version
82
)
83
84
+ # Raw FTP banner
85
+ report_note(
86
+ host: rhost,
87
+ port: rport,
88
+ proto: 'tcp',
89
+ type: 'ftp.banner',
90
+ data: { banner: banner.strip }
91
+ )
92
93
94
def run_host(ip)
0 commit comments