25 Kasım 2010, 19:50
#1 Misafir
Kullanıcıların profil bilgileri misafirlere kapatılmıştır.
Bu nedir?
Selam arkadaslar bugun bi kode buldum ama ne işe yaradığını bilmiyorum
PHP Kod: Kodu kopyalamak için üzerine çift tıklayın!
////////////////////////////////////////////////// /////////////// // R00TSECURITY.ORG - YOUR SECURITY COMMUNITY / / R00TSECURITY.ORG - YOUR GÜVENLİK TOPLULUĞU // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - / / - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - // [2008-07-13] IRC Base64 Decode Bot / / [2008-07-13] IRC Base64 Decode Bot // http://r00tsecurity.org/db/code/5 / / Http://r00tsecurity.org/db/code/5 // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - / / - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - // GENERATED ON: 2010-11-24 | 10:57:44 / / ON ÜRETİLEN: 2010/11/24 | 10:57:44 ///////////////////////////////////////////////////////////////// ////////////////////////////////////////////////// /////////////// CODE INFO KODU BİLGİ #Base64 decoder # Base64 dekoder #Args: !b64decodebot <string to be encoded> # Args: encoded> olmak <String b64decodebot SOURCE CODE KOD KAYNAK #!/usr/bin/env python # / Usr / bin / env python import sys , socket , string , base64 import sys , soket , string , base64 if len ( sys . argv ) != 5 : eğer len ( sys . argv ) = 5 !: print "Usage: ./b64decodebot.py <host> <port> <nick> <channel>" print "Kullanımı: <kanal> ./b64decodebot.py <host> <bağlantı_noktası> <nick>" sys .exit( 1 ) ( 1 ) sys .exit HOST = sys . argv [ 1 ] HOST = sys . argv [ 1 ] PORT = int ( sys . argv [ 2 ]) PORT = int ( sys . argv [ 2 ]) NICK = sys . argv [ 3 ] NICK = sys . argv [ 3 ] CHAN = sys . argv [ 4 ] Chan = sys . argv [ 4 ] readbuffer = "" readbuffer = "" s = socket . socket ( ) s = socket . socket () s . connect (( HOST , PORT )) (( HOST , PORT )) s . connect s . send ( "NICK %s\r\n" % NICK ) s . send ( "NICK% s \ r \ n" % NICK ) s . send ( "USER %s %s bla :%s\r\n" % ( NICK , NICK , NICK )) s . send ( "KULLANICI% s% bla s:% s \ r \ n" % ( NICK , NICK , NICK )) s . send ( "JOIN :%s\r\n" % CHAN ) s . send ( "JOIN:% s \ r \ n" % CHAN ) while 1 : 1 ise : readbuffer = readbuffer + s . recv ( 1024 ) readbuffer = readbuffer + s . recv ( 1024 ) temp = string . split ( readbuffer , "\n" ) temp = string . split ( readbuffer , "\ n" ) readbuffer = temp . pop ( ) readbuffer = temp . pop () for line in temp : sıcaklığında hattı için : print line baskı hattı line = string . rstrip ( line ) line = string . rstrip ( line ) line = string . split ( line ) line = string . split ( line ) try: deneyin : if line [ 3 ] == ":!b64decodebot" : "!: B64decodebot" satırında [ 3 ] == eğer : s . send ( "PRIVMSG %s :%s%s\r\n" % ( CHAN , "b64decoded: " , base64 . b64decode ( line [ 4 ]))) s . send (:% ( Chan , "b64decoded:" "% s% s \ r \ n PRIVMSG% s" , base64 . b64decode ( çizgi [ 4 ]))) except ( IndexError ): ( IndexError hariç ): pass geçiş if( line [ 0 ]== "PING" ): ( Satır [ 0 ] == "PING" ) ise : s . send ( "PONG %s\r\n" % line [ 1 ]) ( "PONG% s \ r \ n" % çizgi [ 1 ]) s . send // http://r00tsecurity.org/db/code/5 / / Http://r00tsecurity.org/db/code/5
nedir bu?