Konuyu Oyla:
  • Toplam: 0 Oy - Ortalama: 0
  • 1
  • 2
  • 3
  • 4
  • 5
Proxy Tarama Free Net
#1
Önceden yapılan ve herkesin katkıda bulunduğu proxy tarama kodlarına ilave yapıp düzenleyerek tek bir bir scricptte birleştirdim. Pc için yaptığım uygulamanın qpython versiyonudur.

sslproxies.org
gatherproxy.com
proxynova.com
spys.ru

gibi adreslerin yanı sıra panoya kopyalanan proxyleri de tarama yapar, zaten menü sizi yönlendirir. 
Çalışan proxyleri "/sccard/proxylist.txt" dosyasına kaydeder.

Free Net için:
PHP Kod:
#-*-coding:utf8;-*-
#qpy:2
#qpy:console

import threading
import time
, re
import androidhelper
import urllib2
print 
"\033[94m   'QPYTHON.NET' Proxy Tarama\x1b[m"

### BURAYA HOSTU YAZIN ###
CUSTOM_HOST ="b.scorecardresearch.com"
##########################

d=androidhelper.Android()
islem=["SSLProxies.org","GatherProxy.com","Spys.ru","Pano Tarama"]

########## PROXY TARAMA FONKSIYONLARI ############
zaman=time.ctime()
tbl = []                                                                                
ValidIPRegex 
= '(\d+\.\d+\.\d+\.\d+).*?(\d{2,5})'                                        
tekrarsayisi 
= 1                                                                        
maxthreads 
= 200                                                                        
LOADURL 
= 'http://ip.jsontest.com'                                                                
time_out 
= 3                                                                            
network 
= True                                                                            
                                                                                        
def wtf
(yaz, t2):
    z = str(t2)[:4]                                                                            
    dosya
=open("/sdcard/proxylist.txt","ab")
    dosya.write(yaz+" "+z+"sn\n")
    dosya.close()
def is_OK(ip):                                                                            
    global network                                                                        
    try
:                                                                                
        proxy_handler 
= urllib2.ProxyHandler({'http': ip})                                
        opener 
= urllib2.build_opener(proxy_handler)                                    
        urllib2
.install_opener(opener)                                                    
        req 
= urllib2.Request(LOADURL)
        req.add_header("Host",CUSTOM_HOST)        
        t 
= time.time()                                                                    
        res 
= urllib2.urlopen(req, timeout=time_out)                                    
        t2 
= time.time() - t                                                            
        if res
.read().find('{"ip":') > -1:                                                    
            print ip
, 'çalışıyor', t2, 'saniye'                                            
            wtf
(ip, t2)                                                                        
        else
:                                                                            
            print ip
, 'proxy gereken cevabı yollamadı, atlanıyor.'                        
        network 
= True                                                                    
    except Exception as e
:                                                                
        if str
(e) == '<urlopen error [Errno 101] Network is unreachable>':                
            print 
'Ağ hatası, 1 saniye sonra tekrar denenecek'                            
            network 
= False                                                                
            time
.sleep(1)                                                                
            is_OK
(ip)                                                                    
        else
:                                                                            
            network 
= True                                                                
                                                                                        
def baslat
():                                                                            
    sayac 
= 0                                                                            
    while sayac 
< tekrarsayisi:                                                            
        print 
"\033[94m"+str(sayac + 1) + '. Tarama başlatıldı\x1b[m'                                    
        for x in tbl
:                                                                    
            while not network
:                                                            
                time
.sleep(1)                                                            
            while threading
.activeCount() >= maxthreads:                                
                time
.sleep(0.1)                                                            
            threading
.Thread(target=is_OK,args=(x,)).start()                            
        sayac 
= sayac + 1                                                                                                                                                         
##########################################################################################
def webproxy(url):
    a=urllib2.Request("http://"+CUSTOM_HOST+"/surf/printer.php?u="+urllib2.quote(url)+"&b=20")
    a.add_header("User-Agent","")
    a.set_proxy("webproxy.at:80","http")
    a.add_header("Host",CUSTOM_HOST)
    a.add_header("Referer","http://"+CUSTOM_HOST+"/surf/")
    return urllib2.urlopen(a).read()


