@@ -193,25 +193,25 @@ def get_filezilla_creds(paths)
193
193
end
194
194
# report the goods!
195
195
if config [ 'admin_port' ] == "<none>"
196
- #if report_auth_info executes with admin_port equal to "<none>"
197
- #the module will crash with an error.
198
- vprint_status ( "(No admin information found.)" )
196
+ #if report_auth_info executes with admin_port equal to "<none>"
197
+ #the module will crash with an error.
198
+ vprint_status ( "(No admin information found.)" )
199
199
else
200
- report_auth_info (
201
- :host => session . sock . peerhost ,
202
- :port => config [ 'admin_port' ] ,
203
- :sname => 'filezilla-admin' ,
204
- :proto => 'tcp' ,
205
- :user => 'admin' ,
206
- :pass => config [ 'admin_pass' ] ,
207
- :type => "password" ,
208
- :source_id => source_id ,
209
- :source_type => "exploit" ,
210
- :target_host => config [ 'admin_bindip' ] ,
211
- :target_port => config [ 'admin_port' ]
212
- )
200
+ report_auth_info (
201
+ :host => session . sock . peerhost ,
202
+ :port => config [ 'admin_port' ] ,
203
+ :sname => 'filezilla-admin' ,
204
+ :proto => 'tcp' ,
205
+ :user => 'admin' ,
206
+ :pass => config [ 'admin_pass' ] ,
207
+ :type => "password" ,
208
+ :source_id => source_id ,
209
+ :source_type => "exploit" ,
210
+ :target_host => config [ 'admin_bindip' ] ,
211
+ :target_port => config [ 'admin_port' ]
212
+ )
213
213
end
214
-
214
+
215
215
p = store_loot ( "filezilla.server.creds" , "text/csv" , session , credentials . to_csv ,
216
216
"filezilla_server_credentials.csv" , "FileZilla FTP Server Credentials" )
217
217
0 commit comments