[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
cls @ECHO OFF title Folder Private if EXIST "HTG Locker"
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 11
Thread images: 2
File: Mars.jpg (1 MB, 3840x2400) Image search: [Google]
Mars.jpg
1 MB, 3840x2400
cls
@ECHO OFF
title Folder Private
if EXIST "HTG Locker" goto UNLOCK
if NOT EXIST Private goto MDLOCKER
:CONFIRM
echo Are you sure you want to lock the folder(Y/N)
set/p "cho=>"
if %cho%==Y goto LOCK
if %cho%==y goto LOCK
if %cho%==n goto END
if %cho%==N goto END
echo Invalid choice.
goto CONFIRM
:LOCK
ren Private "HTG Locker"
attrib +h +s "HTG Locker"
echo Folder locked
goto End
:UNLOCK
echo Enter password to unlock folder
set/p "pass=>"
if NOT %pass%== PASSWORD_GOES_HERE goto FAIL
attrib -h -s "HTG Locker"
ren "HTG Locker" Private
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Private
echo Private created successfully
goto End
:End

Ok so this is a .bat script that makes a password protected folder, the downside of this is that anybody can edit the script to get your password for the folder.
If the BAT is converted to an EXE is it anymore safer? As far as I know they can't get the password.
>>
can you do that? just convert a bath tile to an exe?
>>
>>55278969
Yea man you can
http://www.f2ko.de/en/b2e.php

You can also do VBS to EXE
http://www.f2ko.de/en/v2e.php

It's pretty cool. I am just curious if making it an EXE would protect the password.
>>
>>55278870
Did you try turning it off and back on again?
>>
>>55279009
Haha no I haven't you aussie shit poster.
>>
oh dear anon
setting attributes doesnt protect anything
use ntfs acl's
>>
>>55279045
Yea sorry man, I just started to learn. How would I do that? Are there anyways to make this script better as well?
>>
File: 1464380888522.jpg (317 KB, 1920x1280) Image search: [Google]
1464380888522.jpg
317 KB, 1920x1280
Bump
>>
>>55278870
You're not doing shit with this scipt. Giving a folder hidden and system attributes doesn't magically lock it.
>>
You do realize there are actual encryption solutions to protect your illegal porn, right, OP?
>>
>>55278988
No, it would be piss easy to reverse engineer if someone wanted to.
Thread replies: 11
Thread images: 2

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.