Skip to content

Commit

Permalink
VC Spammer shit
Browse files Browse the repository at this point in the history
  • Loading branch information
shahzain345 committed Jul 7, 2022
1 parent db71948 commit e166f95
Show file tree
Hide file tree
Showing 5 changed files with 285 additions and 9 deletions.
Binary file modified .DS_Store
Binary file not shown.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
__pycache__
.DS_Store
input/newtokas.txt
49 changes: 41 additions & 8 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,11 @@ def showMenu():
print(
f'{Style.BRIGHT}{Fore.BLUE}10: Friends Spammer {Style.RESET_ALL}')
print(
f'{Style.BRIGHT}{Fore.BLUE}11: Exit {Style.RESET_ALL}')
f'{Style.BRIGHT}{Fore.BLUE}11: Member scrapper {Style.RESET_ALL}')
print(
f'{Style.BRIGHT}{Fore.BLUE}12: VC spammer {Style.RESET_ALL}')
print(
f'{Style.BRIGHT}{Fore.BLUE}13: Exit {Style.RESET_ALL}')
def changeFormat(token: str):
if ":" not in token or len(token.split(":")) == 2:
token = token if ":" not in token else token.split(":")[1]
Expand All @@ -68,7 +72,6 @@ async def scrapeMassMention(token, guildId, channelId):
o = await buildMultiTool(token)
res = await o.getGuild(guildId)
if "name" not in res:
print(f"{token} is not in {guildId}")
return await scrapeMassMention(random.choice(open("input/tokens.txt").read().splitlines()), guildId, channelId)
open("scraped/massmention.txt", "w").write("")
console.s_print(f"Scraping in {guildId} with {token}")
Expand All @@ -78,7 +81,11 @@ async def scrapeMassMention(token, guildId, channelId):
open("scraped/massmention.txt", "a").write(member + "\n")
console.s_print(f"Total Scrapped: {len(members)}")
return True

async def vcSpammer(token: str, guild: str, channelId: str):
m = await buildMultiTool(token)
while True:
await m.vcJoin(channelId, guild)
console.s_print(f"Joined vc: {token}")
async def usernameChanger(token: str, username: str):
if ":" not in token:
console.f_print(f"{token} is not [Email:Pass:Token]")
Expand All @@ -97,7 +104,6 @@ async def scrapeMembers(token, guildId, channelId):
o = await buildMultiTool(token)
res = await o.getGuild(guildId)
if "name" not in res:
print(f"{token} is not in {guildId}")
return await scrapeMembers(random.choice(open("input/tokens.txt").read().splitlines()), guildId, channelId)
open("scraped/massmention.txt", "w").write("")
console.s_print(f"Scraping in {guildId} with {token}")
Expand Down Expand Up @@ -239,10 +245,16 @@ async def menu():
console.s_print(f"Server Joiner...")
rawInvite = input(f"[>] {Fore.GREEN}{Style.BRIGHT}Enter your invite: {Style.RESET_ALL}").split(
"discord.gg/")[1]
req1 = Utility().getInviteInfo(rawInvite)
if req1 == {"message": "Unknown Invite", "code": 10006}:
try:
req1 = Utility().getInviteInfo(rawInvite)
if req1 == {"message": "Unknown Invite", "code": 10006}:
console.f_print(f"https://discord.gg/{rawInvite} is INVALID")
return await menu()
except:
console.f_print("Failed to get invite info, You are probably ratelimited, try using a VPN")
req1 = {"guild": { "id": None }, "channel": { "id": None }}
if Utility().config.get("proxy")["proxyless"]: # if proxyless is true, redirect back to `menu` otherwise keep joining
return await menu()
console.s_print(f"https://discord.gg/{rawInvite} is VALID")
ctx = Utility().getContextProperties(
req1["channel"]["id"], req1["guild"]["id"])
Expand Down Expand Up @@ -365,17 +377,38 @@ async def menu():
for token in tokens:
await pool.put(friendRequest(token, username, discrim))
if choice == 11:
console.s_print("Member scrapper...")
channelId = input(
f"{Fore.GREEN}{Style.BRIGHT}Enter your channelId you want to scrape: {Style.RESET_ALL}")
m = await buildMultiTool(random.choice(tokens))
guildId = await m.getChannel(channelId)
await scrapeMembers(random.choice(tokens), guildId, channelId)
return await menu()
if choice == 12:
console.s_print("VC Spammer...")
channelId = input(f"{Fore.GREEN}{Style.BRIGHT}Enter your Voice channelId you want to spam: {Style.RESET_ALL}")
m = await buildMultiTool(random.choice(tokens)) # build the multitool coroutine
guildId = await m.getChannel(channelId=channelId)
async with TaskPool(10_000) as pool:
for token in tokens:
if token in seen:
continue
seen[token] = True
await pool.put(vcSpammer(token, guildId, channelId))
seen.clear()
return await menu()
if choice == 13:
exit()
else:
console.f_print("Invalid Choice")
return await menu()

except Exception as e:
console.f_print(e)
if Utility().config["traceback"]:
print(format_exc())
return await menu()
if __name__ == "__main__":