def ssl():
    try:
        print "\033[92mTarama yapılacak...\x1b[m"
        oku = webproxy("http://www.sslproxies.org/")
        clp = oku.replace(' ', ':')
        clp2 = re.findall(ValidIPRegex, clp)
        for x in clp2:
            a = x[0] + ':' + x[1]
            if not a in tbl:
                tbl.append(a)    
        baslat
()
        time.sleep(4)
        d.makeToast("Proxyler, /sdcard/proxylist.txt dosyasına kaydedildi.")
    except:
        print "\ninternet baglantisi yok!\n"
        d.makeToast("internet bağlantısı yok")

def gather():
    def tara():
        gport = ["3128","8080","80"]
        d.dialogCreateAlert("port seçin")
        d.dialogSetMultiChoiceItems(gport)
        d.dialogSetPositiveButtonText("Tamam")
        d.dialogShow()
        sonuc=d.dialogGetResponse().result
        rp 
= d.dialogGetSelectedItems().result
        if rp 
== []:
            d.makeToast("En az bir port seçmelisiniz!")
            tara()
        else:
            try:
                urllib2.install_opener(urllib2.build_opener(urllib2.ProxyHandler({})))
                oku = webproxy("http://gatherproxy.com/proxylist/country/?c="+country[rc])
                clp = oku.replace(' ', ':')
                clp2 = re.findall(ValidIPRegex, clp)    
                for x in clp2
:
                    for i in rp:
                        a = x[0] + ':' + gport[i]
                        if not a in tbl:
                            tbl.append(a)    
                baslat
()
                time.sleep(4)
                d.makeToast("Proxyler, /sdcard/proxylist.txt dosyasına kaydedildi.")
            except:
                print "\nbağlantı yok."
                d.makeToast("internet yok.")
            
    country 
= ["Turkey","Germany","France","Netherlands"]        
    d
.dialogCreateAlert("ülke seçin")
    d.dialogSetSingleChoiceItems(country)
    d.dialogSetPositiveButtonText("Tamam")
    d.dialogShow()
    sonuc=d.dialogGetResponse().result
    rc 
= d.dialogGetSelectedItems().result[0]
    print "\033[92m"+country[rc]+" seçildi.\x1b[m"
    dosya=open("/sdcard/proxylist.txt","ab")
    dosya.write("-"+country[rc]+"-"+"\n")
    dosya.close()
    tara()
        

def spysru
():
    def tara():
        gport = ["3128","8080","80"]
        d.dialogCreateAlert("port seçin")
        d.dialogSetMultiChoiceItems(gport)
        d.dialogSetPositiveButtonText("Tamam")
        d.dialogShow()
        sonuc=d.dialogGetResponse().result
        rp 
= d.dialogGetSelectedItems().result
        if rp 
== []:
            d.makeToast("En az bir port seçmelisiniz!")
            tara()
        else:
            try:
                urllib2.install_opener(urllib2.build_opener(urllib2.ProxyHandler({})))
                oku = webproxy("http://spys.ru/free-proxy-list/"+country[rc]+"/")
                clp = re.findall('>(\d+\.\d+\.\d+\.\d+)<', oku)
                for x in clp:
                    for i in rp:
                        a = x + ':' + gport[i]
                        if not a in tbl:
                            tbl.append(a)    
                baslat
()
                time.sleep(4)
                d.makeToast("Proxyler, /sdcard/proxylist.txt dosyasına kaydedildi.")
            except:
                print "\nbağlantı yok."
                d.makeToast("internet yok.")
                
    ulke 
= ["Turkey","Germany","France","Netherlands"]
    country = ["TR","DE","FR","NL"]        
    d
.dialogCreateAlert("ülke seçin")
    d.dialogSetSingleChoiceItems(ulke)
    d.dialogSetPositiveButtonText("Tamam")
    d.dialogShow()
    d.dialogGetResponse().result
    rc 
