Python3 utility (w/PySimpleGUI) for converting IPv4 IP address to an 8- or 12-bit password. Modify the algo to suit your needs.
Install required packages:
pip3 install -r requirements.txt
From a shell (argument parser):
python3 ipypass.py --ip 192.168.1.1
From a shell (interactive):
python3 ipypass.py
then, at prompt, enter IPv4 address. Program will:
- validate address
- split address by '.'
- take 3rd octet and append *
- take 4th octet then add 8 or 12 and append * such that the string is 8 or 12 characters in length.
For example:
IP address | 8-bit password | 12-bit password |
---|---|---|
10.1.1.1 | 1*9***** | 1*13*1****** |
192.168.1.1 | 1*9**** | 1*13*168**** |