Skip to content

Commit ceb92cd

Browse files
committed
update login method
1 parent 1134b0a commit ceb92cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/auxiliary/gather/solarwinds_orion_sqli.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ def login (username,password)
5757
'__EVENTTARGET' => '',
5858
'__EVENTARGUMENT' => '',
5959
'__VIEWSTATE' => viewstate,
60-
'ctl00$BodyContent$Username' => datastore['USERNAME'],
61-
'ctl00$BodyContent$Password' => datastore['PASSWORD']
60+
'ctl00$BodyContent$Username' => username,
61+
'ctl00$BodyContent$Password' => password
6262
},
6363
'cookie' => cookie
6464
})

0 commit comments

Comments
 (0)