Giter Club home page Giter Club logo

nitro-generator's Introduction

nitro-generator's People

Contributors

kanekiweb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nitro-generator's Issues

Constant Retry

Is this normal? It shows Retry > on just about all except for a few invalids. Been running all day long.

What type of python is this built on?

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.

Bugs

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'

can i speed it up?

hi wanna know if i can speed it up cus yeah my pc is pretty powerfull

Logic?

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:

  1. PEP8: The code clearly breaks the style convention specified by PEP8

    • inline imports of multiple packages
    • unused import multiprocessing
    • missing 2 empty lines between functions and classes
    • wrong type annotations
      • inconvenient use of type annotations
    • raw except clause
    • and so on
  2. threading.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")
  1. What is that?
"".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))
  1. Files are opened explicitly with the r parameter although it is the default parameter value

    • open("blah", "r") == open("blah")
  2. 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())
  1. Only one thread is running (always one!!!):
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.

is this safe

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

about nitro geb

ip install -r requirements.txt what is this what we have to do anyhting we have to download?

getting nitro using a generator like this is statistically impossible

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.