IRCP

- information gathering tool for irc servers
git clone git://git.acid.vegas/IRCP.git
Log | Files | Refs | Archive | README | LICENSE

commit b60c8bbcc7dfccbd8cd5e87ad051659da06fa5ec
parent ce94dfe634285b75f5d5307ea133c9a5b75ee346
Author: acidvegas <acid.vegas@acid.vegas>
Date: Sun, 18 Jun 2023 15:47:38 -0400

Added NickServ/ChanServ 'LIST *' commands

Diffstat:
Mircp.py | 4++--

1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ircp.py b/ircp.py
@@ -200,7 +200,7 @@ class probe:
 			await asyncio.sleep(throttle.delay)
 			cmds = ['ADMIN', 'CAP LS', 'HELP', 'INFO', 'IRCOPS', 'LINKS', 'MAP', 'MODULES -all', 'SERVLIST', 'STATS p', 'VERSION']
 			random.shuffle(cmds)
-			cmds += ['PRIVMSG NickServ :REGISTER {0} {1}'.format(self.login['pass'], self.login['mail']), 'LIST']
+			cmds += ['PRIVMSG NickServ :REGISTER {0} {1}'.format(self.login['pass'], self.login['mail']), 'PRIVMSG ChanServ :LIST *', 'PRIVMSG NickServ :LIST *', 'LIST']
 			for command in cmds:
 				try:
 					await self.raw(command)
@@ -399,7 +399,7 @@ class probe:
 						if seconds.isdigit():
 							self.jthrottle = throttle.seconds if int(seconds) > throttle.seconds else int(seconds)
 					error(self.display + '\033[31merror\033[0m - delay found', msg)
-				elif event == '465': # ERR_YOUREBANNEDCREEP
+				elif event == '465' and len(args) >= 5: # ERR_YOUREBANNEDCREEP
 					check = [check for check in bad.error if check in line.lower()]
 					if check:
 						if check[0] in ('dronebl','dnsbl'):