I have release my own Firewall Blocker for Windows batch program and basically it asks the user for a exe name and full path to block.
(This will add a firewall rule using netsh.exe to block that file from accessing the internet).
Here is the thread:
https://goldenhackz.smfnew2.com/hacking ... -internet/
What i'm looking for is a way to reverse this netsh.exe change. I have tried modifying action=block to action=allow but it doesn't work.
Here is a working full command line...
Code: Select all
netsh.exe advfirewall firewall add rule name="rundll32" dir=out action=block protocol=any program="c:\windows\system32\rundll32.exe"