Tired of losing the IP address in your clipboard while playing a CTF? Not anymore!
- Python3
Install python3 with your distribution's package manager.
- PyGTK
Follow the instructions here
- PyNput
python3 -m pip install pynput
- Use this command to get the python script.
wget https://raw.githubusercontent.com/compromyse/ipman/main/ipman.py
OR
curl -LO https://raw.githubusercontent.com/compromyse/ipman/main/ipman.py
- Move this script to any writable directory.
mv ipman.py /any/directory/ipman.py
This depends on your desktop environment. Navigate to your keyboard shortcuts setting.
Add a shortcut with the command as python3 /path/to/ipman.py paste
and the shortcut as whatever you want the "paste" shortcut to be. This will be the shortcut that will paste the IP.
Add another shortcut with the command as python3 /path/to/ipman.py setip
and the shortcut as whatever you want the "SetIP" shortcut to be. This shortcut will open the window to set the IP address.