Source Code [BATCH] Firewall Killer (read post)

Hexui Undetected CSGO Cheats Sinkicheat PUBG Cheat

Dabzy

Newbie
Full Member
May 16, 2017
14
184
0
I had this issue with my computer to where I couldn't turn off my firewall because of issues. So I coded this up in batch really quick and made it all fancy with ascii. It's nothing special though just figured I would share if anyone would like to use it.

C++:
@echo off
TITLE Dabzy's Firewall Killer
mode con: cols=79 lines=29

:MainMenu
color 2
cls 
echo.
echo      .o oOOOOOOOo                                            OOOo
echo      Ob.OOOOOOOo  OOOo.      oOOo.                      .adOOOOOOO
echo      OboO"""""""""""".OOo. .oOOOOOo.    OOOo.oOOOOOo.."""""""""'OO
echo      OOP.oOOOOOOOOOOO "POOOOOOOOOOOo.   `"OOOOOOOOOP,OOOOOOOOOOOB'
echo      `O'OOOO'     `OOOOo"OOOOOOOOOOO` .adOOOOOOOOO"oOOO'    `OOOOo
echo      .OOOO'            `OOOOOOOOOOOOOOOOOOOOOOOOOO'            `OO
echo      OOOOO    Firewall    '"OOOOOOOOOOOOOOOO"`     Killer     oOO
echo     oOOOOOba.                .adOOOOOOOOOOba               .adOOOOo.
echo    oOOOOOOOOOOOOOba.    .adOOOOOOOOOO@^OOOOOOOba.     .adOOOOOOOOOOOO
echo   OOOOOOOOOOOOOOOOO.OOOOOOOOOOOOOO"`  '"OOOOOOOOOOOOO.OOOOOOOOOOOOOO
echo   "OOOO"       "YOoOOOOMOIONODOO"`  .   '"OOROAOPOEOOOoOY"     "OOO"
echo      Y           'OOOOOOOOOOOOOO: .oOOo. :OOOOOOOOOOO0'         :`
echo      :            .oO0OOOOOOOOOOo.OOOOOO.oOOOOOOOOOOOO0         .
echo      .            oOOP"0OOOOOOOOoOOOOOOO0oOOOOO0OOOO"OOo
echo                   '0o  OOOO"0OOOO0"0OOOOO"OOOOOO"OOO':
echo                        `$"  `OOOO' `O"Y ' `OOOO'  o             .
echo     .                  .     OP"          : o     .
echo                               :
echo                                .
echo                          DABZY'S FIREWALL KILLER
echo.
echo 1.) Kill Firewall
echo 2.) Revive Firewall 
echo 3.) Check Firewall Status 

set /P INPUT=:

if %INPUT%==1 goto Kill
if %INPUT%==2 goto Revive
if %INPUT%==3 goto fwstatus 
else goto other 

:other
cls
echo.
echo Type 1 and press enter to turn firewall off.
echo Type 2 and press enter to turn firewall on.
echo Type 3 and press enter to check if firewall is on or off. 
pause 
goto MainMenu 

:Kill 
color 4
cls
echo           .                                                      .
echo         .n                   .                 .                  n.
echo   .   .dP                  dP                   9b                 9b.    .
echo  4    qXb         .       dX                     Xb       .        dXp     t
echo dX.    9Xb      .dXb    __                         __    dXb.     dXP     .Xb
echo 9XXb._       _.dXXXXb dXXXXbo.                 .odXXXXb dXXXXb._       _.dXXP
echo  9XXXXXXXXXXXXXXXXXXXVXXXXXXXXOo.           .oOXXXXXXXXVXXXXXXXXXXXXXXXXXXXP
echo    9XXXXXXXXXXXXXXXXXXXXX ~   ~ OOO8b   d8OOO ~   ~ XXXXXXXXXXXXXXXXXXXXXP
echo      9XXXXXXXXXXXP   9XX Firewall  `98v8P'  Killer   XXP   9XXXXXXXXXXXP
echo         XXXXXXX       9X.           db db            XP       XXXXXXX
echo                        )b.  .dbo.dP  v v 9b.odb.  .dX(
echo                       ,dXXXXXXXXXXXb     dXXXXXXXXXXXb.
echo                      dXXXXXXXXXXXP'   .   `9XXXXXXXXXXXb
echo                     dXXXXXXXXXXXXb   d b   dXXXXXXXXXXXXb
echo                    9XXb     XXXXXb.dX Xb.dXXXXX     dXXP
echo                      `'      9XXXXXX(   )XXXXXXP      `'
echo                               XXXX X.`v'.X XXXX
echo                               XP^X'`b   d'`X^XX
echo                               X. 9  `   '  P )X
echo                               `b  `       '  d'
echo                                `             '
echo Killing the Firewall Now
Netsh Advfirewall set allprofiles state off
echo. 
echo Firewall Status: OFF 
timeout 5
GOTO MainMenu

:Revive
color 9
cls
echo Reviving Firewall 
echo                                  _,-----._____
echo                               _,-'      .:::.  `-._
echo                             /         Firewall       `-.
echo                             /            Reviver     .::.
echo                            /            ______       .::\
echo                        ___         __.-'\ .::.`--._  .:::\
echo                 ___,--'   /     _,'    .:\  : /    `-.::::\
echo                /   `-.    :   .'       .::\  /       .`::: 
echo               _:      `.  : .'          .::)/         ::\:/
echo          _,--(`\        \ :/           .::/ ).       .:::V
echo         / .:._\_\.   ,--. (            .::   /.       .:::/
echo        /.:_,-'    \_:    \_:           .::  /.        .::/
echo        \ ,           \    \:           .:: /.        .::/
echo        { ,          \ \    \           .::/.        .::/
echo        :  ,          -/\.   \         .:::/.      .:::/
echo        \  \:`,----'::/  `.   \       ..::: .     .:::/
echo        : ..  `.:::::/     \_  \      ..:: :.     .::/               
Netsh Advfirewall set allprofiles state on 
echo.
echo Firewall has been revived. 
echo.
timeout 5
GOTO MainMenu 

:fwstatus
color 0d
cls
echo Your fire wall status is
netsh advfirewall show allprofiles state
pause
goto MainMenu

:: Quick little firewall killer by Dabzy.

:: You can change the icon and run as admin
:: automatically if you create a shortcut,
:: then change the icon there and go to
:: advanced options and check run as admin.
The ascii images might not come through the best on here. I'll attach the .bat as well so you can open and see the code there as well.

Make sure to run this as admin if you don't setup the shortcut.
 

Attachments

Last edited:
Attention! Before you post:

Read the How to Ask Questions Guide
99% of questions are answered in the Beginner's Guide, do it before asking a question.

No Hack Requests. Post in the correct section.  Search the forum first. Read the rules.

How to make a good post:

  • Fill out the form correctly
  • Tell us the game name & coding language
  • Post everything we need to know to help you
  • Ask specific questions, be descriptive
  • Post errors, line numbers & screenshots
  • Post code snippets using code tags
  • If it's a large project, zip it up and attach it

If you do not comply, your post may be deleted.  We want to help, please make a good post and we will do our best to help you.

Similar threads

Community Mods