siyahsapka.org
Don't Learn to hack, hack to LEARN
Sayfalar
(Move to ...)
Home
Services
Articles
whoami
▼
Wednesday, July 8, 2020
Block malicious IP on Windows-MacOS commandline
Windows:
netsh advfirewall firewall add rule name="IP Block" dir=in
interface=any action=block remoteip=x.x.x.x
MacOS:
sudo echo “block drop from any to x.x.x.x” >> /ect/pf.conf” &&
sudo pfctl -e -f /etc/pf.conf
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment