This forum is in archive mode. You will not be able to post new content.

Author Topic: [Perl] ClapTrap IRC Bot 0.5  (Read 2966 times)

0 Members and 1 Guest are viewing this topic.

Offline Doddy

  • Serf
  • *
  • Posts: 30
  • Cookies: 20
    • View Profile
[Perl] ClapTrap IRC Bot 0.5
« on: 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 -

The code is here

Offline techb

  • Soy Sauce Feeler
  • Global Moderator
  • King
  • *
  • Posts: 2350
  • Cookies: 345
  • Aliens do in fact wear hats.
    • View Profile
    • github
Re: [Perl] ClapTrap IRC Bot 0.5
« Reply #1 on: January 31, 2014, 03:32:53 PM »
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.
>>>import this
-----------------------------

Offline Doddy

  • Serf
  • *
  • Posts: 30
  • Cookies: 20
    • View Profile
Re: [Perl] ClapTrap IRC Bot 0.5
« Reply #2 on: January 31, 2014, 04:37:46 PM »
the code is done in perl, not php

Offline l0n3r

  • Serf
  • *
  • Posts: 23
  • Cookies: -16
    • View Profile
Re: [Perl] ClapTrap IRC Bot 0.5
« Reply #3 on: January 31, 2014, 04:47:38 PM »
thats a pretty dope tool  :) ... even though i dont know why you mentioned PHP when its perl

Offline techb

  • Soy Sauce Feeler
  • Global Moderator
  • King
  • *
  • Posts: 2350
  • Cookies: 345
  • Aliens do in fact wear hats.
    • View Profile
    • github
Re: [Perl] ClapTrap IRC Bot 0.5
« Reply #4 on: January 31, 2014, 05:05:59 PM »
I seen a P so who cares? The thought still applies.
>>>import this
-----------------------------

Offline Phage

  • VIP
  • Overlord
  • *
  • Posts: 1280
  • Cookies: 120
    • View Profile
Re: [Perl] ClapTrap IRC Bot 0.5
« Reply #5 on: January 31, 2014, 10:06:38 PM »
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).
"Ruby devs do, in fact, get all the girls. No girl wants a python, but EVERY girl wants rubies" - connection

"It always takes longer than you expect, even when you take into account Hofstadter’s Law."

 



Want to be here? Contact Ande, Factionwars or Kulverstukas on the forum or at IRC.