Hack Forums
[Shell] Batch password lock? - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [Shell] Batch password lock? (/showthread.php?tid=5881566)



Batch password lock? - LuckyOnes - Sep 4, 2018

Hello all,

I have some extremely volitile and dangerous batch files on my pc and just to be safe I was wondering if there was any way I could put a password on it? I know I could search this up but wanting to see some peoples preferences.


Happy Hacking, LuckyOnes


RE: Batch password lock? - Hackoo - Sep 5, 2018

Hi  ✌
Just put them in one folder and zip it with Winrar version 5 and set a strong password !
And you will be fine  😉


RE: Batch password lock? - Sir-Teabag - Sep 5, 2018

You could just put an "exit" at the top of the script

or
if %username%==<your username> exit


RE: Batch password lock? - LuckyOnes - Sep 5, 2018

(Sep 5, 2018 03:38 AM)Sir-Teabag Wrote:  You could just put an "exit" at the top of the script

or
if %username%==<your username> exit

Thanks I’ll havw a look