blob: 90f7680a4c594c32a2fe65d70da20dce805f90ac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# IPman
Tired of losing the IP address in your clipboard while playing a CTF? Not anymore!
## Demo
<img src="ipman.gif" alt="demo">
## Install
### Requirements
* Python3
> Install python3 with your distribution's package manager.
* PyGTK
> Follow the instructions [here](https://pygobject.readthedocs.io/en/latest/getting_started.html)
* PyNput
```bash
python3 -m pip install pynput
```
### ipman.py
* Use this command to get the python script.
```bash
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.
```bash
mv ipman.py /any/directory/ipman.py
```
### Set the keyboard shortcut
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.
# Thanks!
|