RT-MASK is a Python script that converts IPv4 addresses to IPv6 addresses for the purpose of IPv4 obfuscation.
- Python 3.x (Tested on Python 3.6 and above)
- Bash (Tested on version 5.2.15(1)-release (x86_64-pc-linux-gnu)
- PowerShell (5.1+)
bash git clone https://github.com/msimon96/RT-MASK.git && cd RT-MASK
-
Run the Python script:
python RT-MASK.py [IPv4_ADDRESS]
Replace
[IPv4_ADDRESS]
with the IPv4 address you want to convert.Example:
python RT-MASK.py 192.168.1.1
If no IPv4 address is provided as a command-line argument, the script will prompt you to enter one.
To exit the script, type 'exit' when prompted.
-
For help and usage information:
python RT-MASK.py -h
-
Run the Bash script:
bash RT-MASK.sh [IPv4_ADDRESS]
Replace
[IPv4_ADDRESS]
with the IPv4 address you want to convert.Example:
bash RT-MASK.sh 192.168.1.1
If no IPv4 address is provided as a command-line argument, the script will prompt you to enter one.
To exit the script, type 'exit' when prompted.
-
For help and usage information:
bash RT-MASK.sh -h
-
Run the PowerShell script:
.\RT-MASK.ps1 [IPv4_ADDRESS]
Replace
[IPv4_ADDRESS]
with the IPv4 address you want to convert.Example:
.\RT-MASK.ps1 192.168.1.1
If no IPv4 address is provided as a command-line argument, the script will prompt you to enter one.
To exit the script, type 'exit' when prompted.
-
For help and usage information:
.\RT-MASK.ps1 -h
- The script uses ANSI escape codes for terminal colors. If you encounter any issues with colors, consider running the script in a terminal that supports ANSI escape codes.