ip hidder tool for windows
by 000especulator - Monday August 12, 2024 at 01:34 PM
#1
hello again, this is a ip hidder tool writed on python and this is the code
------------------------------------------------------------
import subprocess
import random
import re
import local
import os

def print_banner():
    banner = """
\033[94m ___________  _  _ _________________ ___________
|_  _| ___ \\ | | | |_  _|  _  \\  _  \\  ___| ___ \\
  | | | |_/ / | |_| | | | | | | | | | | |__ | |_/ /
  | | |  __/  |  _  | | | | | | | | | |  __||    /
_| |_| |    | | | |_| |_| |/ /| |/ /| |___| |\\ \\
\\___/\\_|    \\_| |_|\\___/|___/ |___/ \\____/\\_| \\_|
                                                 
\033[0m"""
    print(banner)

def generate_random_ip():
    return f"192.168.{random.randint(0, 255)}.{random.randint(1, 254)}"

def get_current_ip():
    encoding = locale.getpreferredencoding()
    ipconfig_result = subprocess.check_output(["ipconfig"], shell=True).decode(encoding, errors='ignore')
    match = re.search(r"IPv4 Address.*?: (\d+\.\d+\.\d+\.\d+)", ipconfig_result)
    if match:
        return match.group(1)
    else:
        return None

def change_ip():
    real_ip = get_current_ip()
    subprocess.call(["ipconfig", "/release"])
    subprocess.call(["ipconfig", "/renew"])
    new_ip = get_current_ip()
    print(f"Your real IP ({real_ip}) has been hidden. Your new IP is: {new_ip}")

def reset_ip():
    subprocess.call(["ipconfig", "/release"])
    subprocess.call(["ipconfig", "/renew"])

def show_current_ip():
    current_ip = get_current_ip()
    if current_ip:
        print(f"Your current IP address is: {current_ip}")
    else:
        print("Unable to retrieve current IP address.")

def clear_screen():
    # For Windows
    if os.name == 'nt':
        _ = subprocess.call('cls', shell=True)
    # For Unix-like systems (Linux, macOS)
    else:
        _ = subprocess.call('clear', shell=True)

def main():
    while True:
        clear_screen()
        print_banner()
        print("\033[94m1. Change IP address\033[0m")
        print("\033[94m2. Reset IP address\033[0m")
        print("\033[94m3. Show current IP address\033[0m")
        print("\033[94m4. Exit\033[0m")
        choice = input("\033[94mEnter your choice: \033[0m")

        if choice == "1":
            change_ip()
        elif choice == "2":
            reset_ip()
        elif choice == "3":
            show_current_ip()
        elif choice == "4":
            break
        else:
            print("Invalid choice. Please try again.")
        input("Press Enter to continue...")

if __name__ == "__main__":
    main()
Reply
#2
this just asks for a chosen ip from primary dhcp server? nothing to do with public ip. No ip here is being hidden, instead swapped for a preferred one. This code does something which take me 2 seconds to do in a console.
Reply
#3
Bro this script don't have anything to do with a public ip Smile

This forum account is currently banned. Ban Length: Permanent (N/A Remaining)
Ban Reason: Leeching | http://c66go4clkqodr7tdjfu76jztjs7w7d3fajdeypxn73v4ju3dt7g5yyyd.onion/Forum-Ban-Appeals if you feel this is incorrect.
Reply
#4
this script really doesnt hide anything it basically gets you a new local ip which changes and hides nothing
Reply
#5
It's not possible to hide your "public" IP. You can, however, use proxy server or VPN to "mask" yourself using other IP.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  leaking Database Lolyio 1 778 Yesterday, 08:19 PM
Last Post: JohnnyMorton
  Hello! Breachforum pokeyMONKD 8 1,871 Yesterday, 08:14 PM
Last Post: JohnnyMorton
  Burp Suite Professional 2024 stride2168 52 5,906 Yesterday, 08:12 PM
Last Post: JohnnyMorton
  How to activate every Windows license horus88 1 335 Yesterday, 08:11 PM
Last Post: JohnnyMorton
  METHOD to get logs from any site Unknown_Boy 6 1,373 Yesterday, 08:09 PM
Last Post: JohnnyMorton

Forum Jump:


 Users browsing this forum: 1 Guest(s)