Park Yo Jin
Park Yo Jin

Reputation: 351

Python - Check windows firewall status

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

Answers (1)

RavinderSingh13
RavinderSingh13

Reputation: 133458

Following may help you in same.

subprocess.check_call('netsh advfirewall show allprofiles')

Upvotes: 4

Related Questions