From 90cee0826d0d54d4ded84bf27f48b3a36b03e536 Mon Sep 17 00:00:00 2001 From: Kaneki <72992708+KanekiWeb@users.noreply.github.com> Date: Sun, 5 Sep 2021 06:14:11 +0200 Subject: [PATCH 01/11] =?UTF-8?q?=F0=9F=A6=8A=20Release=20V1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🦊 Release V1 --- requirements.txt | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 requirements.txt diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..580af6b --- /dev/null +++ b/requirements.txt @@ -0,0 +1,2 @@ +requests +colorama From 02eca4194842d5a56366896d89380057652b45fa Mon Sep 17 00:00:00 2001 From: Kaneki <72992708+KanekiWeb@users.noreply.github.com> Date: Sun, 5 Sep 2021 06:14:41 +0200 Subject: [PATCH 02/11] Add files via upload --- config/config.json | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 config/config.json diff --git a/config/config.json b/config/config.json new file mode 100644 index 0000000..0f49be0 --- /dev/null +++ b/config/config.json @@ -0,0 +1,10 @@ +{ + "proxies": "socks4", + "thread": "200", + + "webhook": { + "url": "https://discord.com/api/webhooks/0000000000000000000/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", + "username": "Nitro Hits", + "avatar": "https://cdn.discordapp.com/avatars/851905439809142856/6b09c26b7194e3aa7c84b7505a36a13e.webp?size=128" + } +} \ No newline at end of file From f1b06e6a38a5fe6b2fbecef3419ea32d4c19bdf3 Mon Sep 17 00:00:00 2001 From: Kaneki <72992708+KanekiWeb@users.noreply.github.com> Date: Sun, 5 Sep 2021 06:14:50 +0200 Subject: [PATCH 03/11] Delete config directory --- config/config.json | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 config/config.json diff --git a/config/config.json b/config/config.json deleted file mode 100644 index 0f49be0..0000000 --- a/config/config.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "proxies": "socks4", - "thread": "200", - - "webhook": { - "url": "https://discord.com/api/webhooks/0000000000000000000/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", - "username": "Nitro Hits", - "avatar": "https://cdn.discordapp.com/avatars/851905439809142856/6b09c26b7194e3aa7c84b7505a36a13e.webp?size=128" - } -} \ No newline at end of file From 0cc63f220678a09d1da9100a43d74a33350a62cf Mon Sep 17 00:00:00 2001 From: Kaneki <72992708+KanekiWeb@users.noreply.github.com> Date: Sun, 5 Sep 2021 06:15:10 +0200 Subject: [PATCH 04/11] =?UTF-8?q?=F0=9F=A6=8A=20Release=20V1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🦊 Release V1 --- config/config.json | 10 ++++++++++ config/proxies.txt | 1 + results/hit.txt | 1 + 3 files changed, 12 insertions(+) create mode 100644 config/config.json create mode 100644 config/proxies.txt create mode 100644 results/hit.txt diff --git a/config/config.json b/config/config.json new file mode 100644 index 0000000..0f49be0 --- /dev/null +++ b/config/config.json @@ -0,0 +1,10 @@ +{ + "proxies": "socks4", + "thread": "200", + + "webhook": { + "url": "https://discord.com/api/webhooks/0000000000000000000/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", + "username": "Nitro Hits", + "avatar": "https://cdn.discordapp.com/avatars/851905439809142856/6b09c26b7194e3aa7c84b7505a36a13e.webp?size=128" + } +} \ No newline at end of file diff --git a/config/proxies.txt b/config/proxies.txt new file mode 100644 index 0000000..945c9b4 --- /dev/null +++ b/config/proxies.txt @@ -0,0 +1 @@ +. \ No newline at end of file diff --git a/results/hit.txt b/results/hit.txt new file mode 100644 index 0000000..945c9b4 --- /dev/null +++ b/results/hit.txt @@ -0,0 +1 @@ +. \ No newline at end of file From 34cf59b281a4346d1840b7340f38cfe6f501cb3f Mon Sep 17 00:00:00 2001 From: Kaneki <72992708+KanekiWeb@users.noreply.github.com> Date: Sun, 5 Sep 2021 06:15:25 +0200 Subject: [PATCH 05/11] =?UTF-8?q?=F0=9F=A6=8A=20Release=20V1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🦊 Release V1 --- config/proxies.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/proxies.txt b/config/proxies.txt index 945c9b4..8b13789 100644 --- a/config/proxies.txt +++ b/config/proxies.txt @@ -1 +1 @@ -. \ No newline at end of file + From 72fb1798e01c1f184143406fbe7386c7d8ffdb33 Mon Sep 17 00:00:00 2001 From: Kaneki <72992708+KanekiWeb@users.noreply.github.com> Date: Sun, 5 Sep 2021 06:15:36 +0200 Subject: [PATCH 06/11] =?UTF-8?q?=F0=9F=A6=8A=20Release=20V1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🦊 Release V1 --- results/hit.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/results/hit.txt b/results/hit.txt index 945c9b4..8b13789 100644 --- a/results/hit.txt +++ b/results/hit.txt @@ -1 +1 @@ -. \ No newline at end of file + From 20c195089fae860e7f5ec539dd9b99779032825e Mon Sep 17 00:00:00 2001 From: Kaneki <72992708+KanekiWeb@users.noreply.github.com> Date: Sun, 5 Sep 2021 06:16:55 +0200 Subject: [PATCH 07/11] =?UTF-8?q?=F0=9F=A6=8A=20Release=20V1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🦊 Release V1 --- main.py | 97 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 97 insertions(+) create mode 100644 main.py diff --git a/main.py b/main.py new file mode 100644 index 0000000..a839f6d --- /dev/null +++ b/main.py @@ -0,0 +1,97 @@ +import os, requests, random, threading, json, time +from colorama import Fore + +# Credit to Pycenter by billythegoat356 +# Github: https://github.com/billythegoat356/pycenter/ +# License: https://github.com/billythegoat356/pycenter/blob/main/LICENSE + +def center(var:str, space:int=None): # From Pycenter + if not space: + space = (os.get_terminal_size().columns - len(var.splitlines()[int(len(var.splitlines())/2)])) / 2 + + return "\n".join((' ' * int(space)) + var for var in var.splitlines()) + +class Console(): + def ui(self): + os.system(f'cls && title [DNG] Discord Nitro Generator ^| For Help join discord.gg/kaneki' if os.name == "nt" else "clear") + print(center(f"""\n\n +██████╗ ███╗ ██╗ ██████╗ +██╔══██╗████╗ ██║██╔════╝ ~ Discord Nitro Generator ~ +██║ ██║██╔██╗ ██║██║ ███╗ +██║ ██║██║╚██╗██║██║ ██║ github.com/kanekiWeb ~ discord.gg/kaneki +██████╔╝██║ ╚████║╚██████╔╝ +╚═════╝ ╚═╝ ╚═══╝ ╚═════╝ \n\n + """).replace('█', Fore.CYAN+"█"+Fore.RESET).replace('~', Fore.CYAN+"~"+Fore.RESET).replace('-', Fore.CYAN+"-"+Fore.RESET)) + + def printer(self, color, status, code): + threading.Lock().acquire() + print(f"{color} {status} > {Fore.RESET}discord.gift/{code}") + + 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) + + +class Worker(threading.Thread): + def __init__(self): + threading.Thread.__init__(self) + + def random_proxy(self): + with open('config/proxies.txt', 'r') as f: + proxies = [line.strip() for line in f] + + return random.choice(proxies) + + def config(self, args, args2=False): + with open('config/config.json', 'r') as conf: + data = json.load(conf) + + if args2: + return data[args][args2] + else: + return data[args] + + def run(self): + self.code = "".join(random.choice("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890") for _ in range(16)) + try: + req = requests.get(f'https://discordapp.com/api/v6/entitlements/gift-codes/{self.code}?with_application=false&with_subscription_plan=true', proxies={'http': self.config("proxies")+'://'+self.random_proxy(),'https': self.config("proxies")+'://'+self.random_proxy()}, timeout=3) + + if req.status_code == 200: + Console().printer(Fore.LIGHTGREEN_EX, " Valid ", self.code) + open('results/hit.txt', 'a+').write(self.code+"\n") + try: + requests.post(Worker().config("webhook", "url"), json={"content": f"||@here|| **__New Valid Nitro !!__**\n\nhttps://discord.gift/{self.code}", "username": Worker().config("webhook", "username"), "avatar_url": Worker().config("webhook", "avatar")}) + except: + pass + elif req.status_code == 404: + Console().printer(Fore.LIGHTRED_EX, "Invalid", self.code) + elif req.status_code == 429: + # rate = (int(req.json()['retry_after']) / 1000) + 1 + Console().printer(Fore.LIGHTBLUE_EX, "RTlimit", self.code) + # time.sleep(rate) + else: + Console().printer(Fore.LIGHTYELLOW_EX, " Retry ", self.code) + + except KeyboardInterrupt: + Console().ui() + threading.Lock().acquire() + print(f"{Fore.LIGHTRED_EX} Stopped > {Fore.RESET}Nitro Gen Stopped by Keyboard Interrupt.") + os.system('pause >nul') + exit() + except: + Console().printer(Fore.LIGHTYELLOW_EX, " Retry ", self.code) + +if __name__ == "__main__": + Console().ui() + print(" "+Fore.CYAN + str(Console().proxies_count()) + Fore.RESET + " Total proxies loaded...\n\n") + + while True: + if threading.active_count() <= int(Worker().config("thread")): + DNG = Worker() + DNG.run() \ No newline at end of file From 28050b0682b937906306fcd7a69310bb4d0aba87 Mon Sep 17 00:00:00 2001 From: Kaneki <72992708+KanekiWeb@users.noreply.github.com> Date: Sun, 5 Sep 2021 06:45:44 +0200 Subject: [PATCH 08/11] =?UTF-8?q?=F0=9F=A6=8A=20Release=20V1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🦊 Release V1 --- main.py | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/main.py b/main.py index a839f6d..4a5f588 100644 --- a/main.py +++ b/main.py @@ -1,4 +1,4 @@ -import os, requests, random, threading, json, time +import os, requests, random, threading, json, time, multiprocessing from colorama import Fore # Credit to Pycenter by billythegoat356 @@ -38,10 +38,7 @@ def proxies_count(self): return int(proxies_list) -class Worker(threading.Thread): - def __init__(self): - threading.Thread.__init__(self) - +class Worker(): def random_proxy(self): with open('config/proxies.txt', 'r') as f: proxies = [line.strip() for line in f] @@ -60,7 +57,7 @@ def config(self, args, args2=False): def run(self): self.code = "".join(random.choice("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890") for _ in range(16)) try: - req = requests.get(f'https://discordapp.com/api/v6/entitlements/gift-codes/{self.code}?with_application=false&with_subscription_plan=true', proxies={'http': self.config("proxies")+'://'+self.random_proxy(),'https': self.config("proxies")+'://'+self.random_proxy()}, timeout=3) + req = requests.get(f'https://discordapp.com/api/v6/entitlements/gift-codes/{self.code}?with_application=false&with_subscription_plan=true', proxies={'http': self.config("proxies")+'://'+self.random_proxy(),'https': self.config("proxies")+'://'+self.random_proxy()}, timeout=1) if req.status_code == 200: Console().printer(Fore.LIGHTGREEN_EX, " Valid ", self.code) @@ -85,13 +82,14 @@ def run(self): os.system('pause >nul') exit() except: + # Console().printer(Fore.LIGHTRED_EX, "Invalid", self.code) Console().printer(Fore.LIGHTYELLOW_EX, " Retry ", self.code) if __name__ == "__main__": Console().ui() print(" "+Fore.CYAN + str(Console().proxies_count()) + Fore.RESET + " Total proxies loaded...\n\n") + DNG = Worker() while True: if threading.active_count() <= int(Worker().config("thread")): - DNG = Worker() - DNG.run() \ No newline at end of file + threading.Thread(target=DNG.run(), args=()).start() From 57e1a17d45ad1aaf47d3f3f4468e0a5cf4404984 Mon Sep 17 00:00:00 2001 From: &! Paradox#1337 <0xParadox@protonmail.com> Date: Sun, 3 Jul 2022 13:36:20 +0200 Subject: [PATCH 09/11] =?UTF-8?q?=F0=9F=A6=8A=20Readme?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🦊 --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 686151a..1e94e0c 100644 --- a/readme.md +++ b/readme.md @@ -35,7 +35,7 @@ ### 🧰 Support - Email: -- Discord: https://discord.gg/kaneki +- Discord: https://discord.gg/9YGYfDZAGG ## From b179bac77fe7719a1ac7803b2357216c6d077939 Mon Sep 17 00:00:00 2001 From: &! Paradox#1337 <0xParadox@protonmail.com> Date: Sun, 3 Jul 2022 13:36:40 +0200 Subject: [PATCH 10/11] =?UTF-8?q?=F0=9F=A6=8A=20Main?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 4a5f588..3cb4ea3 100644 --- a/main.py +++ b/main.py @@ -18,7 +18,7 @@ def ui(self): ██████╗ ███╗ ██╗ ██████╗ ██╔══██╗████╗ ██║██╔════╝ ~ Discord Nitro Generator ~ ██║ ██║██╔██╗ ██║██║ ███╗ -██║ ██║██║╚██╗██║██║ ██║ github.com/kanekiWeb ~ discord.gg/kaneki +██║ ██║██║╚██╗██║██║ ██║ github.com/kanekiWeb ~ skulldev.ga ██████╔╝██║ ╚████║╚██████╔╝ ╚═════╝ ╚═╝ ╚═══╝ ╚═════╝ \n\n """).replace('█', Fore.CYAN+"█"+Fore.RESET).replace('~', Fore.CYAN+"~"+Fore.RESET).replace('-', Fore.CYAN+"-"+Fore.RESET)) From e38d0ded84e8a1629d853493a542564e396e5431 Mon Sep 17 00:00:00 2001 From: Dark7922 <149206100+Dark7922@users.noreply.github.com> Date: Fri, 27 Oct 2023 23:08:54 +0200 Subject: [PATCH 11/11] Create Notro --- Notro | 1 + 1 file changed, 1 insertion(+) create mode 100644 Notro diff --git a/Notro b/Notro new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/Notro @@ -0,0 +1 @@ +