From 337cf30a950c11839d8c38a81ef5f72ed09310df Mon Sep 17 00:00:00 2001 From: acidvegas Date: Sun, 23 Jul 2023 22:45:17 -0400 Subject: [PATCH] Forgot to import tarfile --- README.md | 1 + ircp.py | 5 ++--- parser.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index b6daa69..7931fd2 100644 --- a/README.md +++ b/README.md @@ -55,6 +55,7 @@ Mass scanning *default* ports of services is nothing new & though port 6667 is n * How do we handle the possibility of connecting to multiple servers linked to same network? * Seperate lists for failed & banned networks. * Learn network target-change throttles from 439 **ERR_TARGETTOOFAST** replies *(Research IRCd defaults)* +* Store last command execute to detect triggers ## Opt-out You can request to opt out of our scans by sending an email to [scan@internetrelaychat.org](mailto://scan@internetrelaychat.org) diff --git a/ircp.py b/ircp.py index e9a0306..9e319df 100644 --- a/ircp.py +++ b/ircp.py @@ -8,11 +8,9 @@ import os import random import ssl import sys +import tarfile import time -# Make sure you have enough RAM for logmax*threads -# For example, 5000000 log_max (5MB) on 1000 threads could *potentially* use up to 5GB in RAM - class settings: daemon = False # Run in daemon mode (24/7 throttled scanning) errors = True # Show errors in console @@ -244,6 +242,7 @@ class probe: while self.nicks['check']: await asyncio.sleep(1) self.loops['whois'].cancel() + self.loops['nick'].cancel() await self.raw('QUIT') except asyncio.CancelledError: pass diff --git a/parser.py b/parser.py index 159d141..fc1cf1e 100644 --- a/parser.py +++ b/parser.py @@ -55,4 +55,4 @@ if len(sys.argv) >= 2: else: print('usage: python parser.py [clean]\n') print(' may be any item in the snapshots (001, NOTICE, 464, etc) or a string to search') - print(' [clean] may be optionally used to display a cleaner output') \ No newline at end of file + print(' [clean] may be optionally used to display a cleaner output')