Konuyu Oyla:
  • Toplam: 0 Oy - Ortalama: 0
  • 1
  • 2
  • 3
  • 4
  • 5
[Eski] Proxy tarama + Proxy hız testi + Config oluşturma
#1
Merhaba arkadaşlar forumdaki kodları birleştirerek böyle birşey oluşturdum coğumuzun işini gayet basit bir şekilde gören bi şey çıktı ortaya gecemor ve diğer emeği geçenlere teşekkür ederim tekrardan
PHP Kod:
#-*-coding:utf8;-*-
#qpy:2
#qpy:console

import timerebase64os
import androidhelper
urllib2threading
print "\033[94m==============================\x1b[m"
print "\033[94m=='QPYTHON.NET' Proxy Tarama+hiz+Config==\x1b[m"
print "\033[94m==============================\x1b[m"

pia_user "kullanici adi"
pia_pass "sifre"

zpn_user "kullanici adi"
zpn_pass "sifre"

frost_user "kullanici adi"
frost_pass ="kullanici adi"

CUSTOM_HOST "turkcell.com.tr"

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

'/sdcard/pia/'
'/sdcard/zpn/'
'/sdcard/vpnbook/'
'/sdcard/frost/'
if not os.path.isdir(p):
    
os.mkdir(p)
if 
not os.path.isdir(z):
    
os.mkdir(z)
if 
not os.path.isdir(v):
    
os.mkdir(v)
if 
not os.path.isdir(f):
    
os.mkdir(f)
    
########## PROXY TARAMA FONKSIYONLARI ############
zaman=time.ctime()
tbl = []                                                                                
ValidIPRegex '(\d+\.\d+\.\d+\.\d+).*?(\d{2,5})'                                        
tekrarsayisi 1                                                                        
maxthreads 
30                                                                        
LOADURL 
'http://ip.jsontest.com'                                                                
time_out 3                                                                            
network 
True                                                                            
a
="QnUgS29kIHFweXRob24ubmV0IEFkcmVzaW5lIEFpdHRpci4="                                                                                        
def wtf(yazt2):
    
str(t2)[:4]
    
yaz2=yaz.replace(":"," ")
    
dosya=open("/sdcard/proxylist.txt""ab")
    
dosya.write(yaz+" "+z+"sn\n")
    
dosya.close()
    if 
wpn[w] == wpn[0]:
        
dosya2=open("/sdcard/pia/"+z+"sn-"+str(yaz2)+".ovpn" ,"w")
        
