Sort path list by frequency

GSoC/Meterpreter_Web_Console
William Vu 2018-10-22 22:58:25 -05:00
parent df23507772
commit b4bdc52597
1 changed files with 2 additions and 2 deletions

View File

@ -47,13 +47,13 @@ class MetasploitModule < Msf::Exploit::Remote
])
end
# List from PoC
# List from PoC sorted by frequency
def upload_paths
%w[
/server/php/index.php
/server/php/upload.class.php
/example/upload.php
/server/php/UploadHandler.php
/example/upload.php
/php/index.php
].map { |u| normalize_uri(target_uri.path, u) }
end