mirror of
git://git.acid.vegas/IRCP.git
synced 2024-11-21 23:46:41 +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?
|
* How do we handle the possibility of connecting to multiple servers linked to same network?
|
||||||
* Seperate lists for failed & banned networks.
|
* Seperate lists for failed & banned networks.
|
||||||
* Learn network target-change throttles from 439 **ERR_TARGETTOOFAST** replies *(Research IRCd defaults)*
|
* Learn network target-change throttles from 439 **ERR_TARGETTOOFAST** replies *(Research IRCd defaults)*
|
||||||
|
* Store last command execute to detect triggers
|
||||||
|
|
||||||
## Opt-out
|
## Opt-out
|
||||||
You can request to opt out of our scans by sending an email to [scan@internetrelaychat.org](mailto://scan@internetrelaychat.org)
|
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 random
|
||||||
import ssl
|
import ssl
|
||||||
import sys
|
import sys
|
||||||
|
import tarfile
|
||||||
import time
|
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:
|
class settings:
|
||||||
daemon = False # Run in daemon mode (24/7 throttled scanning)
|
daemon = False # Run in daemon mode (24/7 throttled scanning)
|
||||||
errors = True # Show errors in console
|
errors = True # Show errors in console
|
||||||
@ -244,6 +242,7 @@ class probe:
|
|||||||
while self.nicks['check']:
|
while self.nicks['check']:
|
||||||
await asyncio.sleep(1)
|
await asyncio.sleep(1)
|
||||||
self.loops['whois'].cancel()
|
self.loops['whois'].cancel()
|
||||||
|
self.loops['nick'].cancel()
|
||||||
await self.raw('QUIT')
|
await self.raw('QUIT')
|
||||||
except asyncio.CancelledError:
|
except asyncio.CancelledError:
|
||||||
pass
|
pass
|
||||||
|
@ -55,4 +55,4 @@ if len(sys.argv) >= 2:
|
|||||||
else:
|
else:
|
||||||
print('usage: python parser.py <field> [clean]\n')
|
print('usage: python parser.py <field> [clean]\n')
|
||||||
print(' <field> may be any item in the snapshots (001, NOTICE, 464, etc) or a string to search')
|
print(' <field> 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')
|
print(' [clean] may be optionally used to display a cleaner output')
|
||||||
|
Loading…
Reference in New Issue
Block a user