Konuyu Oyla:
  • Toplam: 0 Oy - Ortalama: 0
  • 1
  • 2
  • 3
  • 4
  • 5
BloodShot Oto. Script PC için
#1
Normal net ile çalıştırın ve çalıştırdığınız dizinde BloodShot.py olmasına dikkat edin. Kod kendisi BloodShot klasörü açıp birer script oluşturur.

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

import time, re, base64, os
import threading
import py_compile

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 = "wap.turkcell.com.tr"


v = 'BloodShot/'

if not os.path.isdir(v):
    
os.mkdir(v)
for 
i in os.listdir(v):
    
os.remove(v+i)  

########## PROXY TARAMA FONKSIYONLARI ############
proxyliste = []
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(ip):
    
dosya=open("proxylist.txt", kip)
    
dosya.write(ip+"\n")
    
dosya.close() #taranan proxyler kaydedildi

    
dosya2 = open("BloodShot.py").read()
    
_phost, _pport = ip.split(":")
    
_exhost = dosya2.split("self.PHOST = '")[1].split("'\n")[0]
    
_export = dosya2.split("self.PPORT = ")[1].split("\n")[0]
    
dosya3 = dosya2.replace("self.PHOST = '"+_exhost, "self.PHOST = '"+_phost)
    
dosya4 = dosya3.replace("self.PPORT = "+_export, "self.PPORT = "+_pport)
    
    
with open(v+"B_Shot_"+_phost+".py","w") as b_shot:
        
b_shot.write(dosya4)
        
#bloodShot 'a kaydedildi
        
set="QnUgS29kIHFweXRob24ubmV0IEFkcmVzaW5lIEFpdHRpci4=" 
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)
        
t = time.time()
        
res = urllib2.urlopen(req, timeout=time_out)
        
t2 = time.time() - t
        
if str(res.read()).find('{"ip": "') > -1:
            print(
ip+' Calisiyor '+str(t2)[:4]+' saniye')
            
wtf(ip)
            
proxyliste.append(ip)
        else:
            print(
ip+' proxy gereken cevabi yollamadi, atlaniyor.')
        
network = True
    except Exception 
as e:
        if 
str(e) == '<urlopen error [Errno 101] Network is unreachable>':
            print(
'Ag hatasi, 1 saniye sonra tekrar denenecek')
            
network = False
            time
.sleep(1)
            
is_OK(ip)
            print 
e
        
else:
            
network = True

def baslat
():
    
sayac = 0    
    
while sayac < tekrarsayisi:
        print(
str(sayac + 1) + '. Tarama Baslatildi..')
        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(url)
    
a.add_header("User-Agent","")
    
a.add_header("Referer","http://sslproxies.org/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 = urllib2.urlopen("http://www.sslproxies.org/").read()
        
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)
    
except Exception as hata:
        print 
hata
    
dosya
=open("proxylist.txt", kip)
dosya.write("\n#######"+str(zaman)+"#######\n")
dosya.close()

ssl()

time.sleep(1)
os.chdir("BloodShot/")
for 
i in os.listdir(os.getcwd()):
    
py_compile.compile(i)
    print 
i 


Ek Dosyalar
.py   otoconfBloodShotPC.py (Dosya Boyutu: 3.54 KB / İndirme Sayısı: 43)
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 bedava internet ve konuşma[15 Temmuz İÇİN] Barbaros 11 10,515 30-07-2017, Saat: 17:10
Son Yorum: kerem1249
  PCDE FETCHLİ HTTPS AÇAN CHROME(kod satırı çalışmayanlar için) daxill 5 8,249 06-05-2017, Saat: 16:38
Son Yorum: Eyyamus
  BloodShot PC gecemor 14 15,604 23-04-2017, Saat: 19:23
Son Yorum: gecemor
  Turkcell Bedava İnternet Simple BloodShot V3 emirsoylu 293 272,914 11-02-2017, Saat: 12:28
Son Yorum: gecemor
  BloodShot PC için Öneriler morty 12 12,976 26-01-2017, Saat: 06:56
Son Yorum: Android

Hızlı Menü:


Konuyu Okuyanlar: 1 Ziyaretçi
Change Theme