I would show you how to enable and USB driver without taking out it from the port from command Line !!!!
Isn't it amazing :D !!!!!!
First see the usb drive by following command
$ lsusb
$ lsusb -t
To Disable the
echo '2-1' > /sys/bus/usb/drivers/usb/unbind
To Enable it
echo '2-1' > /sys/bus/usb/drivers/usb/bind
Isn't it amazing :D !!!!!!
First see the usb drive by following command
$ lsusb
$ lsusb -t
To Disable the
echo '2-1' > /sys/bus/usb/drivers/usb/unbind
To Enable it
echo '2-1' > /sys/bus/usb/drivers/usb/bind
'2-1' is process that would enable or disable . I havnt gone in detail through code. You can go through code and let me know if anything new to add
Now protect your PC with from external USB attack. You can write a script that would disable the PC usb port.
Thank you
Keep Hacking !!!
No comments:
Post a Comment