siyahsapka.org
Don't Learn to hack, hack to LEARN
Sayfalar
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
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment