Skip to content

Commit

Permalink
updated to the newest paid build
Browse files Browse the repository at this point in the history
  • Loading branch information
R3CI committed Dec 17, 2024
1 parent 42b3bb7 commit f1c5dc4
Show file tree
Hide file tree
Showing 22 changed files with 310 additions and 338 deletions.
6 changes: 6 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"editor.cursorBlinking": "blink",
"editor.cursorStyle": "line",
"editor.cursorSmoothCaretAnimation": "off",
"editor.cursorSurroundingLinesStyle": "all"
}
33 changes: 13 additions & 20 deletions main.py
Original file line number Diff line number Diff line change
@@ -1,25 +1,29 @@
import sys, os; sys.dont_write_bytecode = True; os.environ['PYTHONDONTWRITEBYTECODE'] = '1'
from src import *
from src.plugins.error_chandler import *
from src.plugins.files import *; files()
from src.plugins.log import *
from src.plugins.ui import *
from src.plugins.auto_update import *
from src.plugins.files import *

ui().cls()
ui().title('Lime V2 FREE - discord.gg/spamming')
ui().banner()
log.info('Main', 'Startring up!')

from src.modules.joiner import *
from src.modules.leaver import *
from src.modules.isinserver import *
from src.modules.message_spammer import *
from src.modules.checker import *
from src.modules.reaction import *
from src.modules.display_changer import *
from src.modules.pron_changer import *
from src.modules.reaction import *

auto_update()
time.sleep(1.5)

while True:
ui().cls()
ui().title('Lime V2 free - discord.gg/spamming')
ui().title('Lime V2 FREE - discord.gg/spamming')
ui().banner()
ui().stats()
ui().menu()
Expand All @@ -42,28 +46,17 @@
'12': log.premium_only,
'13': log.premium_only,
'14': display_changer().main,
'15': log.premium_only,
'15': pron_changer().main,
'16': log.premium_only,
'17': reaction().main,
'18': log.premium_only,
'19': log.premium_only,
'20': log.premium_only,
'21': log.premium_only,
'22': log.premium_only,
'23': log.premium_only,
'24': log.premium_only,
'25': log.premium_only,
'26': log.premium_only,
'27': log.premium_only,
'28': log.premium_only,
'29': log.premium_only,
'30': log.premium_only,
'20': log.premium_only
}

if choice in options:
options[choice]()
else:
log.info('Main', 'That option does not exist', True)

log.info('Main', 'Finished! Enter to continue | If you like the tool make sure to leave a vouch!', True)
log.info('Main', 'That option does not exist yet', True)

log.info('Main', 'Finished! Enter to continue | If you enjoyed the tool make sure to leave a vouch on the discord!', True)
Binary file modified requirements.txt
Binary file not shown.
8 changes: 5 additions & 3 deletions settings.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
{
"version": 1.1,
"advanced-mode": false,
"version": 2.0,
"advanced-mode": true,
"threads": 10,
"proxies": false,
"opendiscord": true
"usesolver": false,
"solvertype (can use: csolver)": "",
"solverapikey": ""
}
58 changes: 20 additions & 38 deletions src/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
DBG = False
VERSION = 2.09
VERSION = 2.1

import sys, os, traceback; sys.dont_write_bytecode = True; os.environ['PYTHONDONTWRITEBYTECODE'] = '1'
import json
Expand All @@ -12,21 +12,30 @@
from tkinter import messagebox
from typing import cast
import string
import uuid
import queue
import io
import tkinter as tk
from tkinter import filedialog
import webbrowser
import flask
import ctypes
import base64
from io import BytesIO
import zipfile
import requests
import tls_client
from colorama import Back as B, Style as S
from datetime import datetime as dt
import ab5
import uuid
from bs4 import BeautifulSoup

try:
import requests
import tls_client
from colorama import Back as B, Style as S
from datetime import datetime as dt
import ab5

except:
os.system('pip install -r requirements.txt')
import requests
import tls_client
from colorama import Back as B, Style as S
from datetime import datetime as dt
import ab5

with open('output\\errors.txt', 'w') as f:
f.write('')
Expand All @@ -45,31 +54,4 @@ class co:
orange = rgb(255, 158, 3)
cyan = rgb(0, 245, 233)
magenta = rgb(245, 0, 241)
white = rgb(255, 255, 255)

def __INFLOG__(module, message, inp=False, ts=True):
if ts:
ts = f'{co.black}{dt.now().strftime("%H|%M|%S")} '
else:
ts = ''
if inp:
input(f'{ts}{co.green}[{module}]{co.black} >> {co.green}[{message}]{S.RESET_ALL}')
else:
print(f'{ts}{co.green}[{module}]{co.black} >> {co.green}[{message}]{S.RESET_ALL}')

os.system('cls')
size = os.get_terminal_size().columns
banner = f"""
{r' __ _ __ __ ____'.center(size)}
{r' / / (_)___ ___ ____ / / / /__ /'.center(size)}
{r' / / / / __ `__ / _ / / / / __/ / '.center(size)}
{r' / /___/ / / / / / / ___/ / / / / __/ '.center(size)}
{r'/_____/_/_/ /_/ /_/____/ /_____/ /____/ '.center(size)}
"""
print(ab5.vgratient(banner, [0, 255, 96], [128, 163, 91]))
__INFLOG__('Main', 'Launching!')
__INFLOG__('Main', 'Checking file structure...')

