Konuyu Oyla:
  • Toplam: 2 Oy - Ortalama: 3.5
  • 1
  • 2
  • 3
  • 4
  • 5
Turkcell freevpnme proxy taramalı oto config
#1
Qpython ve qpython3 uyumlu otomatik proxy taramalı oto config

PHP Kod:
#-*-coding:utf8;-*-
#qpy:2
#qpy:console

import timerebase64os
import androidhelper
threading

try:
    
import urllib2
    kip
="ab"
except:
    
import urllib.request as urllib2
    kip
="a"
        
        
print("\033[94m==============================\x1b[m")
print(
"\033[94m=='QPYTHON.NET' Proxy Tarama==\x1b[m")
print(
"\033[94m==============================\x1b[m")
CUSTOM_HOST "turkcell.com.tr"

d=androidhelper.Android()

'/sdcard/freevpn/'
if not os.path.isdir(v):
    
os.mkdir(v)
for 
i in os.listdir(v):
    
os.remove(v+"/"+i)  
########## PROXY TARAMA FONKSIYONLARI ############
zaman=time.ctime()
tbl = []                                                                                
ValidIPRegex '(\d+\.\d+\.\d+\.\d+).*?(\d{2,5})'                                        
tekrarsayisi 1                                                                        
maxthreads 
50                                                                        
LOADURL 
'http://ip.jsontest.com'                                                                
time_out 3                                                                            
network 
True                                                                            
def bga
():
    try:
        print(
base64.decodestring(set))
    
except:
        print(
str(base64.b64decode(set.encode("ascii")).decode("ascii")))
def wtf(yazt2):
    
str(t2)[:4]
    
yaz2=yaz.replace(":"," ")
    
dosya=open("/sdcard/proxylist.txt"kip)
    
dosya.write(yaz+" "+z+"sn\n")
    
dosya.close()
    
dosya2=open("/sdcard/freevpn/"+z+"sn-"+str(yaz2)+".ovpn" ,"w")
    
dosya2.write(
                
"http-proxy-option CUSTOM-HEADER Host "+CUSTOM_HOST+"\n"
                "http-proxy "
+yaz2+"\nremote 212.129.33.61 443\n"
                "<auth-user-pass>\nfreevpnme\n"
+str(freevpn_pass)+"\n</auth-user-pass>\n"+
"""
client
dev tun1
proto tcp
resolv-retry infinite
nobind
persist-key
persist-tun
comp-lzo
verb 3
cipher AES-128-CBC
fast-io
pull
route-delay 2
redirect-gateway
<ca>
-----BEGIN CERTIF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=" 
bga()                                                                                      
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 str(res.read()).find('{"ip": "') > -1:
            print(
ip+' çalışıyor '+str(t2)[:4]+' saniye')
            
wtf(ipt2)                                                                        
        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 
str(urllib2.urlopen(a).read())

def ssl():
    try:
        print(
"\033[92mTarama yapılacak...\x1b[m")
        
urllib2.install_opener(urllib2.build_opener(urllib2.ProxyHandler({})))
        
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)
        
d.makeToast("Proxyler, /sdcard/proxylist.txt dosyasına kaydedildi.")
    
except:
        print(
"\ninternet baglantisi yok!\n")
        
d.makeToast("internet bağlantısı yok")

def openvpn():
    
config_yolu="/sdcard/freevpn/"
    
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)

url webproxy("https://freevpn.me/accounts/")
freevpn_pass url.split("Password:</b> ")[1].split("<")[0]

dosya=open("/sdcard/proxylist.txt"kip)
dosya.write("\n#######"+str(zaman)+"#######\n")
dosya.close()

ssl()

time.sleep(1)
openvpn() 

Vpnbook oto config den esinlenerek yapıldı
Ara
Cevapla
#2
teşekkür @55lim
Ara
Cevapla
#3
Eline saglik
Ara
Cevapla
#4
EwySmile
Ara
Cevapla
#5
Kullanıcı adı ve şifre hatalı diyor
Ara
Cevapla
#6
kodda herhangi bir hata yok bağlanıyor.
Ara
Cevapla
#7
Ara
Cevapla
#8
Fazla çekiyor şifre harici baktım

PHP Kod:
<auth-user-pass>
freevpnme
2sCQ93FfzI9
<span class="cmamad cmamad-floatright"><script async data-rocketsrc="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js" type="text/rocketscript">
</
auth-user-pass

Güncelledim kodu

245. Satır sonu split("</")[0]
Burdaki / sil düzelir split("<")[0]
Ara
Cevapla
#9
Vpn kullanmadığım için bi sorun olursa bildirirseniz düzeltirim
Ara
Cevapla
#10
Oldu hocam sağol teşekkür
Ara
Cevapla

{lang: 'en'}


Konu ile Alakalı Benzer Konular
Konular Yazar Yorumlar Okunma Son Yorum
  Turkcell şansa tıkla kampanyası ahgonlum 9 2,200 13-05-2020, Saat: 18:40
Son Yorum: ahgonlum
  TÜRKCELL KAMPÜS 6GB TI NASIL HER YÖNE YAPABİLİRİZ YARDIM Eren 0 319 12-05-2020, Saat: 00:33
Son Yorum: Eren
Wink Turkcell Hostları Trafik İzleme-Sniff (Yardım) kereste29 3 492 07-05-2020, Saat: 11:33
Son Yorum: kereste29
  Turkcell Hediye İnternetler 2020 ahmettepe 3 484 18-04-2020, Saat: 16:54
Son Yorum: oktay811
  TÜRKCELL SÜPRİZ NOKTA KAMPANYASI hayaleter 15 6,124 18-04-2020, Saat: 07:53
Son Yorum: ahmettepe

Hızlı Menü:


Konuyu Okuyanlar: 1 Ziyaretçi
Change Theme