Reputation: 351
Is there any python command or module can check Windows firewall status ? If it could work in linux, please let me know too.
Thanks so much, Quang
Upvotes: 0
Views: 1997
Reputation: 133458
Following may help you in same.
subprocess.check_call('netsh advfirewall show allprofiles')
Upvotes: 4