if __name__ == "__main__":
clearConsole()
print(Fore.BLUE + Style.BRIGHT + """
██████╗ ██╗███████╗ ██████╗ ██████╗ ██████╗ ██████╗ ███╗ ███╗██╗ ██╗██╗ ████████╗██╗████████╗ ██████╗ ██████╗ ██╗
Expand Down
231 changes: 231 additions & 0 deletions scraped/massmention.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,231 @@
965585810739056710
866897478163103755
993300852376862770
848440716073631784
742272368537370674
993472788528640062
993472795956752444
776469239057481750
410861587956760577
769522023168344066
704720015311503521
826734124089868288
873506193233035314
989987759060045955
993473102371635230
559773726028070913
958707412456575046
839391299257368596
930979682982174801
832695337532522506
360305015492968449
651452087435132948
709193086282235946
984521053768388688
742543866892124270
993281698034888867
993280747169398935
254694862174158848
951308284067991633
826631953373593631
931750132385472533
794114995809681418
993281480606359613
548758644364279830
930811425360846859
787466019475685436
528513126207979524
943590472864116776
755458285460783135
989991879636549633
763152113798086677
872840672661635073
743113934294351922
985135510362161152
801460433936580638
946479280685215774
875757366522552411
993281937940688896
983142252580847626
993607124850593922
761633042540003328
795658956302581762
980838704098705448
674365262547386380
993287495053742121
864296572521807902
994181362972110849
989965645686910996
880484609073238148
994196706033934427
994209039561015386
947454611063722044
672871097452068884
885468019042701313
994223609612607538
735461726719311952
993600358473547816
993475245543534623
755140223469355008
705752193168310373
909065987968622693
877553889812025345
969391192049590332
755501978477658172
472344848058286090
994216746099675206
994187381139841034
791287221852307496
814057476894097418
989988331096014860
472004020186382347
994227577562603642
899299015915634708
873610466541326337
470992713794191360
986601840852496404
993283234102263828
758574414974681128
989527546624352276
992050584838479962
774692744533770300
381837686685827074
835857162080747581
704600124751478834
620287085324140554
874319985344938015
994198514903027732
990002602739646568
981184193046413313
816633712186753036
494899216280322049
918424838861901844
565810970203521034
702827423443582996
374514879228411905
976336004640309258
690626039478616084
718509261344211024
734361454311899155
765654983256571954
960958233802051594
777018488211505153
743073735015137287
605297023385862146
632722140294021150
511476326159482882
933792182425501767
888422856831152148
632466531476832268
538346960436985876
675606337685553172
993101643728027779
980809716261347338
990223214590443530
966075336670457876
971791282202611792
970519147484172288
986537935375585280
987032790203781131
199460555814076416
892751685443784736
972856121884835910
876359271535767634
897938748531154994
786085584145874954
716947777761968158
632613333199224833
831426328296423484
712017496294817902
692656986872873011
988158911230132276
545543328024756245
490465545481748482
621889833664774150
521984731382939678
971432606933606481
919191907379314739
159985870458322944
235148962103951360
282859044593598464
270904126974590976
302050872383242240
853583833747161091
547905866255433758
499595256270946326
818570692847992902
408785106942164992
155149108183695360
651095740390834176
458276816071950337
491769129318088714
247283454440374274
993621100560916510
929729323110367334
989978386732572732
662980710281248779
648097241915195403
993281283184672829
949982264438185995
981205213291614278
993604800866435092
989399766683242540
984568769827459162
785598063356018738
718927680820609104
567750811845787648
776116296147402773
994215545882824814
874620392742981652
912445243369087078
667753389660045313
982166848437104640
989996229373087834
979535919084363866
853216705109819462
739060750039121992
827090747538669579
899199374528221204
979738667503456306
852646576739975188
563027808473972748
979612821555925025
948277671157203004
986530755767312397
763396883237961788
886293469679722506
993282434890219530
811599168115703819
993285978875764756
774663397127225344
720906354797183006
992719827619819520
989977229532475424
970772753407963156
909674267447267329
837194987942445076
656996650354475018
714125743512092763
839562780071821342
984519921390223444
666346767977152556
761584991938412554
993287498656653472
956614455859482714
989998008609415270
984518788047327405
993614692666839105
989995039222558781
729050436580933692
831060081189191711
843393740579930123
993473315605848117
919992740165615676
980773528414613564
353832014153121803
993285141315190794
805731880401895446
993602380094525581
874952472660181062
993281687398142014
994189893301436508
11 changes: 10 additions & 1 deletion src/multitool.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
from ._captcha import Captcha
from base64 import b64encode as encoder
from colorama import Fore, Style
import websocket
import random
import time
import json as jsonLib
Expand Down Expand Up @@ -270,4 +271,12 @@ async def sendFriendRequest(self, username, discrim):
return req
else:
console.s_print(f"{self.token} Sent friend request to {username}#{discrim}")
return req
return req
async def vcJoin(self, channelId, guildId):
ws = websocket.WebSocket()
ws.connect("wss://gateway.discord.gg/?v=8&encoding=json")
ws.send(jsonLib.dumps({"op": 2,"d": {"token": self.token,"properties": {"$os": "windows","$browser": "Discord","$device": "desktop"}}}))
ws.send(jsonLib.dumps({"op": 4,"d": {"guild_id": guildId,"channel_id": channelId,"self_mute": True,"self_deaf": True, "self_stream?": True, "self_video": False}}))
ws.send(jsonLib.dumps({"op": 18,"d": {"type": "guild","guild_id": guildId,"channel_id": channelId,"preferred_region": "singapore"}}))
ws.send(jsonLib.dumps({"op": 1,"d": None}))
ws.close()

0 comments on commit e166f95

Please sign in to comment.