Damaged - Embrace the Infinite

Step into the world of endless opportunities and unlock the gateway to virtual transactions.

  • Domain Update: Our Forum has moved! Please visit us at Damaged.gg for the latest updates.

discord invite checker

Overdrive187

Elite member
Elite member Premium

0

0%

Status

Offline

Posts

11

Likes

0

Rep

0

Bits

0

2

Years of Service

im tryin out rn my py skills
you need:
invite.txt
proxies.txt

if yall can help please do


[HIDE] import requests
import threading
import time
import colorama
colorama.init()
proxies_enabled = False
proxy = None
# Set the proxy if enabled
if proxies_enabled:
proxy = {'http': 'http://username:password@proxyIP:port', 'https': 'http://username:password@proxyIP:port'}
def check_invite(invite):
global valid, invalid, errors, blocked, total
try:
headers = {'Content-Type': 'application/json'}
url = f"https://discord.com/api/v9/invites/{invite}"
r = requests.get(url, headers=headers, proxies=proxy, timeout=5)
if r.status_code == 200:
data = r.json()
server_name = data['guild']['name']
server_members = data['approximate_member_count']
valid += 1
print(colorama.Fore.GREEN + f"[~] Valid ({valid}) - Server: {server_name} - Members: {server_members}" + colorama.Style.RESET_ALL)
with open('output.txt', 'a') as f:
f.write(f"{invite} - Valid - Server: {server_name} - Members: {server_members}\n")
elif r.status_code == 403:
blocked += 1
print(colorama.Fore.YELLOW + f"[~] Damaged ({blocked}) - Invite: {invite}" + colorama.Style.RESET_ALL)
elif r.status_code == 404:
invalid += 1
print(colorama.Fore.RED + f"[~] Invalid ({invalid}) - Invite: {invite}" + colorama.Style.RESET_ALL)
else:
errors += 1
print(colorama.Fore.RED + f"[~] Errors ({errors}) - Invite: {invite}" + colorama.Style.RESET_ALL)
except:
errors += 1
print(colorama.Fore.RED + f"[~] Errors ({errors}) - Invite: {invite}" + colorama.Style.RESET_ALL)
total += 1
if __name__ == "__main__":
valid = 0
invalid = 0
errors = 0
blocked = 0
total = 0
cpm = 0
with open('invite.txt') as f:
invites = f.read().splitlines()
print(f"[~] Checking {len(invites)} invites...")
start_time = time.time()
for invite in invites:
t = threading.Thread(target=check_invite, args=(invite,))
t.start()
while threading.activeCount() >= 100:
time.sleep(0.1)
while threading.activeCount() > 1:
time.sleep(0.1)
end_time = time.time()
print(f"\n[~] Done checking invites. Valid: {valid}, Invalid: {invalid}, Errors: {errors}, Damaged: {blocked}")
print(f"[~] CPM: {int(total / (end_time - start_time) * 60)} - Remaining: {len(invites) - total}")
print(f"[~] Valid ({valid})\n[~] Invalid ({invalid})\n[~] Errors ({errors})\n[~] Damaged ({blocked})\n[~] CPM ({int(total / (end_time - start_time) * 60)})\n[~] Remaining ({len(invites) - total})")
[/HIDE]


This is a bump
 

Vm23

Member

0

0%

Status

Offline

Posts

22

Likes

0

Rep

0

Bits

0

2

Years of Service

Icycle

Member

0

0%

Status

Offline

Posts

26

Likes

0

Rep

0

Bits

0

2

Years of Service

(13 March, 2023 - 10:22 PM)Overdrive187 Wrote: Show More
im tryin out rn my py skills
you need:
invite.txt
proxies.txt

if yall can help please do


This is a bump

pls reeeal
PepeBlush
 

Anectodamalcontada

Premium member
Premium

0

0%

Status

Offline

Posts

26

Likes

0

Rep

0

Bits

0

2

Years of Service

(13 March, 2023 - 10:22 PM)Overdrive187 Wrote: Show More
im tryin out rn my py skills
you need:
invite.txt
proxies.txt

if yall can help please do



This is a bump
thanks mate lemesee it
 

48,655

38,233

238,383

Top