kanekiweb / nitro-generator Goto Github PK
View Code? Open in Web Editor NEW๐ฆ Powerfull Discord Nitro Generator
License: GNU General Public License v3.0
๐ฆ Powerfull Discord Nitro Generator
License: GNU General Public License v3.0
Is this normal? It shows Retry > on just about all except for a few invalids. Been running all day long.
I'm trying to build a bare-bones linux distro (Kinda), designed for things like bitcoin mining and various brute-force type things, and I'm trying to try every Nitro Generator to put the most efficient and feature filled one. I'm curious what version of python this is for.
Traceback (most recent call last):
File "/home/runner/NITRO-GENERATOR/main.py", line 90, in
print(" "+Fore.CYAN + str(Console().proxies_count()) + Fore.RESET + " Total proxies loaded...\n\n")
File "/home/runner/NITRO-GENERATOR/main.py", line 32, in proxies_count
with open('config/proxies.txt', 'r') as file:
FileNotFoundError: [Errno 2] No such file or directory: 'config/proxies.txt'
i have only rtlimit logs
Hi, is the generator still working?
hi wanna know if i can speed it up cus yeah my pc is pretty powerfull
There are so many issues in this code, I am shocked!
First of all, the LICENSE
file states out that the given project is licensed under the
GNU General Public License v3.0 while the readme.md
says it is licensed under
the MIT license?
Now, the code itself is full of issues:
PEP8
: The code clearly breaks the style convention specified by PEP8
multiprocessing
except
clausethreading.Lock
is completely misused
def printer(self, color, status, code):
threading.Lock().acquire()
print(f"{color} {status} > {Fore.RESET}discord.gift/{code}")
This code is not thread safe as the Lock
is created within that method, which means that different threads will create
different Lock
instances, making this line of code completely useless. Better would be:
# global variable
lock = threading.Lock()
def safe_print() -> None:
with lock:
print("hi")
"".join(random.choice("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890") for _ in range(16))
rewrite as:
from string import ascii_letters, digits
import random
"".join(random.choices(ascii_letters + digits, k=16))
Files are opened explicitly with the r
parameter although it is the default parameter value
open("blah", "r")
== open("blah")
Why so much work?
def proxies_count(self):
proxies_list = 0
with open('config/proxies.txt', 'r') as file:
proxies = [line.strip() for line in file]
for _ in proxies:
proxies_list += 1
return int(proxies_list)
# Is the same as
def proxy_count(self) -> int:
with open("config/proxies.txt") as file:
return len(file.readlines())
threading.Thread(target=DNG.run(), args=()).start()
look at target
! You are calling run
instead of passing the method itself to target
. That means that you execute the method in the current thread instead of the new thread that you are trying to create there, essentially blocking the while
loop and hence blocking the creation of new threads.
WHAT TO WRITE IN PROXIES.
ive just seen a lot of nitro gens that seem sketchy so i just want to see if this one is safe before i download it
Eeewww
ip install -r requirements.txt what is this what we have to do anyhting we have to download?
the chances of you getting a nitro code are 62 to the power of 16 every single attempt (62 possible characters, 16 amount of characters)
that is 1 in 47,672,402,000,000,000,000,000,000,000
let's say somehow magically you are able to run this 24/7, you have 1000 threads and 1000 proxies, and you can run it on all of them every single second all at once, that would still take you 1,510,700,000,000,000,000 YEARS, that is 1.5 QUINTILLION years, and that is if you are able to run it every single second 1000 times a second, which realistically no matter how good your internet is, just isn't really doable
this is technically only counting it as if there was just one code, but even if there are somehow magically a billion nitro codes, that is still 1.5 billion years, a LOT more than you can live
Tg
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.