Fixed variable error where .upper() was applied to a list (reported by vap0r)

This commit is contained in:
Dionysus 2023-10-01 12:39:10 -04:00
parent 2f688a2d9b
commit 69407ad93c
Signed by: acidvegas
GPG Key ID: EF4B922DB85DC9DE

View File

@ -1,6 +1,10 @@
#!/usr/bin/env python #!/usr/bin/env python
# efknockr (internet relay chat beacon) - developed by acidvegas in python (https://git.acid.vegas/efknockr) # 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 asyncio
import ipaddress import ipaddress
import os import os
@ -496,7 +500,7 @@ class probe:
if i in msg.lower(): if i in msg.lower():
check = [x for x in ('bopm','hopm') if x in line] check = [x for x in ('bopm','hopm') if x in line]
if check: 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: else:
error(self.display + '\033[93mProxy Monitor detected\033[0m') 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'): 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'):