Skip to content

Commit d67b55d

Browse files
author
HD Moore
committed
Fix autofilter values for aggressive modules
1 parent a4f0666 commit d67b55d

13 files changed

+53
-0
lines changed

modules/exploits/freebsd/http/watchguard_cmd_exec.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,4 +277,8 @@ def on_request_uri(cli, request)
277277
send_response(cli, @pl)
278278
end
279279

280+
def autofilter
281+
true
282+
end
283+
280284
end

modules/exploits/linux/antivirus/escan_password_exec.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,10 @@ def on_request_uri(cli, request)
107107
end
108108
end
109109

110+
def autofilter
111+
true
112+
end
113+
110114
def exploit
111115
@pl = generate_payload_exe
112116
if @pl.blank?

modules/exploits/multi/http/coldfusion_rds.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,10 @@ def on_request_uri(cli, request)
148148
end
149149
end
150150

151+
def autofilter
152+
true
153+
end
154+
151155
#task scheduler is pretty bad at handling binary files and likes to mess up our meterpreter :-(
152156
#instead we use a CFML filedropper to embed our payload and execute it.
153157
#this also removes the dependancy of using the probe.cfm to execute the file.

modules/exploits/multi/http/jboss_maindeployer.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,10 @@ def query_serverinfo
326326
res
327327
end
328328

329+
def autofilter
330+
true
331+
end
332+
329333
# Try to autodetect the target platform
330334
def detect_platform(res)
331335
if (res.body =~ /<td.*?OSName.*?(Linux|FreeBSD|Windows).*?<\/td>/m)

modules/exploits/multi/http/oracle_reports_rce.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,10 @@ def on_request_uri(cli, request)
170170
send_response(cli, @pl)
171171
end
172172

173+
def autofilter
174+
true
175+
end
176+
173177
def upload_payload
174178
print_status "#{peer} - Uploading payload ..."
175179
path = "/#{@local_path}#{@payload_dir}#{@payload_name}"

modules/exploits/multi/http/struts_default_action_mapper.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,10 @@ def on_request_uri(cli, request)
343343
send_response(cli, @pl)
344344
end
345345

346+
def autofilter
347+
true
348+
end
349+
346350
# wait for the data to be sent
347351
def wait_payload
348352
print_status("#{rhost}:#{rport} - Waiting for the victim to request the payload...")

modules/exploits/multi/misc/arkeia_agent_exec.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -552,4 +552,9 @@ def on_request_uri(cli, request)
552552
register_files_for_cleanup("c:\\#{@down_file}.exe")
553553
end
554554
end
555+
556+
def autofilter
557+
true
558+
end
559+
555560
end

modules/exploits/multi/misc/java_jmx_server.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,10 @@ def on_request_uri(cli, request)
9393
end
9494
end
9595

96+
def autofilter
97+
return true
98+
end
99+
96100
def check
97101
connect
98102

modules/exploits/unix/webapp/google_proxystylesheet_exec.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,10 @@ def on_request_uri(cli, request)
5959
send_response(cli, data)
6060
end
6161

62+
def autofilter
63+
true
64+
end
65+
6266
def check
6367
res = send_request_cgi({
6468
'uri' => '/search',

modules/exploits/unix/webapp/joomla_akeeba_unserialize.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,4 +146,8 @@ def on_request_uri(cli, request)
146146
send_not_found(cli)
147147
end
148148

149+
def autofilter
150+
true
151+
end
152+
149153
end

0 commit comments

Comments
 (0)