mirror of
git://git.acid.vegas/IRCP.git
synced 2024-11-25 01:16:40 +00:00
Forgot to import tarfile
This commit is contained in:
parent
1ca71db702
commit
337cf30a95
@ -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)
|
||||
|
5
ircp.py
5
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
|
||||
|
Loading…
Reference in New Issue
Block a user