dosya2.write("client\n"
                    "dev tun\n"
                    "proto tcp\n"
                    "http-proxy-option CUSTOM-HEADER host "
+CUSTOM_HOST+"\n"
                    "http-proxy "
+yaz2+"\n"+
                    
"remote "+server[rr]+".privateinternetaccess.com 443\n"
                    "resolv-retry infinite\n"
                    "nobind\npersist-key\npersist-tun\ntls-client\nremote-cert-tls server\n"
                    "auth-user-pass\ncomp-lzo\nverb 1\nreneg-sec 0\n"
                    "<auth-user-pass>\n"
+pia_user+"\n"+pia_pass+"\n</auth-user-pass>\n"+
"""
<ca>
-----BEGIN CERTIFICATE-----
MIID2jCCA0OgAwIBAgIJAOtqMkR2JSXrMA0GCSqGSIb3DQEBBQUAMIGlMQswCQYD
VQQGEwJVUzELMAkGA1UECBMCT0gxETAPBgNVBAcTCENvbHVtYnVzMSAwHgYDVQQK
ExdQcml2YXRlIEludGVybmV0IEFjY2VzczEjMCEGA1UEAxMaUHJpdmF0ZSBJbnRl
cm5ldCBBY2Nlc3MgQ0ExLzAtBgkqhkiG9w0BCQEWIHNlY3VyZUBwcml2YXRlaW50
ZXJuZXRhY2Nlc3MuY29tMB4XDTEwMDgyMTE4MjU1NFoXDTIwMDgxODE4MjU1NFow
gaUxCzAJBgNVBAYTAlVTMQswCQYDVQQIEwJPSDERMA8GA1UEBxMIQ29sdW1idXMx
IDAeBgNVBAoTF1ByaXZhdGUgSW50ZXJuZXQgQWNjZXNzMSMwIQYDVQQDExpQcml2
YXRlIEludGVybmV0IEFjY2VzcyBDQTEvMC0GCSqGSIb3DQEJARYgc2VjdXJlQHBy
aXZhdGVpbnRlcm5ldGFjY2Vzcy5jb20wgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJ
AoGBAOlVlkHcxfN5HAswpryG7AN9CvcvVzcXvSEo91qAl/IE8H0knKZkIAhe/z3m
hz0t91dBHh5yfqwrXlGiyilplVB9tfZohvcikGF3G6FFC9j40GKP0/d22JfR2vJt
4/5JKRBlQc9wllswHZGmPVidQbU0YgoZl00bAySvkX/u1005AgMBAAGjggEOMIIB
CjAdBgNVHQ4EFgQUl8qwY2t+GN0pa/wfq+YODsxgVQkwgdoGA1UdIwSB0jCBz4AU
l8qwY2t+GN0pa/wfq+YODsxgVQmhgaukgagwgaUxCzAJBgNVBAYTAlVTMQswCQYD
VQQIEwJPSDERMA8GA1UEBxMIQ29sdW1idXMxIDAeBgNVBAoTF1ByaXZhdGUgSW50
ZXJuZXQgQWNjZXNzMSMwIQYDVQQDExpQcml2YXRlIEludGVybmV0IEFjY2VzcyBD
QTEvMC0GCSqGSIb3DQEJARYgc2VjdXJlQHByaXZhdGVpbnRlcm5ldGFjY2Vzcy5j
b22CCQDrajJEdiUl6zAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBAByH
atXgZzjFO6qctQWwV31P4qLelZzYndoZ7olY8ANPxl7jlP3YmbE1RzSnWtID9Gge
fsKHi1jAS9tNP2E+DCZiWcM/5Y7/XKS/6KvrPQT90nM5klK9LfNvS+kFabMmMBe2
llQlzAzFiIfabACTQn84QLeLOActKhK8hFJy2Gy6
-----END CERTIFICATE-----
</ca>
"""
)
        
dosya2.close()
    
elif wpn[w] == wpn[1]:
        
dosya3=open("/sdcard/zpn/"+z+"sn-"+str(yaz2)+".ovpn" ,"w")
        
dosya3.write("setenv IV_GUI_VER \"de.blinkt.openvpn 0.6.17\"\n"
                    "machine-readable-output\n"
+"client\n"+"verb 4\n"
                    "connect-retry-max 5\n"
+"connect-retry 5\n"+"resolv-retry 60\n"
                    "dev tun\n"
+"http-proxy-option CUSTOM-HEADER host "+CUSTOM_HOST+"\n"
                    "http-proxy "
+yaz2+"\n"+"remote "+zpn_user+".zpn.im 443 tcp-client\nauth-user-pass"
                    "\n<auth-user-pass>\n"
+zpn_user+"\n"+zpn_pass+"\n</auth-user-pass>\n"+
"""
<ca>
-----BEGIN CERTIFICATE-----
MIIEgDCCA2igAwIBAgIJAMd+hps5vbibMA0GCSqGSIb3DQEBBQUAMIGGMQswCQ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0hQUPxq09iO
/N4XTuuPojeBiIcqFVYzi5p4lUQc222E8nYQ+GtK2KJx42youdtIyaX94xAA4Ghg
bAY44hhRYEFB0SVKDESD5kXn1IKMZVAAX+1hfLkBCpybk0ArCAqPBCuT1bGGhfvD
uFMyBSqW1QKBgFGNXXXvZV7WDSLq5yS3BvxgtbaxApJD4aFBue0PxJsJPYN8BVBf
4IjopnD7RfgWcWDH9+s/ADa+ueu3hzW9Ez/d/0hzpFqM4odtA63ojIPUeRaVF0M1
q08zoBW4VNjqscpQrm4l04WMz61WyqCSpCn+2g9s+o90MhQUWGIkhxfBAoGBAJoF
urnpZ3Q+613NZ27ejem3yfRJZjt0PFLA3PrTprbg15Kx6qArooORloFsbv+xonAo
Gx7WPwIMPEg/X/TIVTTWiKHc3UlTpfggM+e1nCbNFaanGBeCBKNac9ONokC/wIwL
Fka+578CdufS+czz0h9g0lsFKas/CHoQYsgVerbhAoGAN9ejqIp0YcBdUwKrQX/m
gVv55TH+G7SmSmGSJNQxNSNdPNJeABuRfL3JmWa0y9rw2im+C59rlxWPn3harzb+
fFNo6mYKbmHhrrIcvXreCg0elc4PiQ4XhVLAEEJahoxg61eLF4kI+r9+RS3nU4nV
U0mmS9xdYhwLzwX7Eu4KaFc=
-----END PRIVATE KEY-----
</key>
"""
)
        
