Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- netsh advfirewall firewall add rule name="Block SSL" dir=in action=block enable=yes localport=0-20,23-
- 52,54-79,81-562,564-65535 profile=any remoteport=0-20,23-52,54-79,81-562,564-65535 protocol=TCP
- netsh advfirewall firewall add rule name="Block SSL" dir=in action=block enable=yes localport=0-20,23-
- 52,54-79,81-562,564-65535 profile=any remoteport=0-20,23-52,54-79,81-562,564-65535 protocol=UDP
- netsh advfirewall firewall add rule name="Block SSL" dir=out action=block enable=yes localport=0-20,23-
- 52,54-79,81-562,564-65535 profile=any remoteport=0-20,23-52,54-79,81-562,564-65535 protocol=TCP
- netsh advfirewall firewall add rule name="Block SSL" dir=out action=block enable=yes localport=0-20,23-
- 52,54-79,81-562,564-65535 profile=any remoteport=0-20,23-52,54-79,81-562,564-65535 protocol=UDP
- pause
- cls
- echo 1. Adobe Dreamweaver
- echo 2. Adobe Photoshop (64-Bit)
- echo 3. Adobe Premier Pro (64-Bit)
- echo 4. Adobe After Effects (64-Bit)
- echo 5. Adobe Illustrator
- echo 6. Unset Firewall Rules
- choice /c:123456 /m "Pick a number:"
- GOTO :%errorlevel%
- :1
- cls
- @echo off
- echo Loading Dreamweaver...
- cd "C:\Program Files (x86)\Adobe\Adobe Dreamweaver CS5.5"
- Dreamweaver.exe
- GOTO :NXT
- :2
- cls
- @echo off
- echo Loading Photoshop...
- cd "C:\Program Files\Adobe\Adobe Photoshop CS5.1 (64 Bit)"
- Photoshop.exe
- GOTO :NXT
- :3
- cls
- @echo off
- echo Loading Premier Pro...
- cd "C:\Program Files\Adobe\Adobe Premiere Pro CS5.5"
- "Adobe Premier Pro.exe"
- GOTO :NXT
- :4
- cls
- @echo off
- echo Loading After Effects
- cd "C:\Program Files\Adobe\Adobe After Effects CS5.5\Support Files"
- AfterFX.exe
- GOTO :NXT
- :5
- cls
- @echo off
- echo Loading Illustrator
- cd "C:\Program Files (x86)\Adobe\Adobe Illustrator CS5.1\Support Files\Contents\Windows"
- Illustrator.exe
- GOTO :NXT
- :6
- netsh advfirewall firewall delete rule name="Block SSL" dir=in localport=0-20,23-52,54-79,81-562,564-65535
- profile=any remoteport=0-20,23-52,54-79,81-562,564-65535 protocol=TCP
- netsh advfirewall firewall delete rule name="Block SSL" dir=in localport=0-20,23-52,54-79,81-562,564-65535
- profile=any remoteport=0-20,23-52,54-79,81-562,564-65535 protocol=UDP
- netsh advfirewall firewall delete rule name="Block SSL" dir=out localport=0-20,23-52,54-79,81-562,564-
- 65535 profile=any remoteport=0-20,23-52,54-79,81-562,564-65535 protocol=TCP
- netsh advfirewall firewall delete rule name="Block SSL" dir=out localport=0-20,23-52,54-79,81-562,564-
- 65535 profile=any remoteport=0-20,23-52,54-79,81-562,564-65535 protocol=UDP
- GOTO :EXIT
- :NXT
- cls
- echo Do you wish to reset Firewall settings?
- choice /c:yn /m "Pick an option:"
- IF ERRORLEVEL == y GOTO :6
- IF ERRORLEVEL == n GOTO :n
- :n
- GOTO :EXIT
- :EXIT
- exitOTO :EXIT
- :EXIT
- exit
Add Comment
Please, Sign In to add comment