Guest User

Untitled

a guest
Dec 12th, 2018
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.52 KB | None | 0 0
  1. cls
  2. @ECHO OFF
  3. title Folder Private
  4. if EXIST "HTG Locker" goto UNLOCK
  5. if NOT EXIST Private goto MDLOCKER
  6. :CONFIRM
  7. echo Are you sure you want to lock the folder(Y/N)
  8. set/p "cho=>"
  9. if %cho%==Y goto LOCK
  10. if %cho%==y goto LOCK
  11. if %cho%==n goto END
  12. if %cho%==N goto END
  13. echo Invalid choice.
  14. goto CONFIRM
  15. :LOCK
  16. ren Private "HTG Locker"
  17. attrib +h +s "HTG Locker"
  18. echo Folder locked
  19. goto End
  20. :UNLOCK
  21. @echo off & setlocal DisableDelayedExpansion
  22. set counter=4
  23. :Start
  24. if %counter% equ 0 goto :LOCKOUT
  25. Mode 50, 30 & color 0a
  26. echo Hack Cipta oleh XXX
  27. echo
  28. echo Masukan Username dan Password anda
  29. set /p input= Username:
  30.  
  31. set "psCommand=powershell -Command "$pword = read-host 'Enter password' -AsSecureString ; ^
  32. $BSTR=[System.Runtime.InteropServices.Marshal]::SecureStringToBSTR($pword); ^
  33. [System.Runtime.InteropServices.Marshal]::PtrToStringAuto($BSTR)""
  34. for /f "usebackq delims=" %%p in (`%psCommand%`) do set password=%%p
  35. )
  36.  
  37. if %input%==admin (
  38. if %password%==password goto :Success
  39. )
  40. goto :FAIL
  41. attrib -h -s "HTG Locker"
  42. ren "HTG Locker" Private
  43. echo Folder Unlocked successfully
  44. goto End
  45. :LOCKOUT
  46. echo ACCOUNT LOCKED OUT TIMEOUT IN 80000
  47. timeout /t 80000
  48. goto :Start
  49. :FAIL
  50. echo.
  51. set /a counter -=1
  52. echo.
  53. @echo on
  54. @echo off
  55. color 0c
  56. echo USERNAME DAN PASSWORD ANDA SALAH
  57. echo.
  58. if %counter% lss 4 echo Masih terdapat %counter% kesempatan lagi
  59. pause
  60. goto :Start
  61. :Success
  62. Echo Username dan Password anda benar
  63. color 0a
  64. pause
  65. :MDLOCKER
  66. md Private
  67. echo Private created successfully
  68. goto End
  69. :End
Add Comment
Please, Sign In to add comment