Skip to content

Latest commit

 

History

History
37 lines (21 loc) · 1.1 KB

File metadata and controls

37 lines (21 loc) · 1.1 KB

NetBlocker

This application will help you block users internet access in your network.

You can find the application in the download folder and download it. You will be needing Java and winpcap in your machine for this application to work

Instructions : Windows -doanload and install winpacp from the link below -winpcap download -add the location Packet.dll and wpcap.dll to system environment variable in PATH variable located in system32 folder -eg:- C:\Windows\System32\wpcap.dll; C:\Windows\System32\Packet.dll;

Linux -install libpcap

Mac Os -not tested

libraries used

Pcap4j - github

apache commons-cli - github

Usage examples

java -jar NetBlocker.jar -h (help)

java -jar NetBlocker.jar -ip 192.168.1.3 -mac aa:aa:aa:aa:aa:aa -a -n 192.168.1 (allow mode)

java -jar NetBlocker.jar -ip 192.168.0.3 -mac aa:aa:aa:aa:aa:aa -b -n 192.168.0 -ips 192.168.0.5,192.168.0.8 (block mode)