Konuyu Oyla:
  • Toplam: 0 Oy - Ortalama: 0
  • 1
  • 2
  • 3
  • 4
  • 5
[Eski] PureVPN Proxy tarama/Config yapma/import etme (trkcll)
#1
Diğer konuda demiştim stabil bi pure config verin diye ama kimseden ses çıkmadı, ben yine de ilyasın konu başındaki configi uyarladım koda. Fakat bu sadece PureVPN için diğer koda eklediğimde artık 1000 satır olacaktı, ayrıca zaten deneme de yapmadım, sizler yapın ve varsa hataları bildirin diye tek kod yapmak istedim. Kullanıcı adı ve şifresini kodun içinde tarif edilen yere yazın

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==\x1b[m"
print "\033[94m========   PureVPN    ========\x1b[m"
print "\033[94m==============================\x1b[m"

# Aşağıdaki kısıma kullanıcı adı ve şifrenizi
# tırnak içine alarak girin.
pure_user "kullanici adi"
pure_pass "sifre"

d=androidhelper.Android()

'/sdcard/purevpn/'
if not os.path.isdir(p):
 
   os.mkdir(p)
 
   
########## PROXY TARAMA FONKSIYONLARI ############
zaman=time.ctime()
tbl = []                                                                                
ValidIPRegex 
'(\d+\.\d+\.\d+\.\d+).*?(\d{2,5})'                                        
tekrarsayisi 
1                                                                        
maxthreads 
30                                                                        
LOADURL 
'http://plai.de'                                                                
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()
    
dosya2=open("/sdcard/purevpn/"+z+"sn-"+str(yaz2)+".ovpn" ,"w")
    
dosya2.write("client\n"
                "dev tun\n"
                "proto tcp\n"
                "remote "
+server2[rr]+"1-ovpn-tcp.purevpn.net 80\n"
                "persist-key\n"
                "persist-tun\n"
                "cipher AES-256-CBC\n"
                "comp-lzo\n"
                "verb 1\n"
                "mute 20\n"
                "route-method exe\n"
                "route-delay 2\n"
                "route 0.0.0.0 0.0.0.0\n"
                "float\n"
                "auth-user-pass\n"
                "auth-retry interact\n"
                "ifconfig-nowarn\n"
                "http-proxy-option CUSTOM-HEADER Host ekipmobil.turkcell.com.tr\n"
                "http-proxy "
+yaz2+"\n"
                "<auth-user-pass>\n"
+pure_user+"\n"+pure_pass+"\n</auth-user-pass>\n"+

"""
<ca>
-----BEGIN CERTIFICATE-----
MIIEoTCCA4mgAwIBAgIJANysBdFD6U2oMA0GCSqGSIb3DQEBBQUAMIGRMQswCQYD
VQQGEwJISzELMAkGA1UECBMCSEsxETAPBgNVBAcTCEhvbmdLb25nMRAwDgYDVQQK
EwdQdXJlVlBOMQswCQYDVQQLEwJJVDEQMA4GA1UEAxMHUHVyZVZQTjEQMA4GA1UE
KRMHUHVyZVZQTjEfMB0GCSqGSIb3DQEJARYQbWFpbEBob3N0LmRvbWFpbjAeFw0x
NDA0MTAwNzI5NDlaFw0yNDA0MDcwNzI5NDlaMIGRMQswCQYDVQQGEwJISzELMAkG
A1UECBMCSEsxETAPBgNVBAcTCEhvbmdLb25nMRAwDgYDVQQKEwdQdXJlVlBOMQsw
CQYDVQQLEwJJVDEQMA4GA1UEAxMHUHVyZVZQTjEQMA4GA1UEKRMHUHVyZVZQTjEf
MB0GCSqGSIb3DQEJARYQbWFpbEBob3N0LmRvbWFpbjCCASIwDQYJKoZIhvcNAQEB
BQADggEPADCCAQoCggEBAJYqtUkQTlf/pHcGXuuII8S3pfI0fwFbs7l/1RP3nX3n
v1vyuvLi7h0jWsgJU0XM7LJywiRFJ8zsMLH7KZnIg7bscb50GY75WIq7C2NnWnnS
7zzyCCm2XD/2xZPym2lVRytpnWJbpemSS6Hdz7xI3q2FmixuBa1t5FeKsXfeaGGg
+ohwLvamnGHJYUYu3Nu0EWVzzy5wgT0c2C5jleGxl3kxRimD8FpnlAVdqyt0ib/f
f9XanaotSopIHUZmpYjT+udRC2+harlNKvOXYgDRl1mpimCvlzEWpZAo8dyBCxWl
xlBIT8OA8rimGi1XviknuOlWu2cGi13Ug8mCG0MjOQ0CAwEAAaOB+TCB9jAdBgNV
HQ4EFgQUt+1vJ2X2ho12PUDhdo2CsSHYXbYwgcYGA1UdIwSBvjCBu4AUt+1vJ2X2
ho12PUDhdo2CsSHYXbahgZekgZQwgZExCzAJBgNVBAYTAkhLMQswCQYDVQQIEwJI
SzERMA8GA1UEBxMISG9uZ0tvbmcxEDAOBgNVBAoTB1B1cmVWUE4xCzAJBgNVBAsT
AklUMRAwDgYDVQQDEwdQdXJlVlBOMRAwDgYDVQQpEwdQdXJlVlBOMR8wHQYJKoZI
hvcNAQkBFhBtYWlsQGhvc3QuZG9tYWluggkA3KwF0UPpTagwDAYDVR0TBAUwAwEB
/zANBgkqhkiG9w0BAQUFAAOCAQEAAhLQQmkKWJdyGqgMSKOWXSKN2WXTDjIdb9bK
Q8uHeq0LYCcPoRh8VYJg2X4UWR/KO9pKaG+iZJw4Jqz4GQJjjJLKHfsWwj790ay0
7U5KT08qmxFaxZUYn663H9b0+Zud1spTsTJjVe1eoRk6IDbbB4OMUzN9zyWEn6er
xi6llIAjQX1qtlBQasmTAbRtbSsCsZAxL2kXysULIdLrQP0iTgMQqqkv5zvpdEKN
3ciKCd8OHEhHOlAwA0/DNy3dg3Et0F2hNMDJhqMpxXsbKtGJ/rzGXQF2geEVzLZA
o42I1wBOSZLTX1fO1gl3gAGS9aYg5o31rrpBKzQewitJgIuc+Q==
-----END CERTIFICATE-----
</ca>
key-direction 1
<tls-auth>
#
# 2048 bit OpenVPN static key
#
-----BEGIN OpenVPN Static key V1-----
e30af995f56d07426d9ba1f824730521
d4283db4b4d0cdda9c6e8759a3799dcb
7939b6a5989160c9660de0f6125cbb1f
585b41c074b2fe88ecfcf17eab9a33be
1352379cdf74952b588fb161a93e13df
9135b2b29038231e02d657a6225705e6
868ccb0c384ed11614690a1894bfbeb2
74cebf1fe9c2329bdd5c8a40fe882062
4d2ea7540cd79ab76892db51fc371a3a
c5fc9573afecb3fffe3281e61d72e915
79d9b03d8cbf7909b3aebf4d90850321
ee6b7d0a7846d15c27d8290e031e951e
19438a4654663cad975e138f5bc5af89
c737ad822f27e19057731f41e1e254cc
9c95b7175c622422cde9f1f2cfd3510a
dd94498b4d7133d3729dd214a16b27fb
-----END OpenVPN Static key V1-----
</tls-auth>
"""
)
    
dosya2.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","ekipmobil.turkcell.com.tr")
 
       t time.time()                                                                    
        res 
urllib2.urlopen(reqtimeout=time_out                                   
        t2 
time.time() - t                                                            
        if res
.read() == 'NOthing\n'                                                   
            print ip
'çalışıyor't2'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
    print base64
.decodestring(a)
 
   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://ekipmobil.turkcell.com.tr/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","ekipmobil.turkcell.com.tr")
 
   a.add_header("Referer","http://ekipmobil.turkcell.com.tr/surf/")
 
   return 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:
 
           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()
 
       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:
 
                       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()
 
   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()
 
       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)
                
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(ValidIPRegexp)
 
       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.")

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

islem
=["SSLProxies.org","GatherProxy.com","Spys.ru","Pano Tarama"]
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/purevpn/"):
 
       os.remove("/sdcard/purevpn/"+e)
else: 
   
    openvpn
()


server=["turkey","france","germany","nl","uk-london"]
server2=["tr","fr","de","nl","ukl"]
d.dialogCreateAlert("Server seçin")
d.dialogSetSingleChoiceItems(server)
d.dialogSetPositiveButtonText("Tamam"   
d
.dialogShow()
d.dialogGetResponse().result
rr 
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(1)
openvpn() 
Turbobit Premium Link Çeviri | Turbobit Link Generator | http://turbobit.qpython.club
Cevapla
#2
Su an bunla yaziyorum 3128 ler sorunlu oluyo nedense 80 sectim baglandi hizi da iyi
Ara
Cevapla
#3
yok yok hafız sen sevdin bu işi Big Grin boşuna demiyolar beleş sirke baldan tatlıdır diye Big Grin (faturaya dikkat)
Turbobit Premium Link Çeviri | Turbobit Link Generator | http://turbobit.qpython.club
Cevapla
#4
Benim port 1453 yemiyor Smile
Ara
Cevapla
#5
aynen tolga seninki olsaydı iyiydi Wink ayrıca port port tarama olayı iyi olmuş öyleyse
Turbobit Premium Link Çeviri | Turbobit Link Generator | http://turbobit.qpython.club
Cevapla
#6
Senin port iyi tolga bende de yemiyor 3gb var halen duruyor Smile
Ara
Cevapla
#7
Beyler gittim başka sunucu açtım proxy kurdum 80 li oda yemiyor sanırım pureyle digitalocean küs Smile
Ara
Cevapla
#8
(04-05-2016, Saat: 21:17)gecemor Nickli Kullanıcıdan Alıntı:  yok yok hafız sen sevdin bu işi Big Grin boşuna demiyolar beleş sirke baldan tatlıdır diye Big Grin (faturaya dikkat)
Ya benim bikac arkadas var onlar icin ugrasiyom Smile son vipte verdigini kendime aldim dursun kosede. Bugun arkadasa gosterdim proxy taramayi falan, abi ara hic baglanamadik surekli tarama config ekleme falan.. cocuk en son dedi ki anahtar cikinca beles oluyo dime?.. dedi, evet dedim. Sen ver sunu abi bana ben o anahtari cikartirim merak etme diyo Big Grin
Ara
Cevapla
#9
yine güzel bir proje teşekkürler
Ara
Cevapla
#10
(04-05-2016, Saat: 21:47)iskeletor Nickli Kullanıcıdan Alıntı:  
(04-05-2016, Saat: 21:17)gecemor Nickli Kullanıcıdan Alıntı:  yok yok hafız sen sevdin bu işi Big Grin boşuna demiyolar beleş sirke baldan tatlıdır diye Big Grin (faturaya dikkat)
Ya benim bikac arkadas var onlar icin ugrasiyom Smile son vipte verdigini kendime aldim dursun kosede. Bugun arkadasa gosterdim proxy taramayi falan, abi ara hic baglanamadik surekli tarama config ekleme falan.. cocuk en son dedi ki anahtar cikinca beles oluyo dime?.. dedi, evet dedim. Sen ver sunu abi bana ben o anahtari cikartirim merak etme diyo Big Grin

Big GrinBig GrinBig GrinBig GrinBig Grin sesli güldüm Smile
Turbobit Premium Link Çeviri | Turbobit Link Generator | http://turbobit.qpython.club
Cevapla

{lang: 'en'}


Konu ile Alakalı Benzer Konular
Konular Yazar Yorumlar Okunma Son Yorum
  Turkcell Ninjavpn proxy taramalı oto config 55lim 13 9,389 07-05-2017, Saat: 09:41
Son Yorum: fnrbhc
  Simple Server (Trkcll) gecemor 65 52,157 19-02-2017, Saat: 00:41
Son Yorum: gecemor
  vpnbook oto. config (qpy2/qpy3) gecemor 27 20,088 15-01-2017, Saat: 22:39
Son Yorum: Eyyamus
  BloodShot Oto. Script (android proxy tarama) gecemor 2 2,924 15-01-2017, Saat: 02:42
Son Yorum: gecemor
  Proxy Tarama/Oto. Conf Yapma/import etme (turkcell) gecemor 130 95,586 28-11-2016, Saat: 22:14
Son Yorum: hkrgln

Hızlı Menü:


Konuyu Okuyanlar: 1 Ziyaretçi
Change Theme