View unanswered posts | View active topics It is currently 02 Aug 2014 02:33



Post new topic Reply to topic  [ 6 posts ] 
Password Cracking Challenge/Game 
Author Message

Joined: 28 Feb 2013 14:30
Posts: 3
Post Password Cracking Challenge/Game
Hello, I have made a batch file with a fairly secure password, see if you can crack it?
Code:
@echo off
setlocal enabledelayedexpansion
for /f "tokens=1" %%a in (securepassword.bat) do set pass=%%a
:getpassword
cls
echo.
echo If you can crack the password, leave your name, then try again.
echo.
set /p upass=Password:
if "%upass%"=="%pass%" goto getname
cls
echo Incorrect Password!
pause
goto getpassword
:getname
cls
echo.
set /p name=Name:
if "%name%"=="" exit
echo %name% >> securepassword.bat
exit
----------------------------------
People who have cracked the password:


EDITED: Link removed and code posted here by Squashman


Last edited by Reborn on 01 Mar 2013 12:12, edited 1 time in total.



28 Feb 2013 14:42
Profile
Expert

Joined: 30 Aug 2007 08:05
Posts: 666
Location: Germany
Post Re: Password Cracking Challenge/Game
I know the password :)

Code:
"=="" goto getname & REM 


jeb


28 Feb 2013 15:02
Profile
Expert

Joined: 06 Dec 2011 22:15
Posts: 710
Location: México City, México
Post Re: Password Cracking Challenge/Game
If the Batch file is called "securepassword.bat", then the first time the password is "People", the next time is the first name of the person that cracked the password the last time, and so on...

Antonio


28 Feb 2013 18:37
Profile

Joined: 28 Feb 2013 14:30
Posts: 3
Post Re: Password Cracking Challenge/Game
Aacini wrote:
If the Batch file is called "securepassword.bat", then the first time the password is "People", the next time is the first name of the person that cracked the password the last time, and so on...

Antonio

Nice. You got it.


01 Mar 2013 01:36
Profile
Expert

Joined: 30 Aug 2007 08:05
Posts: 666
Location: Germany
Post Re: Password Cracking Challenge/Game
Hi Reborn,

do you test my password?

It's the general key, as it uses command injection.

If you want to disable this, you need to switch to delayed expansion instead of percent expansion

jeb


01 Mar 2013 04:06
Profile

Joined: 28 Feb 2013 14:30
Posts: 3
Post Re: Password Cracking Challenge/Game
jeb wrote:
Hi Reborn,

do you test my password?

It's the general key, as it uses command injection.

If you want to disable this, you need to switch to delayed expansion instead of percent expansion

jeb

mm, thanks.


01 Mar 2013 12:13
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 


Who is online

Users browsing this forum: Google [Bot], Yahoo [Bot] and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Forum style by Vjacheslav Trushkin for Free Forums/DivisionCore.