We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 54a5b31 commit 8ff70caCopy full SHA for 8ff70ca
1 file changed
modules/auxiliary/scanner/ftp/ftp_anonymous.rb
@@ -108,7 +108,7 @@ def register_creds(target_host, access_type)
108
# Build service information
109
service_data = {
110
address: target_host,
111
- port: datastore['RPORT'],
+ port: rport,
112
service_name: 'ftp',
113
protocol: 'tcp',
114
workspace_id: myworkspace_id
@@ -117,7 +117,7 @@ def register_creds(target_host, access_type)
117
# Build credential information
118
credential_data = {
119
origin_type: :service,
120
- module_fullname: self.fullname,
+ module_fullname: fullname,
121
private_data: datastore['FTPPASS'],
122
private_type: :password,
123
username: datastore['FTPUSER'],
0 commit comments