Skip to content

Commit 897ae10

Browse files
committed
fixed msftidy.rb complains
1 parent 7109d63 commit 897ae10

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

modules/exploits/multi/http/eaton_nsm_code_exec.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,11 +79,11 @@ def read_credentials()
7979
print_status("Reading user credentials from the database")
8080
response = execute_php_code(php)
8181

82-
if not response or response.code != 200 then
83-
print_error("Failed: Error requesting page")
82+
if not response or response.code != 200 then
83+
print_error("Failed: Error requesting page")
8484
return
8585
end
86-
86+
8787
credentials = response.body.to_s.scan(/\d{10}(.*)\d{10}(.*)\d{10}/)
8888

8989
return if credentials.length == 0

0 commit comments

Comments
 (0)