Port-Killer is a cross-platform python programme which can be used to disable USB ports of Linux and Windows. With growing concerns about data security and the need to safeguard sensitive information, this programme offers an essential tool to prevent unauthorized USB device connections and protect your system's integrity.
git clone https://github.com/l3urk/port-killer.git
OR
wget https://github.com/l3urk/port-killer/archive/main.zip
cd port-killer
pip install -r requirements.txt
Note
For running this programme you will need sudo
(in linux) or Administrator
(in windows) privileges.
sudo python port-killer.py
If your terminal has admin
privileges
python port-killer.py
If your command prompt is not running as admin
Start-Process -FilePath "python.exe" -ArgumentList ".\port-killer.py" -Verb RunAs