IRCForumları - IRC ve mIRC Kullanıcılarının Buluşma Noktası
  sohbet odaları

>
+
Etiketlenen Kullanıcılar

3Beğeni(ler)

 
 
LinkBack Seçenekler Stil
Prev önceki Mesaj   sonraki Mesaj Next
Alt 26 Ocak 2012, 13:32   #1
Çevrimdışı
Kullanıcıların profil bilgileri misafirlere kapatılmıştır.
IF Ticaret Sayısı: (0)
IF Ticaret Yüzdesi:(%)
Proxy.tcl




PHP Kod:   Kodu kopyalamak için üzerine çift tıklayın!
##### Ayarlar
set bot(prxydizin"scripts/db/proxy.db"
set bot(logchan"#MyLOG"
set bot(bansure"1h"

bind time "* * * * *"  proxy:check
bind time 
"* * * * *"  db:yenile

package 
require http
proc db
:yenile {type} {
       global 
bot server
       
if {[file exists "$bot(prxydizin)"]} {
               
set prxyfile [open "$bot(prxydizin)" r]
               
set prxylines [split [read $prxyfile"\n"]
               catch {
close $prxyfile}
               
set ::proxyliste ""
               
set count 1
               
foreach proxy $prxylines {
                       if {
$proxy != ""} {
                               
append ::proxyliste " [lindex $proxy 0]"
                               
incr count
                       
}

               }
       }
}


proc proxy:check {nick uhost hand chan text} {
    global 
server botnick bot server
       set havasite 
"http://torstatus.blutmagie.de/"
       
set sayfa ""
       
catch {set sayfa [::http::geturl $havasite -timeout 5000]} error
       
if {[string match -nocase "*couldn't open socket*" $error]} {
               ::
http::cleanup $sayfa
               
return
       }
       if { [::
http::status $sayfa] == "*timeout*" } {
               ::
http::cleanup $sayfa
               
return
       }
       
set html [::http::data $sayfa]
       ::
http::cleanup $sayfa
       set gh 
[open $bot(prxydizinw]
       foreach 
[split $html \n] {
                       if {[
string match -nocase "*</small></td></tr></table></td><td*" $y]} {
               
regexp -- {\/cgi\-bin\/.+>(.*?)</a>} $y ip
                               puts $gh 
"$ip"
                       
}
       }
       
flush $gh
       
catch {closer $gh}
}

proc noticeler {from keyword arg} {
       global 
botnick bot server girTas
       
if {[string match "*Client connecting on port*" $arg] } {
               
set nick [lindex $arg 9]
               
set host [string range [lindex [split [lindex $arg 10"@"10 end-1]
               
set port [string range [lindex [split [lindex $arg 8":"00 end]
               
set ident [lindex [split [lindex [split [lindex $arg 10] @] 0] (] 1]
               if {
$bot(prxydurum) == "on"} {
                       
utimer 4 [list putquick "NOTICE $nick :Lütfen bekleyin; bilgileriniz taraniyor.."]
                       
utimer 4 [list putquick "NOTICE $nick :Bu işlem yaklaşik 7 saniye dürmektedir."]
                       
utimer 5 [list putquick "x0 add $nick"]
                       if {[
info exists ::proxyliste]} {
                               foreach 
prxy $::proxyliste {
                                       if {[
string match -nocase $prxy $host]} {
                                               
putquick "GZLINE *@$host $bot(bansure) Sunucumuza wingate/socks/tor/proxy kullanarak giris yapamazsiniz."
                                               
putquick "PRIVMSG $bot(logchan) :\002***\002 PROXY Giriş : Nick:\002$nick\002 IP: \002$host\002 Ident: \002$ident\002 PORT:\002$port\002"
                                               
return 0
                                       
}
                               }
                       }
                       
utimer 6 [list putquick "NOTICE $nick :$nick kontrol den başarılıbir şekilde gectiniz hoş sohbetler.."]
                       
utimer 7 [list putquick "PRIVMSG OperServ RAW SVSJOIN $nick$bot(JChanKanallar)"]
               }
               
putquick "PRIVMSG $bot(logchan) :\002***\002 Güvenli Baglanti: Nick:\002$nick\002 Ident: \002$ident\002 Host: \002$host\002 Port:\002$port\002"
               
return 0
       
}
}

putlog "#####################################"
putlog "#        PROXY.TCL Yüklendi          #"
putlog "#                                    #"
putlog "#        Coder by qeweSe             #"
putlog "#                                    #"
putlog "#####################################" 


 
Alıntı ile Cevapla

 

Etiketler
proxytcl


Konuyu Toplam 1 Üye okuyor. (0 Kayıtlı üye ve 1 Misafir)
 
Seçenekler
Stil

Yetkileriniz
Konu Acma Yetkiniz Yok
Cevap Yazma Yetkiniz Yok
Eklenti Yükleme Yetkiniz Yok
Mesajınızı Değiştirme Yetkiniz Yok

BB code is Açık
Smileler Açık
[IMG] Kodları Açık
HTML-Kodu Kapalı
Trackbacks are Kapalı
Pingbacks are Açık
Refbacks are Açık


Benzer Konular
Konu Konuyu Başlatan Forum Cevaplar Son Mesaj
Güncel Proxy Listeleri, Online Proxy Site, Proxy Server List, Free Proxy Forum Sarya Güncel Proxy 1 01 Kasım 2022 13:13
Proxy Giriş Yapanları #proxy Kanalına Almak ! diyorumki mIRC Scripting Sorunları 30 04 Nisan 2013 15:14
Proxy IP Leri proxy.data dosyasından okutarak servere girişte zline atma ExrimCi mIRC Scripting Sorunları 4 26 Şubat 2010 15:11
Proxy Koruması ( Koruma Icın Proxy Lıstesı Lazım) Heavenly mIRC Scripting Sorunları 2 05 Temmuz 2009 20:09