EvilZone
Programming and Scripting => Scripting Languages => : Doddy January 31, 2014, 01:21:57 PM
-
Hello I just improve my irc bot called Claptrap (based on the funny robot borderlands), the bot has the following commands:
- Scanner SQLI
- Scanner LFI
- Search admin panel
- Locator IP
- SQLI search in google and RFI
- To Crack MD5 hashes
- URL using tinyurl Cutter
- HTTP FingerPrinting
- Encoder base64, hex and ASCII
The video :
- ClapTrap IRC Bot - Examples of use - (http://youtu.be/4Hnq3Gi--9M)
The code is here (http://pastebin.com/wrV7rhZW)
-
I don't do much PHP, so I can't help there, but why not keep the data and code separate? The generic pathing at the beginning is just data. Throw it in a file or DB or something; you seem to use a config file.
Also why not keep IRC and other stuff separated. A bot on IRC is there to relay messages, not scan for SQLI.
Again, I'm not a php person, but even the logging could do with an array a for loop and then eval or something kinda similar.
I do condone you on regex however. I always hated regex and probably always will lol. I know php is a web server and web-of-things kinda deal, but this seems more application specific and a bit less server service driven. Keep the IRC even, but I would see something like this with pretty buttons instead of IRC commands to a bot directly. Anyway, API or something why not a framework?
Good job though. Keep on, and on will be keeping.
-
the code is done in perl, not php
-
thats a pretty dope tool :) ... even though i dont know why you mentioned PHP when its perl
-
I seen a P so who cares? The thought still applies.
-
Ehm... Why create this as a IRC bot? To me it would do better as a stand alone script? Anyway, I can't really say much since I don't like Perl, so I won't bother reading through the code (not that I would be able to help anyway).