You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/exploits/linux/http/nagios_xi_chained_rce.rb
+14-10Lines changed: 14 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -44,10 +44,11 @@ def initialize(info = {})
44
44
'LHOST'=>Rex::Socket.source_address
45
45
}
46
46
))
47
+
47
48
register_options([
48
-
OptInt.new('USERID',[true,'User ID in the database to target',1]),
49
-
OptString.new('APITOKEN',[false,'If an API Token was already stolen, skip the sqli','8ftgcj2jubs8nrjnlga0ssakeen4ij8p339cl8shgom7kau7n86j3d6grsidgp6gm'])
50
-
],self.class)
49
+
OptInt.new('USER_ID',[true,'User ID in the database to target',1]),
50
+
OptString.new('API_TOKEN',[false,'If an API token was already stolen, skip the SQLi'])
51
+
])
51
52
end
52
53
53
54
defcheck
@@ -73,8 +74,8 @@ def exploit
73
74
fail_with(Failure::NotVulnerable,'Vulnerable version not found! punt!')
0 commit comments