if os.path.abspath(__file__).startswith(os.path.join(os.path.expanduser('~'), 'Downloads')):
messagebox.showinfo('Info', 'Script is inside of the downloads folder! Please move all files of lime to the desktop to avoid any issues!!')
exit()
white = rgb(255, 255, 255)
42 changes: 2 additions & 40 deletions src/discord.py → src/dchelper.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from src.plugins.log import *
from src.plugins.client import *

class discord:
class discordhelper:
def __init__(self):
pass

Expand Down Expand Up @@ -37,6 +37,7 @@ def get_invite_info(self, invite):

def get_server_acceses(self, serverid, tokens):
acces = []
random.shuffle(tokens)
for token in tokens:
cl = client(token)

Expand All @@ -62,38 +63,6 @@ def get_server_acceses(self, serverid, tokens):
continue

return acces

def get_server_channels(self, serverid, tokens):
channelids = []
random.shuffle(tokens)

for token in tokens:
cl = client(token)

cl.headers['Authorization'] = token

r = cl.sess.get(
f'https://discord.com/api/v9/guilds/{serverid}/channels',
headers=cl.headers,
cookies=cl.cookies
)

log.dbg('Get server channels', r.text, r.status_code)

if r.status_code == 200:
for channel in r.json():
channelids.append(channel['id'])
return channelids

elif 'retry_after' in r.text:
limit = r.json().get('retry_after', 1.5)
time.sleep(float(limit))
self.get_server_channels(serverid, tokens)

else:
continue

return []

def get_messages(self, channelid, tokens):
random.shuffle(tokens)
Expand Down Expand Up @@ -121,13 +90,6 @@ def get_messages(self, channelid, tokens):

return {}

def getid(self, token):
period_pos = token.find('.')
if period_pos != -1: cut = token[:period_pos]
id = base64.b64decode(cut + '==').decode()
log.dbg('Token to ID', id)
return id

def getsnowflake(self):
return ((int(time.time() * 1000) - 1420070400000) << 22)

Expand Down
24 changes: 8 additions & 16 deletions src/modules/checker.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
from src import *
from src.plugins.log import *
from src.plugins.ui import *
from src.discord import *
from src.dchelper import *
from src.plugins.client import client
from src.plugins.threads import *
from src.plugins.files import *

class checker:
def __init__(self):
self.serverid = None
self.valids = []

def check(self, token):
cl = client(token)
Expand All @@ -21,19 +20,18 @@ def check(self, token):
cookies=cookies
)

log.dbg('Checker', state.text, state.status_code)
log.dbg('Checker', r.text, r.status_code)

if state.status_code == 200:
log.info('Checker', f'{token[:30]}... >> Valid >> Token info is paid only')
self.valids.append(token)
log.info('Checker', f'{token[:30]}... >> INFO IS PAID ONLY')

elif 'retry_after' in state.text:
limit = state.json()['retry_after']
limit = r.json()['retry_after']
log.warn('Checker', f'{token[:30]}... >> Limited for {limit}s')
time.sleep(float(limit))
self.check(token)

elif 'Cloudflare' in state.text:
elif 'Cloudflare' in r.text:
log.warn('Checker', f'{token[:30]}... >> CLOUDFLARE BLOCKED >> Waiting for 5 secs and retrying')
time.sleep(5)
self.check(token)
Expand All @@ -50,15 +48,9 @@ def check(self, token):


def main(self):
savevalid = ui().ask('Save only valids', True)
thread(
files().getthreads(),
files.getthreads(),
self.check,
files().gettokens(),
files.gettokens(),
[]
)

if savevalid:
with open('input\\tokens.txt', 'w') as f:
for token in self.valids:
f.write(f'{token}\n')
)
8 changes: 4 additions & 4 deletions src/modules/display_changer.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from src import *
from src.plugins.log import *
from src.plugins.ui import *
from src.discord import *
from src.dchelper import *
from src.plugins.client import client
from src.plugins.threads import *
from src.plugins.files import *
Expand Down Expand Up @@ -55,8 +55,8 @@ def main(self):
self.newdisplay = ui().ask('New display')

thread(
files().getthreads(),
files.getthreads(),
self.change,
files().gettokens(),
files.gettokens(),
[]
)
)
6 changes: 3 additions & 3 deletions src/modules/isinserver.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from src import *
from src.plugins.log import *
from src.plugins.ui import *
from src.discord import *
from src.dchelper import *
from src.plugins.client import client
from src.plugins.threads import *
from src.plugins.files import *
Expand Down Expand Up @@ -51,8 +51,8 @@ def main(self):
self.serverid = ui().ask('Server ID')

thread(
files().getthreads(),
files.getthreads(),
self.check,
files().gettokens(),
files.gettokens(),
[]
)
Loading

0 comments on commit f1c5dc4

Please sign in to comment.