= d.dialogGetSelectedItems().result[0]
    print "\033[92m"+ulke[rc]+" seçildi.\x1b[m"
    dosya=open("/sdcard/proxylist.txt","ab")
    dosya.write("-"+ulke[rc]+"-"+"\n")
    dosya.close()
    tara()


    
def manuel
():
    dosya=open("/sdcard/proxylist.txt","ab")
    dosya.write("-Pano-\n")
    dosya.close()
    try:    
        print 
"\033[92mPanoya için tarama yapılacak...\x1b[m"
        p = d.getClipboard().result
        ara 
= re.findall(ValidIPRegex, p)
        for i in ara:
            a = i[0]+':'+i[1]
            if not a in tbl:
                tbl.append(a)
        baslat()
        time.sleep(4)
        d.makeToast("Proxyler, /sdcard/proxylist.txt dosyasına kaydedildi.")
    except:
        print "\nbağlantı yok."
        d.makeToast("internet yok.")
        
d
.dialogCreateAlert("işlem seçin")
d.dialogSetSingleChoiceItems(islem)
d.dialogSetPositiveButtonText("Tamam")
d.dialogShow()
sonuc=d.dialogGetResponse().result
= d.dialogGetSelectedItems().result[0]
print islem[r]

dosya=open("/sdcard/proxylist.txt","ab")
dosya.write("\n#######"+zaman+"#######\n"+islem[r]+"\n")
dosya.close()

if islem[r] == islem[0]:
    ssl()
if islem[r] == islem[1]:
    gather()
if islem[r] == islem[2]:
    spysru()
if islem[r] == islem[3]:
    manuel()  


Ek Dosyalar
.py   PrxAndroidTR.py (Dosya Boyutu: 6.9 KB / İndirme Sayısı: 144)
Turbobit Premium Link Çeviri | Turbobit Link Generator | http://turbobit.qpython.club
Cevapla
#2
elıne sağlık ustat
Ara
Cevapla
#3
afiyet olsun Wink
Turbobit Premium Link Çeviri | Turbobit Link Generator | http://turbobit.qpython.club
Cevapla
#4
gatherproxy olmasi güzel,öneri olarak hidemyass de eklense güzel olurdu.
Ara
Cevapla
#5
Onun için bi kod daha vardi, arşivde bulursam atarım buraya
Turbobit Premium Link Çeviri | Turbobit Link Generator | http://turbobit.qpython.club
Cevapla
#6
premiummm olanları çeker mi ki peki abi
Ara
Cevapla
#7
Çekmez de premiumların araliklarını taratabiliriz ama başka bi kodla
Turbobit Premium Link Çeviri | Turbobit Link Generator | http://turbobit.qpython.club
Cevapla
#8
Eline Sağlık
Ara
Cevapla
#9
güle güle kullan
Turbobit Premium Link Çeviri | Turbobit Link Generator | http://turbobit.qpython.club
Cevapla
#10
Eski forumda vipde proxy tarama vardı bu o mu? Farklı gibi geldi de? Eline sağlık Smile İşe yarayabilir gerçi hızları çokta iyi değildir.
Ara
Cevapla

{lang: 'en'}


Konu ile Alakalı Benzer Konular
Konular Yazar Yorumlar Okunma Son Yorum
  Turkcell Ninjavpn proxy taramalı oto config 55lim 13 9,386 07-05-2017, Saat: 09:41
Son Yorum: fnrbhc
  BloodShot Oto. Script (android proxy tarama) gecemor 2 2,922 15-01-2017, Saat: 02:42
Son Yorum: gecemor
  Proxy Tarama/Oto. Conf Yapma/import etme (turkcell) gecemor 130 95,571 28-11-2016, Saat: 22:14
Son Yorum: hkrgln
  Turkcell invisiblenetvpn proxy taramalı oto config 55lim 23 18,433 08-11-2016, Saat: 11:40
Son Yorum: gecemor
  Turkcell windscribe vpn proxy taramalı oto config 55lim 14 10,777 24-10-2016, Saat: 23:38
Son Yorum: denizci35

Hızlı Menü:


Konuyu Okuyanlar: 1 Ziyaretçi
Change Theme