{"id":130,"date":"2025-05-17T08:13:32","date_gmt":"2025-05-17T00:13:32","guid":{"rendered":"https:\/\/sicknerd.net\/8\/?p=130"},"modified":"2025-08-13T10:45:36","modified_gmt":"2025-08-13T02:45:36","slug":"block-adobe-checker","status":"publish","type":"post","link":"https:\/\/www.sicknerd.net\/8\/?p=130","title":{"rendered":"Block Adobe Checker"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">A post i found while scourging the net. From a github repo:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/github.com\/ph33nx\/WinMasterBlocker\/tree\/main\">https:\/\/github.com\/ph33nx\/WinMasterBlocker\/tree\/main<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Get the file, run as admin, as usual. good luck!<\/p>\n\n\n\n<div class=\"wp-block-file\"><a id=\"wp-block-file--media-ad201910-0f14-4479-895d-0c6f06276a6e\" href=\"https:\/\/sicknerd.net\/8\/wp-content\/uploads\/2025\/05\/ADOBE-WinMasterBlocker.txt\">ADOBE WinMasterBlocker <\/a><a href=\"https:\/\/sicknerd.net\/8\/wp-content\/uploads\/2025\/05\/ADOBE-WinMasterBlocker.txt\" class=\"wp-block-file__button wp-element-button\" download aria-describedby=\"wp-block-file--media-ad201910-0f14-4479-895d-0c6f06276a6e\">Download<\/a><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">That is the file if you are too lazy to go get it. Save it, rename into .bat and it&#8217;s done!<br>(oh, lepas rename tekan kanan dan &#8220;Run As Administrator&#8221; saja lah, kan?)<br>This version includes Corel, Autodesk, Maxon and Red Giant besides the obvious Adobe. Have fun!<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"768\" height=\"572\" src=\"https:\/\/sicknerd.net\/8\/wp-content\/uploads\/2025\/05\/this-unlicensed-adobe-app-will-be-disabled-soon.webp\" alt=\"\" class=\"wp-image-136 img-fluid\" srcset=\"https:\/\/www.sicknerd.net\/8\/wp-content\/uploads\/2025\/05\/this-unlicensed-adobe-app-will-be-disabled-soon.webp 768w, https:\/\/www.sicknerd.net\/8\/wp-content\/uploads\/2025\/05\/this-unlicensed-adobe-app-will-be-disabled-soon-300x223.webp 300w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">This is the raw source code:<\/p>\n\n\n\n<!--more-->\n\n\n\n<pre class=\"wp-block-code\"><code>:: ################################################################\n:: ##                  \ud83d\udd25 WinMasterBlocker \ud83d\udd25                     #\n:: ################################################################\n:: # Author: https:\/\/github.com\/ph33nx                            #\n:: # Repo: https:\/\/github.com\/ph33nx\/WinMasterBlocker             #\n:: #                                                              #\n:: # This script blocks inbound\/outbound network access           #\n:: # for major apps like Adobe, Autodesk, Corel, Maxon,           #\n:: # and more using Windows Firewall.                             #\n:: #                                                              #\n:: # Features:                                                    #\n:: # - Block executables using windows firewall for popular       # \n:: #   vendors                                                    #\n:: # - Add or Delete inbound, outbound, or both types of rules    #\n:: # - Avoids duplicate firewall rules                            #\n:: # - Logs skipped entries for existing rules                    #\n:: #                                                              #\n:: # Check out the repo to contribute:                            #\n:: # https:\/\/github.com\/ph33nx\/WinMasterBlocker                   #\n:: ################################################################\n\n@echo off\nsetlocal enabledelayedexpansion\n\n:: Array of vendors and their paths\nset \"vendors&#91;0]=Adobe\"\nset \"paths&#91;0]=C:\\Program Files\\Adobe;C:\\Program Files\\Common Files\\Adobe;C:\\Program Files (x86)\\Adobe;C:\\Program Files (x86)\\Common Files\\Adobe;C:\\ProgramData\\Adobe\"\n\nset \"vendors&#91;1]=Corel\"\nset \"paths&#91;1]=C:\\Program Files\\Corel;C:\\Program Files\\Common Files\\Corel;C:\\Program Files (x86)\\Corel\"\n\nset \"vendors&#91;2]=Autodesk\"\nset \"paths&#91;2]=C:\\Program Files\\Autodesk;C:\\Program Files (x86)\\Common Files\\Macrovision Shared;C:\\Program Files (x86)\\Common Files\\Autodesk Shared\"\n\nset \"vendors&#91;3]=Maxon\"\nset \"paths&#91;3]=C:\\Program Files\\Maxon;C:\\Program Files (x86)\\Maxon;C:\\ProgramData\\Maxon\"\n\nset \"vendors&#91;4]=Red Giant\"\nset \"paths&#91;4]=C:\\Program Files\\Red Giant;C:\\Program Files (x86)\\Red Giant\"\n\n:: Check if script is run as administrator\n:check_admin\n    net session &gt;nul 2&gt;&amp;1\n    if %errorlevel% neq 0 (\n        echo.\n        echo This script must be run as Administrator.\n        echo Attempting to re-launch with elevated privileges...\n        powershell -Command \"Start-Process '%~f0' -Verb RunAs\"\n        exit \/b\n    )\n\n:: If admin, proceed with script\necho Running with Administrator privileges...\ngoto menu\n\n:: Main menu for user selection\n:menu\ncls\necho Choose a vendor to block or delete rules:\necho.\n\n:: Iterate through defined vendors\nset i=0\n:vendor_loop\nif not defined vendors&#91;%i%] goto after_vendor_list\necho !i!: !vendors&#91;%i%]!\nset \/a i+=1\ngoto vendor_loop\n\n:after_vendor_list\necho 99: Delete all firewall rules (added by this script)\necho.\n\nset \/p \"choice=Enter your choice (0-99): \"\n\n:: Validate if choice is a number between 0 and 99\nset \/a test_choice=%choice% 2&gt;nul\nif \"%choice%\" neq \"%test_choice%\" (\n    echo Invalid input, please enter a valid number.\n    pause\n    goto menu\n)\n\n:: Dynamic input validation based on the number of vendors\nset max_choice=!i!\nif \"%choice%\"==\"00\" (\n    goto end\n) else if \"%choice%\"==\"99\" (\n    goto delete_menu\n) else if %choice% lss %max_choice% (\n    goto process_vendor\n) else (\n    echo Invalid choice, try again.\n    pause\n    goto menu\n)\n\n:: Menu for deleting rules (inbound, outbound, both)\n:delete_menu\ncls\necho Select which firewall rules to DELETE (added by this script):\necho 1: Delete Outbound rules\necho 2: Delete Inbound rules\necho 3: Delete All\necho.\n\nset \/p \"delete_choice=Enter your choice (1-3): \"\nif \"%delete_choice%\"==\"1\" (\n    goto delete_outbound\n) else if \"%delete_choice%\"==\"2\" (\n    goto delete_inbound\n) else if \"%delete_choice%\"==\"3\" (\n    goto delete_both\n) else (\n    echo Invalid choice, try again.\n    pause\n    goto delete_menu\n)\n\n:: Delete Outbound rules\n:delete_outbound\ncls\necho Deleting all outbound firewall rules (added by this script)...\nfor \/f \"tokens=*\" %%r in ('powershell -command \"(Get-NetFirewallRule | where {$_.DisplayName -like '*-block'}).DisplayName\"') do (\n    for %%D in (out) do (\n        netsh advfirewall firewall delete rule name=\"%%r\" dir=%%D\n    )\n)\necho Outbound rules deleted successfully.\ngoto firewall_check\n\n:: Delete Inbound rules\n:delete_inbound\ncls\necho Deleting all inbound firewall rules (added by this script)...\nfor \/f \"tokens=*\" %%r in ('powershell -command \"(Get-NetFirewallRule | where {$_.DisplayName -like '*-block'}).DisplayName\"') do (\n    for %%D in (in) do (\n        netsh advfirewall firewall delete rule name=\"%%r\" dir=%%D\n    )\n)\necho Inbound rules deleted successfully.\ngoto firewall_check\n\n:: Delete Both Inbound and Outbound rules\n:delete_both\ncls\necho Deleting all inbound and outbound firewall rules (added by this script)...\nfor \/f \"tokens=*\" %%r in ('powershell -command \"(Get-NetFirewallRule | where {$_.DisplayName -like '*-block'}).DisplayName\"') do (\n    for %%D in (in out) do (\n        netsh advfirewall firewall delete rule name=\"%%r\" dir=%%D\n    )\n)\necho Inbound and Outbound rules deleted successfully.\ngoto firewall_check\n\n:: Process each vendor's paths and block executables\n:process_vendor\ncls\nset \"selected_vendor=!vendors&#91;%choice%]!\"\nset \"selected_paths=!paths&#91;%choice%]!\"\n\n:: Initialize rule counter and a flag to track if any valid path was found\nset \"rule_count=0\"\nset \"any_valid_path=false\"\n\necho Blocking executables for %selected_vendor% with paths %selected_paths%...\n\n:: Loop through each path and perform a deep nested search for executables\nfor %%P in (\"%selected_paths:;=\" \"%\") do (\n    set \"current_path=%%~P\"\n    echo Checking path: \"!current_path!\"\n\n    if exist \"!current_path!\" (\n        set \"any_valid_path=true\"\n        echo Path exists: \"!current_path!\" - Searching for executables...\n\n        set \"exe_found_in_path=false\"\n\n        :: Use pushd\/popd to make current_path the root of the recursive search\n        pushd \"!current_path!\"\n        for \/R %%F in (*.exe) do (\n            set \"current_exe=%%F\"\n            set \"exe_found_in_path=true\"\n            echo Found executable: \"!current_exe!\"\n            call :check_and_block \"!current_exe!\" \"!selected_vendor!\"\n        )\n        popd\n\n        :: Check if any executables were found in the current path\n        if \"!exe_found_in_path!\"==\"false\" (\n            echo No executables found in path: \"!current_path!\"\n        )\n        \n    ) else (\n        echo Path not found: \"!current_path!\"\n    )\n)\n\n:: Final check after loop - notify if no valid directories were found\nif \"!any_valid_path!\"==\"false\" (\n    echo No valid directories found for %selected_vendor%.\n) else if %rule_count%==0 (\n    echo No executable files found to block for %selected_vendor%.\n)\n\necho.\necho Completed blocking for %selected_vendor%.\necho Total rules added: %rule_count%\npause\ngoto menu\n\n\n:: Function to check if a rule exists, and add it if not\n:check_and_block\nset \"exe_path=%~1\"\nset \"vendor_name=%~2\"\nset \"rule_name=%~n1 %vendor_name%-block\"\n\necho Checking rule for: \"%exe_path%\"\n\n:: Check if the rule already exists\nfor \/f \"tokens=*\" %%r in ('powershell -command \"(Get-NetFirewallRule | where {$_.DisplayName -eq '%rule_name%'}).DisplayName\"') do (\n    if \"%%r\"==\"%rule_name%\" (\n        echo Rule for \"%exe_path%\" already exists, skipping...\n        goto :continue\n    )\n)\n\n:: Add rule if it doesn\u2019t exist\necho Blocking: \"%~n1\"\nnetsh advfirewall firewall add rule name=\"%rule_name%\" dir=out program=\"%exe_path%\" action=block\nnetsh advfirewall firewall add rule name=\"%rule_name%\" dir=in program=\"%exe_path%\" action=block\n\n:: Increment rule count for each rule added\nset \/a rule_count+=1\n\n:continue\ngoto :eof\n\n:: Notify user to check Windows Firewall with Advanced Security\n:firewall_check\necho.\necho All changes completed. You can verify the new rules in \"Windows Firewall with Advanced Security\"\necho.\npause\ngoto menu\n\n:end\nendlocal\nexit \/b\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Sudah anda belajar? Sila komeeeen!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A post i found while scourging the net. From a github repo: https:\/\/github.com\/ph33nx\/WinMasterBlocker\/tree\/main Get the file, run as admin, as usual. good luck! That is the file if you are too lazy to go get it. Save it, rename into .bat and it&#8217;s done!(oh, lepas rename tekan kanan dan &#8220;Run As Administrator&#8221; saja lah, kan?)This [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,2,4],"tags":[76,74,80,75,79,78,82,77,83],"class_list":["post-130","post","type-post","status-publish","format-standard","hentry","category-internet","category-random","category-tutorial","tag-adobe","tag-adobne","tag-autodesk","tag-blocker","tag-corel","tag-illustrator","tag-maxon","tag-photoshop","tag-redgiant"],"_links":{"self":[{"href":"https:\/\/www.sicknerd.net\/8\/index.php?rest_route=\/wp\/v2\/posts\/130","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sicknerd.net\/8\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sicknerd.net\/8\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sicknerd.net\/8\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sicknerd.net\/8\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=130"}],"version-history":[{"count":6,"href":"https:\/\/www.sicknerd.net\/8\/index.php?rest_route=\/wp\/v2\/posts\/130\/revisions"}],"predecessor-version":[{"id":147,"href":"https:\/\/www.sicknerd.net\/8\/index.php?rest_route=\/wp\/v2\/posts\/130\/revisions\/147"}],"wp:attachment":[{"href":"https:\/\/www.sicknerd.net\/8\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=130"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sicknerd.net\/8\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=130"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sicknerd.net\/8\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=130"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}