We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 12d2b7b commit d1adfeeCopy full SHA for d1adfee
1 file changed
modules/auxiliary/scanner/ftp/ftp_anonymous.rb
@@ -102,7 +102,7 @@ def register_creds(target_host, access_type)
102
# Build service information
103
service_data = {
104
address: target_host,
105
- port: datastore['RPORT'],
+ port: rport,
106
service_name: 'ftp',
107
protocol: 'tcp',
108
workspace_id: myworkspace_id
@@ -111,7 +111,7 @@ def register_creds(target_host, access_type)
111
# Build credential information
112
credential_data = {
113
origin_type: :service,
114
- module_fullname: self.fullname,
+ module_fullname: fullname,
115
private_data: datastore['FTPPASS'],
116
private_type: :password,
117
username: datastore['FTPUSER'],
0 commit comments