Nitro Gen
Nitro Gen
import string
import os
import time
LICNECE = """
Copyright (c) 2021 Drillenissen#4268 [email protected]
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
"""
USE_WEBHOOK = True
print(LICNECE)
time.sleep(3)
os.system('cls' if os.name == 'nt' else 'clear')
def main(self): # The main function contains the most important code
os.system('cls' if os.name == 'nt' else 'clear') # Clear the screen
if os.name == "nt": # If the system is windows
print("")
ctypes.windll.kernel32.SetConsoleTitleW(
"Nitro Generator and Checker - Made by Drillenissen#4268") #
Change the
else: # Or if it is unix
print(f'\33]0;Nitro Generator and Checker - Made by Drillenissen#4268\
a',
end='', flush=True) # Update title of command prompt
try:
num = int(input('')) # Ask the user for the amount of codes
except ValueError:
input("Specified input wasn't a number.\nPress enter to exit")
exit() # Exit program
if USE_WEBHOOK:
# Get the webhook url, if the user does not wish to use a webhook the
message will be an empty string
self.slowType(
"If you want to use a Discord webhook, type it here or press enter
to ignore: ", .02, newLine=False)
url = input('') # Get the awnser
# If the url is empty make it be None insted
webhook = url if url != "" else None
print(f"""
Results:
Valid: {len(valid)}
Invalid: {invalid}
Valid Codes: {', '.join(valid)}""") # Give a report of the results of the check
return True # Tell the main function the code was found
if __name__ == '__main__':
Gen = NitroGen() # Create the nitro generator object
Gen.main() # Run the main code