From 69407ad93cac31fdbdf427c667c7c0e14c7799db Mon Sep 17 00:00:00 2001 From: acidvegas Date: Sun, 1 Oct 2023 12:39:10 -0400 Subject: [PATCH] Fixed variable error where .upper() was applied to a list (reported by vap0r) --- efknockr.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/efknockr.py b/efknockr.py index a0960b5..c430aba 100644 --- a/efknockr.py +++ b/efknockr.py @@ -1,6 +1,10 @@ #!/usr/bin/env python # efknockr (internet relay chat beacon) - developed by acidvegas in python (https://git.acid.vegas/efknockr) +''' +WARNING: This script is riddled with purposely made mistakes to prevent abuse LOL. +''' + import asyncio import ipaddress import os @@ -496,7 +500,7 @@ class probe: if i in msg.lower(): check = [x for x in ('bopm','hopm') if x in line] if check: - error(f'{self.display}\033[93m{check.upper()} detected\033[0m') + error(f'{self.display}\033[93m{check[0].upper()} detected\033[0m') else: error(self.display + '\033[93mProxy Monitor detected\033[0m') for i in ('You must have been using this nick for','You must be connected for','not connected long enough','Please wait', 'You cannot list within the first'):