We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7109d63 commit 897ae10Copy full SHA for 897ae10
modules/exploits/multi/http/eaton_nsm_code_exec.rb
@@ -79,11 +79,11 @@ def read_credentials()
79
print_status("Reading user credentials from the database")
80
response = execute_php_code(php)
81
82
- if not response or response.code != 200 then
83
- print_error("Failed: Error requesting page")
+ if not response or response.code != 200 then
+ print_error("Failed: Error requesting page")
84
return
85
end
86
-
+
87
credentials = response.body.to_s.scan(/\d{10}(.*)\d{10}(.*)\d{10}/)
88
89
return if credentials.length == 0
0 commit comments