Unleash the power of IP address obfuscation with this Go program! Safeguard your IP addresses for enhanced security and privacy.
Ready to get started? Here's how:
-
๐ Clone the repository:
git clone https://github.com/ishanoshada/IPObfuscatorGo
-
๐ Navigate to the project directory:
cd IPObfuscatorGo
-
๐ก Run the program:
go run main.go
-
๐ฏ Follow the prompts to enter an IP address for magical obfuscation.
Our code is your secret spellbook for IP address manipulation:
The isValidIP
function plays detective, making sure your IP is valid, with each segment perfectly in the 0 to 255 range.
The obfuscateIP
function is your magic wand. It transforms a valid IP into various enchanting versions:
- ๐ฅ Bitwise Blast: Convert it using bitwise operations.
- ๐ฎ Hex Hexation: Change it to hexadecimal charm.
- ๐ Octal Enchantment: Behold it in its octal aura.
- ๐ Hex Hexcellent: Or wield it with an 8-character hexadecimal hex.
Enter an IP, and witness the magic unfold as it reveals the original and obfuscated IP addresses.
[+] Enter your IP: 192.168.0.1
[~] Obfuscated IPs:
[+] http://3232235521
[+] http://0xC0.0xA8.0x0.0x1
[+] http://0300.0250.00.01
[+] http://0xc0a80001
Original IP: 192.168.0.1