Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- echo _wr"" "-q__
- echo _dP 9m_
- echo _#P 9#_
- echo d#@ 9#m
- echo d## ###
- echo J### ###L
- echo {###K J###K
- echo ]####K ___aaa___ J####F
- echo __gmM######_ w#P"" ""9#m _d#####Mmw__
- echo _g##############mZ_ __g##############m_
- echo _d####M@PPPP@@M#######Mmp gm#########@@PPP9@M####m_
- echo a###"" ,Z"#####@" '######"\g ""M##m
- echo J#@" 0L "*## ##@" J# *#K
- echo #" `# "_gmwgm_~ dF `#_
- echo 7F "#_ ]#####F _dK JE
- echo ] *m__ ##### __g@" F
- echo "PJ#####LP"
- echo ` 0######_ '
- echo _0########_
- echo . _d#####^#####m__ ,
- echo "*w_________am#####P" ~9#####mw_________w*"
- echo ""9@#####@M"" ""P@#####@M""
- title Prompt workaround
- color 0a
- echo Type "help" to view current options.
- :LABEL1
- set /p c= Command:
- if %c%==cmd GOTO CMD
- if %c%==root GOTO ROOT
- if %c%==dkgajskdlga,./?';:"!@#$%^&*()-_+= GOTO ERROR ::This is here so if you misstype something it wont close
- if %c%==help GOTO HELP
- if %c%==viewdomain GOTO VDOMAIN
- if %c%==view GOTO NVIEW
- if %c%==scanlan GOTO LANS
- if %c%==camera GOTO CAM
- :Error
- echo You did not type a valid command. Type "help" for more options.
- goto LABEL1
- :HELP
- echo cmd - For command prompt
- echo root - For force rooting admin account on pc
- echo viewdomain - For viewing the accounts on the domain
- echo view - For viewing active domain devices
- echo scanlan - Scanner for all local active ip addresses
- echo camera - For viewing all cameras district wide
- goto LABEL1
- :ROOT
- echo IF YOU RECEIVE ACCESS DENIED, SIGN INTO "sadmin".
- net user administrator *
- goto LABEL1
- :LANS
- echo Scanner Started. . .
- mkdir C:\Temp_user\ipaddresses
- set /p t= File Name:
- echo FIRST THREE POINTS ONLY! CORRECT FORMAT: 192.168.1
- set /p d= IP:
- set /a n=0
- :repeat
- set /a n+=1
- echo %d%.%n%
- ping -n 1 -w 500 %d%.%n% | FIND /i "Reply">>C:\Temp_user\ipaddresses\%t%.txt
- if %n% lss 254 goto repeat
- type %t%.txt
- echo Completed.
- START C:\Temp_user\ipaddresses\%t%.txt
- goto LABEL1
- :CAM
- echo ------------------------------------------------------------
- echo Select a Building! (TYPE THE NUMBER ONLY!)
- echo 1. NHS
- echo 2. Curtis Inge
- echo 3. ISD Building
- echo ============================================================
- echo ENTER A NUMBER or type "quit" to quit the camera selector.
- echo ============================================================
- echo ALL CAMERAS HAVE A LOGIN. USER: admin PASS: admin
- echo ------------------------------------------------------------
- :CAMER
- set /p b=Building number:
- if %b%==1 GOTO CAMNHS
- if %b%==2 GOTO CAMCURT
- if %b%==3 GOTO CAMISD
- if %b%==quit GOTO LABEL1
- if %b%==325345fgksfdjgreojg!$@#^%^*)_)('""<:>?|}{+_)/,.';[]\dsfnaglg GOTO CAMERROR
- if %b%==adsgksdfhgjkerwporeyiu!$@#^%^*)_)('""<:>?|}{+_)/,.';[]\dsfnaglg GOTO CAMERROR
- :CAMERROR
- echo You have entered an invalid number. Try again.
- goto CAMER
- :CAMNHS
- echo ------------------------------------------------------------
- echo echo ALL CAMERAS HAVE A LOGIN. USER: admin PASS: admin
- echo To go back to the building selection, type "back"
- echo ------------------------------------------------------------
- echo Select a camera! (TYPE THE NUMBER ONLY!)
- echo 1. MAIN DOORS
- echo 2. VENDING MACHINES
- echo 3. CAFETERIA #1
- echo 4. CAFETERIA #2
- echo 5. WEST HALL #1
- echo 6. WEST HALL #2
- echo 7. FEILD #1
- echo 8. FEILD #2
- echo 9. FEILD #3
- echo 10. LOCKER ROOM
- echo 11. EAST HALL
- echo 12. NORTH MAIN HALL
- echo 13. NORTH HALL
- echo 14. PARKING LOT #1
- echo 15. PARKING LOT #2
- echo 16. FEILD HOUSE #1
- echo 17. FEILD HOUSE #2
- echo 18. FEILD HOUSE #3
- set /p t=Camera:
- if %t%==1 start chrome http://10.20.0.58/
- if %t%==2 start chrome http://10.20.0.68/
- if %t%==3 start chrome http://10.20.0.70/
- if %t%==4 start chrome http://10.20.0.74/
- if %t%==5 start chrome http://10.20.0.78/
- if %t%==6 start chrome http://10.20.0.81/
- if %t%==7 start chrome http://10.20.0.61/
- if %t%==8 start chrome http://10.20.0.51/
- if %t%==9 start chrome http://10.20.0.143/
- if %t%==10 start chrome http://10.20.0.52/
- if %t%==11 start chrome http://10.20.0.72/
- if %t%==12 start chrome http://10.20.0.57/
- if %t%==13 start chrome http://10.20.0.73/
- if %t%==14 start chrome http://10.20.0.227/
- if %t%==15 start chrome http://10.20.0.228/
- if %t%==16 start chrome http://10.20.0.50/
- if %t%==17 start chrome http://10.20.0.49/
- if %t%==18 start chrome http://10.20.0.48/
- if %t%==back GOTO CAM
- if %t%==quit GOTO LABEL1
- goto CAMNHS
- :CAMCURT
- echo ------------------------------------------------------------
- echo echo ALL CAMERAS HAVE A LOGIN. USER: admin PASS: admin
- echo To go back to the building selection, type "back"
- echo ------------------------------------------------------------
- echo Select a camera! (TYPE THE NUMBER ONLY!)
- echo 1. MAIN HALL #1
- echo 2. MAIN HALL #2
- echo 3. 6TH GRADE HALL (USER: " administrator " THERE IS NO PASSWORD!)
- echo 4. OUTSIDE TABLES
- set /p y=Camera:
- if %y%==1 start chrome http://10.30.1.1/
- if %y%==2 start chrome http://10.30.1.2/
- if %y%==3 start chrome http://10.30.0.97/
- if %y%==3 start chrome http://10.30.0.43/
- if %y%==back GOTO CAM
- if %y%==quit GOTO LABEL1
- goto CAMCURT
- :CAMISD
- echo ------------------------------------------------------------
- echo ALL CAMERAS HAVE A LOGIN. USER: admin PASS: admin
- echo ------------------------------------------------------------
- start chrome http://10.20.1.62/
- goto CAM
- :VDOMAIN
- net user /domain
- goto LABEL1
- :NVIEW
- net view
- goto LABEL1
- :CMD
- echo Ran out of time, to go back restart or type "goto LABEL1"<-- all caps btw
- :CMD1
- set /p b= Cmd:
- %b%
- goto CMD1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement