Skip to content

Commit 2f9eebe

Browse files
committed
remove plugin dir
1 parent eb8429c commit 2f9eebe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/exploits/unix/webapp/wp_admin_shell_upload.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ def exploit
9696
print_status("Executing the payload at #{payload_uri}...")
9797
register_files_for_cleanup("#{payload_name}.php")
9898
register_files_for_cleanup("#{plugin_name}.php")
99+
register_dir_for_cleanup("../#{plugin_name}")
99100
send_request_cgi({ 'uri' => payload_uri, 'method' => 'GET' }, 5)
100101
end
101102
end

0 commit comments

Comments
 (0)