Guest User

Untitled

a guest
Jun 25th, 2018
179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.33 KB | None | 0 0
  1. @echo off
  2. SET /P variable=Password :
  3. echo %variable%
  4. Pause
  5.  
  6. @echo off
  7. :: GetPwd.cmd - Get password with no echo.
  8. <nul: set /p passwd=Password:
  9. for /f "delims=" %%i in ('cscript /nologo GetPwd.vbs') do set passwd=%%i
  10. echo.
  11. :: This bit's just to prove we have the password.
  12. echo %passwd%
  13.  
  14. ' GetPwd.vbs - Get password with no echo then echo it. '
  15. Set oScriptPW = CreateObject("ScriptPW.Password")
  16. strPassword = oScriptPW.GetPassword()
  17. Wscript.StdOut.WriteLine strPassword
  18.  
  19. C:Pax> GetPwd
  20. Password:
  21. this is my password
  22.  
  23. C:Pax>
  24.  
  25. regsvr32 scriptpw.dll
  26.  
  27. ..
  28. echo Before you enter your password, make sure no-one is looking!
  29. set /P password=Password:
  30. cls
  31. echo Thanks, got that.
  32. ..
  33.  
  34. cls
  35. @echo off
  36. TITLE CHECK CREDENTIALS
  37. goto menu
  38.  
  39. :menu
  40. cls
  41. echo.
  42. echo ....................................
  43. echo ~Written by Cajun Wonder 4/1/2010~
  44. echo ....................................
  45. echo.
  46. @set /p un=What is your domain username?
  47. if "%un%"=="PUT-YOUR-DOMAIN-USERNAME-HERE" goto debugsupport
  48. if not "%un%"=="PUT-YOUR-DOMAIN-USERNAME-HERE" goto noaccess
  49. echo.
  50. :debugsupport
  51. "%SYSTEMROOT%system32runas" /netonly /user:PUT-YOUR-DOMAIN-NAME-HERE%un% "\PUT-YOUR-NETWORK-SHARE-PATH-HEREDebug Support.bat"
  52. @echo ACCESS GRANTED! LAUNCHING THE DEBUG UTILITIES....
  53. @ping -n 4 127.0.0.1 > NUL
  54. goto quit
  55. :noaccess
  56. cls
  57. @echo.
  58. @echo.
  59. @echo.
  60. @echo.
  61. @echo \\\\\\\\\\\\\\\\\\\
  62. @echo \ \
  63. @echo \ Insufficient privileges \
  64. @echo \ \
  65. @echo \ Call Cajun Wonder \
  66. @echo \ \
  67. @echo \ At \
  68. @echo \ \
  69. @echo \ 555-555-5555 \
  70. @echo \ \
  71. @echo \\\\\\\\\\\\\\\\\\\\
  72. @ping -n 4 127.0.0.1 > NUL
  73. goto quit
  74. @pause
  75. :quit
  76. @exit
  77.  
  78. cls
  79. @echo off
  80. TITLE SUPPORT UTILITIES
  81. goto menu
  82.  
  83. :menu
  84. cls
  85. @echo %username%
  86. echo.
  87. echo .....................................
  88. echo ~Written by Cajun Wonder 4/1/2010~
  89. echo .....................................
  90. echo.
  91. echo What do you want to do?
  92. echo.
  93. echo [1] Launch notepad
  94. echo.
  95.  
  96. :choice
  97. set /P C=[Option]?
  98. if "%C%"=="1" goto notepad
  99. goto choice
  100.  
  101. :notepad
  102. echo.
  103. @echo starting notepad....
  104. @ping -n 3 127.0.0.1 > NUL
  105. start notepad
  106. cls
  107. goto menu
Add Comment
Please, Sign In to add comment