1.

Solve : pasword protection?

Answer» <html><body><p>Hi to all. <br/><br/>I am kinda a biginer, and i am error prone with the writing of batch files. <br/>I have written a program that is sopposed to open a <a href="https://interviewquestions.tuteehub.com/tag/hidden-2109891" style="font-weight:bold;" target="_blank" title="Click to know more about HIDDEN">HIDDEN</a> folder, on my usb memory device I made it work once, but i accidentally erased a part of it, but it worked before i erased.<br/><br/>The file goes <a href="https://interviewquestions.tuteehub.com/tag/like-537196" style="font-weight:bold;" target="_blank" title="Click to know more about LIKE">LIKE</a> this...<br/><br/>echo off<br/>color 0c<br/>title lOGIN<br/><br/><br/><br/>echo             000PASSWORD0  000<br/>echo           00000000000000   0000<br/>echo         00000000000000000   0000000<br/>echo          0000000000000000000   0000000000<br/>echo        000000000000000000000    0000000000<br/>echo       00000000000000000000000   00000000htp0<br/>echo      000000000000000000          0000000htp00<br/>echo       0000000000000000000          0000HTP000000<br/>echo      0000000000000000000            000HTP0000000<br/>echo    0000000000000000000            000000HTP0000<br/>echo   00000000000000000000           0000000HTP0000<br/>echo   000000000  000 000000     0000  00000000000000<br/>echo  0000000000  <a href="https://interviewquestions.tuteehub.com/tag/00-254995" style="font-weight:bold;" target="_blank" title="Click to know more about 00">00</a>   00000      00000000000000000000<br/>echo  000000000        00000       0000000000000000000<br/>echo  000000000         00000       0000000000 0000000<br/>echo  000000000         00000           00000  0000000<br/>echo  000000000000     000000                  0000000<br/>echo  000000000000      00000                00000000<br/>echo  000000000000       000                0000000000<br/>echo   00000000000                         0000000000<br/>echo    000000                            00000000000<br/>echo    0000000                               000000<br/>echo     0000000                            0000000<br/>echo      00000000                         00000000<br/>echo       00000000                   00000000000<br/>echo        0000000000000         00000000000000<br/>echo          000all_files_will_be_deleted0000<br/>echo            0after_3_incorect attempts00<br/>echo               0000000WILLBURN000000<br/><br/><br/>echo Welcome, zERoBurN<br/>echo Continue?<br/>pause<br/><br/>cls<br/>echo sensitive information<br/>ECHO pasword <a href="https://interviewquestions.tuteehub.com/tag/required-1185621" style="font-weight:bold;" target="_blank" title="Click to know more about REQUIRED">REQUIRED</a><br/><br/>:password<br/>set input= password =<br/>set/p input=password (input then press enter):<br/>if %input%==willburnyou goto YES<br/>if not %input%==willburn goto NO<br/><br/>:YES<br/>start "allinfo"<br/>exit<br/><br/><br/>:no<br/><br/>echo incorrect password....<br/>pause<br/><br/>cls<br/>echo sensitive information<br/>ECHO pasword required<br/><br/>:password<br/>set input= password =<br/>set/p input=password (input then press enter):<br/>if %input%==willburnyou goto YES<br/>if not %input%==willburn goto next1<br/><br/><br/>next1<br/>echo incorrect password....<br/>pause<br/><br/>cls<br/>echo sensitive information<br/>ECHO pasword required<br/><br/>:password<br/>set input= password =<br/>set/p input=password (input then press enter):<br/>if %input%==willburnyou goto YES<br/>if not %input%==willburn goto next2<br/><br/>:next2<br/>echo incorect password<br/><br/>pause<br/><br/><br/>echo you have been terminated<br/>echo This file and all subfoders are now deleted<br/>del allinfo\access.bat<br/>shutdown -i<br/>pause<br/><br/><br/><br/>I was also having trouble with getting it to shutdown. any help would be nice, or anything you think i should add. the reason for the no directory name is that computers change the name of the directory a lot, so i want it universal, this feature worked before. <br/><br/>and the immage at the biggining looks deformed, but that is the diference between notepad and this.\<br/><br/>Thanks for all the helpalso, to add, i am on a vista system right now, but i primarily use xp. I still want it universal for any windows computer<br/>thankstry This<br/> <a href="https://interviewquestions.tuteehub.com/tag/code-25512" style="font-weight:bold;" target="_blank" title="Click to know more about CODE">CODE</a>: <a>[Select]</a>echo off<br/>color 0c<br/>title lOGIN<br/>cd..<br/><br/><br/><br/>echo             000PASSWORD0  000<br/>echo           00000000000000   0000<br/>echo         00000000000000000   0000000<br/>echo          0000000000000000000   0000000000<br/>echo        000000000000000000000    0000000000<br/>echo       00000000000000000000000   00000000htp0<br/>echo      000000000000000000          0000000htp00<br/>echo       0000000000000000000          0000HTP000000<br/>echo      0000000000000000000            000HTP0000000<br/>echo    0000000000000000000            000000HTP0000<br/>echo   00000000000000000000           0000000HTP0000<br/>echo   000000000  000 000000     0000  00000000000000<br/>echo  0000000000  00   00000      00000000000000000000<br/>echo  000000000        00000       0000000000000000000<br/>echo  000000000         00000       0000000000 0000000<br/>echo  000000000         00000           00000  0000000<br/>echo  000000000000     000000                  0000000<br/>echo  000000000000      00000                00000000<br/>echo  000000000000       000                0000000000<br/>echo   00000000000                         0000000000<br/>echo    000000                            00000000000<br/>echo    0000000                               000000<br/>echo     0000000                            0000000<br/>echo      00000000                         00000000<br/>echo       00000000                   00000000000<br/>echo        0000000000000         00000000000000<br/>echo          000all_files_will_be_deleted0000<br/>echo            0after_3_incorect attempts00<br/>echo               0000000WILLBURN000000<br/><br/><br/>echo Welcome, zERoBurN<br/>echo Continue?<br/>pause<br/><br/>cls<br/>echo sensitive information<br/>ECHO pasword required<br/><br/>:password<br/>set input= password =<br/>set/p input=password (input then press enter):<br/>if %input%==willburnyou goto YES<br/>if not %input%==willburn goto NO<br/><br/>:YES<br/>start "allinfo"<br/>exit<br/><br/><br/>:no<br/><br/>echo incorrect password....<br/>pause<br/><br/>cls<br/>echo sensitive information<br/>ECHO pasword required<br/><br/>:password<br/>set input= password =<br/>set/p input=password (input then press enter):<br/>if %input%==willburnyou goto YES<br/>if not %input%==willburn goto next1<br/>goto YES<br/><br/><br/>:next1<br/>echo incorrect password....<br/>pause<br/><br/>cls<br/>echo sensitive information<br/>ECHO pasword required<br/><br/>:password<br/>set input= password =<br/>set/p input=password (input then press enter):<br/>if %input%==willburnyou goto YES<br/>if not %input%==willburn goto next2<br/>goto YES<br/><br/>:next2<br/>echo incorect password<br/><br/>pause<br/><br/><br/>echo you have been terminated<br/>echo This file and all subfoders are now deleted<br/>del allinfo\access.bat<br/>shutdown -s<br/>pause<br/></p></body></html>


Discussion

No Comment Found