slacker Posted June 30, 2011 Report Posted June 30, 2011 Author:ChronicCommand#!/usr/bin/pythonimport socket, sys, string, timeport = 6667nick = "iSploit_bot"host = 'irc.darkscience.ws'name = "pwnz0r"channel = '#iexploit' ident = 'chronicz'woot = socket.socket()woot.connect ( (host, port) )woot.send ( 'NICK ' + nick + '\r\n' )woot.send ( 'USER ' + ident + ' ' + ident + ' ' + ident + ' :chroniczbot\r\n' )while 1: data = woot.recv ( 1024 ) print(data) if data.find ( '376' ) != -1: woot.send( 'JOIN ' + channel + '\r\n' ) if data.find ( 'PING' ) != -1: woot.send( 'PONG ' + data.split() [1] + '\r\n') if data.find ( '!test' ) != -1: woot.send ("PRIVMSG #chroniccommand :Test message! \r\n") if data.fiind ( '!quit' ) != -1: woot.send ("QUIT\r\n") sys.exit() Quote
b-aze24 Posted August 6, 2011 Report Posted August 6, 2011 pe ce server se conecteaza? cumva UnderNet? Quote