Guest User

Untitled

a guest
Sep 16th, 2019
140
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @echo off
  2. title Matrix (ALPHA 0.3)
  3. ::Variables
  4. ::
  5. ::Working Directory
  6. SET wdir=C:\Siebe\School\Besturingssystemen
  7. ::Dependencies Directory
  8. SET ddir=C:\Siebe\School\Besturingssystemen\Dependencies
  9. goto START
  10.  
  11. :START
  12. echo Opstarten Programma...
  13. echo dit kan eventjes duren...
  14. timeout /T 3
  15. goto DEPENDENCIES
  16.  
  17. :DEPENDENCIES
  18. cd "%wdir%"
  19. if EXIST Dependencies goto GENESIS
  20. if NOT EXIST Dependencies goto DEPENDENCIES2
  21.  
  22. :DEPENDENCIES2
  23. md Dependencies
  24. goto GENESIS
  25.  
  26. :GENESIS
  27. cd "%ddir%"
  28. if EXIST Genesis.bat goto COMMANDS
  29. if NOT EXIST Genesis.bat goto GENESIS2
  30.  
  31. :GENESIS2
  32. cd "%ddir%"
  33. TYPE nul > Genesis.bat
  34. goto COMMANDS
  35.  
  36. :COMMANDS
  37. cd "%ddir%"
  38. if EXIST Commands.bat goto CORE
  39. if NOT EXIST Commands.bat goto COMMANDS2
  40.  
  41. :COMMANDS2
  42. cd "%ddir%"
  43. TYPE nul > Commands.bat
  44. goto CORE
  45.  
  46. :CORE
  47. cd "%ddir%"
  48. if EXIST Core.bat goto ADMIN0
  49. if NOT EXIST Core.bat goto CORE3
  50.  
  51. :CORE3
  52. cd "%ddir%"
  53. TYPE nul > Core.bat
  54. goto ADMIN0
  55.  
  56. :ADMIN0
  57. cls
  58. title Matrix (ALPHA 0.1)
  59. color 0f
  60. goto ADMIN
  61.  
  62.  
  63. :ADMIN
  64. echo Ben je admin? (J of Ja / N of Nee)
  65. set/p "cho=>"
  66. if %cho%==J goto WACHTWOORD
  67. if %cho%==j goto WACHTWOORD
  68. if %cho%==ja goto WACHTWOORD
  69. if %cho%==jA goto WACHTWOORD
  70. if %cho%==JA goto WACHTWOORD
  71. if %cho%==Ja goto WACHTWOORD
  72. if %cho%==n goto MATRIX0
  73. if %cho%==N goto MATRIX0
  74. if %cho%==Nee goto MATRIX0
  75. if %cho%==NEe goto MATRIX0
  76. if %cho%==NEE goto MATRIX0
  77. if %cho%==nEe goto MATRIX0
  78. if %cho%==neE goto MATRIX0
  79. if %cho%==nEE goto MATRIX0
  80. if %cho%==nee goto MATRIX0
  81. echo Onbekent...
  82. goto ADMIN0
  83.  
  84. :WACHTWOORD
  85. echo Wachtwoord:
  86. set/p "pass=>"
  87. if NOT %pass%==VIIO goto WWMIS
  88. echo Wachtwoord correct!
  89. goto CONTROLPANEL
  90.  
  91. :WWMIS
  92. echo Ongeldig wachtwoord!
  93. PAUSE
  94. goto ADMIN0
  95.  
  96. :CONTROLPANEL
  97.  
  98. cls
  99. title Controle Paneel (v0.3.8)
  100. echo Starting Controle Paneel...
  101. color 04
  102. ECHO ============================
  103. ECHO CONTROLE PANEEL
  104. ECHO ============================
  105. echo Type een letter om naar het gegeven item te gaan.
  106. echo.
  107. echo Systeem informatie = S
  108. echo Wachtwoord wijzigen = W
  109. echo Terug = T
  110. echo Matrix = M
  111. echo.
  112. set/p "control=>"
  113. if %control%==S goto SYSTEMINFO
  114. if %control%==s goto SYSTEMINFO
  115. if %control%==W goto COMING
  116. if %control%==w goto COMING
  117. if %control%==T goto ADMIN0
  118. if %control%==t goto ADMIN0
  119. if %control%==M goto MATRIX0
  120. if %control%==m goto MATRIX0
  121.  
  122. :COMING
  123. echo Aan deze functie wordt nog gewerkt.
  124. PAUSE
  125. goto CONTROLPANEL
  126.  
  127. :SYSTEMINFO
  128. ECHO Please wait... Checking system information.
  129. ECHO ============================
  130. ECHO OS INFO
  131. ECHO ============================
  132. systeminfo | findstr /c:"OS Name"
  133. systeminfo | findstr /c:"OS Version"
  134. systeminfo | findstr /c:"System Type"
  135. ECHO ============================
  136. ECHO HARDWARE INFO
  137. ECHO ============================
  138. systeminfo | findstr /c:"Total Physical Memory"
  139. wmic cpu get name
  140. ECHO ============================
  141. ECHO NETWORK INFO
  142. ECHO ============================
  143. ipconfig | findstr IPv4
  144. ipconfig | findstr IPv6
  145. PAUSE
  146. goto CONTROLPANEL
  147.  
  148. :MATRIX0
  149. title Matrix (ALPHA 0.1)
  150. color 0a
  151. mode 1000
  152. cls
  153. goto MATRIX
  154.  
  155. :MATRIX
  156. echo %random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%
  157. PING 1.1.1.1 -n 1 -w 0.3 >NUL
  158. goto MATRIX
  159.  
  160. :EINDE
RAW Paste Data