Skip to content
This repository was archived by the owner on Oct 22, 2020. It is now read-only.

Commit 97e4ba9

Browse files
committed
Update to use the wp_content_dir option
1 parent 384bda5 commit 97e4ba9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/exploits/tevolution_shell_upload.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def payload_body_builder
3838

3939
def scrape_current_theme
4040
res = execute_get_request(url: full_uri)
41-
res.body[/\/wp-content\/themes\/(.*?)\//, 1] if res && res.body
41+
res.body[/\/#{wp_content_dir}\/themes\/(.*?)\//, 1] if res && res.body
4242
end
4343

4444
def uploaded_payload_location

0 commit comments

Comments
 (0)