{"id":1943,"date":"2022-03-07T22:36:38","date_gmt":"2022-03-07T22:36:38","guid":{"rendered":"https:\/\/wordpress.pedrorotoli.com\/?p=1943"},"modified":"2022-03-07T22:36:38","modified_gmt":"2022-03-07T22:36:38","slug":"windows-defender-firewall-bloquear-todos-os-executaveis-dentro-de-uma-pasta","status":"publish","type":"post","link":"https:\/\/wordpress.pedrorotoli.com\/?p=1943","title":{"rendered":"Windows Defender Firewall &#8211; Bloquear Todos Os Execut\u00e1veis Dentro De Uma Pasta"},"content":{"rendered":"<p>Script para bloquear todos os execut\u00e1veis dentro da pasta onde ele foi executado, incluindo sub pastas.<\/p>\n<pre>@ setlocal enableextensions \r\n@ cd \/d \"%~dp0\"\r\n\r\nfor \/R %%f in (*.exe) do (\r\nnetsh advfirewall firewall add rule name=\"Blocked: %%f\" dir=out program=\"%%f\" action=block\r\n)\r\npause<\/pre>\n<p>Executar como administrador.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Script para bloquear todos os execut\u00e1veis dentro da pasta onde ele foi executado, incluindo sub pastas. @ setlocal enableextensions @ cd \/d &#8220;%~dp0&#8221; for \/R<\/p>\n","protected":false},"author":1,"featured_media":1944,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[73,22],"tags":[16,15],"class_list":["post-1943","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-firewall","category-windows","tag-firewall","tag-windows-defender"],"_links":{"self":[{"href":"https:\/\/wordpress.pedrorotoli.com\/index.php?rest_route=\/wp\/v2\/posts\/1943","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.pedrorotoli.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wordpress.pedrorotoli.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.pedrorotoli.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.pedrorotoli.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1943"}],"version-history":[{"count":1,"href":"https:\/\/wordpress.pedrorotoli.com\/index.php?rest_route=\/wp\/v2\/posts\/1943\/revisions"}],"predecessor-version":[{"id":1945,"href":"https:\/\/wordpress.pedrorotoli.com\/index.php?rest_route=\/wp\/v2\/posts\/1943\/revisions\/1945"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wordpress.pedrorotoli.com\/index.php?rest_route=\/wp\/v2\/media\/1944"}],"wp:attachment":[{"href":"https:\/\/wordpress.pedrorotoli.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1943"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wordpress.pedrorotoli.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1943"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wordpress.pedrorotoli.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1943"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}