dosya3.close()
    
elif wpn[w] == wpn[3]:
        
dosya4=open("/sdcard/frost/"+z+"sn-"+str(yaz2)+".ovpn" ,"w")
        
dosya4.write("client\ndev tun\nproto tcp\nhttp-proxy "+yaz2+"\n"
                    "http-proxy-option CUSTOM-HEADER Host "
+CUSTOM_HOST+"\n"
                    "remote "
+fser[rrr]+".frostvpn.com 443\n"
                    "resolv-retry infinite\nnobind\ntun-mtu 1500\n"
                    "tun-mtu-extra 32\nmssfix 1450\npersist-key\npersist-tun\n"
                    "auth-user-pass\ncomp-lzo\nreneg-sec 0\nverb 3\n"
                    "remote-cert-tls server\ncipher BF-CBC\n"
                    "<auth-user-pass>\n"
+str(frost_user)+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gNVBAsTA1ZQTjEMMAoGA1UEAxMDVlBOMQww
CgYDVQQpEwNWUE4xEjAQBgkqhkiG9w0BCQEWA1ZQToIJAM0oSXlbXK8cMAwGA1Ud
EwQFMAMBAf8wDQYJKoZIhvcNAQEFBQADggEBAD9mlGkESOew6a2PU84mVUGD/hOV
7dyYweeuF5EsSE0YEOYwyzuGlfuhdX+M3olFG4hQY09khKs18q7MdFnWvM+PABwf
z/m+AZEJeZyT+g/ciXgx12zpvog+3LpyALPMiM9mAhC/bupJCHhfanvX33dUoily
8mCxLlh4wn2aCemCuJYgT6H0qeAD6ueZPrYZzcm6nO14PC6lt6QF18eHCDu1fVRL
ppFZ6+wmRvXE6Wdv8ykp/vIPtNm1b97U1r3DI6aRRTa5JC52fIsQa9C/RCkXvQLl
nRCD6A0hQ7qj9RaXx95+vxGjfSo5VH/PKeOvWFJ/Ejt63GVTywGNRZd/vlw=
-----END CERTIFICATE-----
</ca>
"""
)
        
dosya4.close()
    else:
        
dosya2=open("/sdcard/vpnbook/"+z+"sn-"+str(yaz2)+".ovpn" ,"w")
        
dosya2.write("client\ndev tun\nproto tcp\n"
                    "http-proxy-option CUSTOM-HEADER Host "
+CUSTOM_HOST+"\n"
                    "http-proxy "
+yaz2+"\nremote 178.162.193.233 443\n"
                    "remote de233.vpnbook.com 443\nresolv-retry infinite\n"
                    "nobind\npersist-key\npersist-tun\n"
                    "auth-user-pass\ncomp-lzo\nverb 3\n"
                    "cipher AES-128-CBC\nfast-io\npull\n"
                    "route-delay 2\nredirect-gateway\n"
                    "<auth-user-pass>\nvpnbook\n"
+str(vpnbook_pass)+"\n</auth-user-pass>\n"+
"""
<ca>
-----BEGIN CERTIFICATE-----
MIIDyzCCAzSgAwIBAgIJAKRtpjsIvek1MA0GCSqGSIb3DQEBBQUAMIGgMQswCQYD
VQQGEwJDSDEPMA0GA1UECBMGWnVyaWNoMQ8wDQYDVQQHEwZadXJpY2gxFDASBgNV
BAoTC3ZwbmJvb2suY29tMQswCQYDV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uqLwO9ZkxRHNIJsIz2N20Kt76+e1CmzUdS4QJAVvbQ
WKUgHBMRcI2s3PecuOmQspxG+D+UR3kpVBYs9F2aEZIEBuCfLuIW9Mcfd2I2NjyY
4NDSSYp1adAh/pdhVQJBANDrlnodYDu6A+a4YO9otjd+296/T8JpePI/KNxk7N0A
gm7SAhk379I6hr5NXdBbvTedlb1ULrhWV8lpwZ9HW2k=
-----END RSA PRIVATE KEY-----
</key>

"""
)
        
dosya2.close()
def speed(ip):
    try:
        
proxy_handler urllib2.ProxyHandler({'http'ip})
        
opener urllib2.build_opener(proxy_handler)
        
urllib2.install_opener(opener)        
        
a=urllib2.Request(test_url)
        
a.add_header("Host"CUSTOM_HOST)
        
a=urllib2.urlopen(atimeout=4)
        
t=time.time()
        
sayi=0
        
try:
            print 
"bekleyin.."
            
while True:
                
c=a.read(1024*32)
                if 
not c: break
                
sayi+=1024*32
                
if time.time()-t>5: break
                
            
son=time.time()-t
            
if sayi/float(son)/1000000 1:
                
mb str(sayi/float(son)/1000000)[:4]+" MByte/Sn"
                
print ipmb
                wtf
(ipmb)
            else:
                
kb str(sayi/float(son)/1000).split(".")[0]+" KByte/Sn"
                
print ipkb
                wtf
(ipkb)
        
except:
            
pass
    except
:
        
pass

test_url
="http://nfhost.net/~qpython/test.rar"
test_proxy = []
zaman=time.ctime()
tbl = []                                                                                
ValidIPRegex '(\d+\.\d+\.\d+\.\d+).*?(\d{2,5})'                                        
tekrarsayisi 1                                                                        
maxthreads 
100                                                                        
LOADURL 
'http://ip.jsontest.com'                                                                
time_out 3                                                                            
network 
True                                                                            
                                                                                        
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)        
        
time.time()                                                                    
        
res urllib2.urlopen(reqtimeout=time_out)                                    
        
t2 time.time() - t                                                            
        
if res.read().find('{"ip":') > -1:                                                    
            print 
ip'çalışıyor't2'saniye'                                            
            
test_proxy.append(ip)                                                                        
        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:
        
urllib2.install_opener(urllib2.build_opener(urllib2.ProxyHandler({})))
        print 
"\033[92mTarama yapılacak...\x1b[m"
        
oku webproxy("http://www.sslproxies.org/")
        
clp oku.replace(' '':')
        
clp2 re.findall(ValidIPRegexclp)
        for 
x in clp2:
            
x[0] + ':' x[1]
            if 
not a in tbl:
                
tbl.append(a)    
        
baslat()
        
time.sleep(4)
    
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(ValidIPRegexclp)    
                for 
x in clp2:
                    for 
i in rp:
                        
x[0] + ':' gport[i]
                        if 
not a in tbl:
                            
tbl.append(a)    
                
baslat()
                
time.sleep(4)
            
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:
                        
':' gport[i]
                        if 
not a in tbl:
                            
tbl.append(a)    
                
baslat()
                
time.sleep(4)
            
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"
        
d.getClipboard().result
        ara 
re.findall(ValidIPRegexp)
        for 
i in ara:
            
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.")
        
def openvpn():
    
config_yolu="/sdcard/"+str(wpn[w])+"/"
    
cyol os.listdir(config_yolu)
    
d.dialogCreateAlert("Config secin")
    
d.dialogSetMultiChoiceItems(cyol)
    
d.dialogSetPositiveButtonText("Tamam")
    
d.dialogShow()
    
d.dialogGetResponse().result
    r 
d.dialogGetSelectedItems().result
    
for i in r:
        print 
cyol[i]
        
d.startActivity("android.intent.action.VIEW"config_yolu+cyol[i], "application/x-openvpn-profile"NoneNone"net.openvpn.openvpn""net.openvpn.openvpn.OpenVPNAttachmentReceiver"
    
os._exit(0)
        

wpn = ["pia","zpn","vpnbook","frost"]        
        
d.dialogCreateAlert("vpn seçin")
d.dialogSetSingleChoiceItems(wpn)
d.dialogSetPositiveButtonText("Tamam")    
d.dialogShow()
d.dialogGetResponse().result
d.dialogGetSelectedItems().result[0]

islem2 = ["Proxy Tarama","Config import etme"]
d.dialogCreateAlert("işlem seçin")
d.dialogSetSingleChoiceItems(islem2)
d.dialogSetPositiveButtonText("Tamam")    
d.dialogShow()
d.dialogGetResponse().result
xx 
d.dialogGetSelectedItems().result[0]
if 
islem2[xx] == islem2[0]:
    for 
e in os.listdir("/sdcard/"+wpn[w]):
        
os.remove("/sdcard/"+wpn[w]+"/"+e)
else:    
    
openvpn()


if 
wpn[w] == wpn[0]:
    
server=["turkey","france","germany","nl","uk-london"]
    
d.dialogCreateAlert("Server seçin")
    
d.dialogSetSingleChoiceItems(server)
    
d.dialogSetPositiveButtonText("Tamam")    
    
d.dialogShow()
    
d.dialogGetResponse().result
    rr 
d.dialogGetSelectedItems().result[0]
if 
wpn[w] == wpn[2]:
    
url webproxy("http://www.vpnbook.com/freevpn")
    
vpnbook_pass url.split("Password: <strong>")[1].split("</")[0]
if 
wpn[w] == wpn[3]:
    
server=["turkey","france","germany","nl","uk-london"]
    
fser=["ist-tr","gra-fr","fra-de","ams-nl","lon-uk"]
    
d.dialogCreateAlert("Server seçin")
    
d.dialogSetSingleChoiceItems(server)
    
d.dialogSetPositiveButtonText("Tamam")    
    
d.dialogShow()
    
d.dialogGetResponse().result
    rrr 
d.dialogGetSelectedItems().result[0]

d.dialogCreateAlert("Tarama işlemi seçin")
d.dialogSetSingleChoiceItems(islem)
d.dialogSetPositiveButtonText("Tamam")
d.dialogShow()
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()

time.sleep(2)
print 
"\nHiz Testi Baslatiliyor, lutfen bekleyiniz...\n"
for i in test_proxy:
    
speed(i)
openvpn() 

Buraya kadar herşey tamam iyi güzel ama tek bir sıkıntı oluştu onu nasıl çözebilirim yardımcı olabilir misiniz acaba ben testleri yaptığım zaman en son config seçerken yanlarında bana tepki süreleri veriliyor ama brn tepki sürelerini değil hızlarını yazmasını istiyorum bunu nasıl yapabilirim
Kısacası şu kısım nasıl editlemem lazım ki istediğim olsun
PHP Kod:
def wtf(yazt2):
    
str(t2)[:4]
    
yaz2=yaz.replace(":"," ")
    
dosya=open("/sdcard/proxylist.txt""ab")
    
dosya.write(yaz+" "+z+"sn\n")
    
dosya.close()
    if 
wpn[w] == wpn[0]:
        
dosya2=open("/sdcard/pia/"+z+"sn-"+str(yaz2)+".ovpn" ,"w"
Ara
Cevapla
#2
Bak şimdi, bu kodda speed fonksiyonundaki "kb" ve "mb", "wtf" fonksiyonundaki "t2" değerine aktarılıyor. Ve daha sonra bu aktarılanlar

z = str(t2)[:4]

satırında işleme sokuluyor. Bu satırda yapılan işlem de "t2" nin ilk dört karakterini alıp "z" değişkenine atamak. Yani oldu mu şimdi bizim "kb" ve" "mb" ler kırpılmış bir "z".... Sonrasında şu satırda ne yapıldığını anlarsan nasıl müdahale edeceğini kestirebilirsin

dosya2=open("/sdcard/pia/"+z+"sn-"+str(yaz2)+".ovpn" ,"w")

Sen bu kodları birleştirme yaptığından önceki ayarlardan tepki süresine göre dosya adı yazdırma işlemi kalmış. Bunu sen Kafana göre düzenlersin. Biraz yapmaya çalış eğer yapamazsan düzeltiriz.
Turbobit Premium Link Çeviri | Turbobit Link Generator | http://turbobit.qpython.club
Cevapla
#3
PHP Kod:
def wtf(yazwtf):
    
str(wtf)[:8]
    
yaz2=yaz.replace(":"," ")
    
dosya=open("/sdcard/proxylist.txt""ab")
    
dosya.write(yaz+" "+z+"\n")
    
dosya.close()
    if 
wpn[w] == wpn[0]:
        
dosya2=open("/sdcard/pia/"+z+"-"+str(yaz2)+".ovpn" ,"w"

Bu şekilde oluyor abi
Ara
Cevapla
#4
İlk sekiz karakterini almışsın "sn" silip "-" yapmışsın, tamam işte oldu diyosan olmuştur, senin bileceğin bir şey. Ne yazdırmasını isitiyosan yazdırırsın.
Turbobit Premium Link Çeviri | Turbobit Link Generator | http://turbobit.qpython.club
Cevapla
#5
Senin önerin var mı abi şu şekilde olursa daha iyi olur diyeceğin bişey
Ara
Cevapla
#6
Bilmem, iyidir heralde böyle. Sen memnunsan sorun yok, eğer biri istek yaparsa o zaman düzenlersin artık Wink
Turbobit Premium Link Çeviri | Turbobit Link Generator | http://turbobit.qpython.club
Cevapla
#7
Tamam abi Big Grin
Ara
Cevapla
#8
güncelmidir hala çalışıyormu
Ara
Cevapla
#9
proxy tarama için artık normal internet gerekli, bunun için de turkcell bölümünde bloodshot için scriptler vermiştim, onlara bir göz at derim.
Turbobit Premium Link Çeviri | Turbobit Link Generator | http://turbobit.qpython.club
Cevapla
#10
Proxyrox Ve Bunun Gibi Elit Proxy Paylaşan 2 3 tane Daha Site Ekleyip Yeni Bi Proxy Tarama py Dosyası Yapmanız Mümkün mü Acaba
Ara
Cevapla

{lang: 'en'}


Konu ile Alakalı Benzer Konular
Konular Yazar Yorumlar Okunma Son Yorum
  GÜNCEL PROXY RANGE TARAMA (İSTEK) Bahadır Bera Üzer 1 286 26-04-2020, Saat: 21:24
Son Yorum: oktay811
  YENİ Proxy Tarama Modülü gecemor 57 34,993 26-04-2020, Saat: 18:01
Son Yorum: Bahadır Bera Üzer
  Gercek Hiz Testi Kodu iskeletor 42 32,508 09-12-2018, Saat: 10:09
Son Yorum: man2929
  YENİ Proxy Tarama ve Hızlarını Test Etme gecemor 96 54,559 25-05-2018, Saat: 19:17
Son Yorum: gecemor
  YENİ Android 7 nougat için qpython3 proxy Tarama ve oto config 55lim 37 27,442 06-04-2017, Saat: 17:51
Son Yorum: metemli333

Hızlı Menü:


Konuyu Okuyanlar: 1 Ziyaretçi
Change Theme