AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Hacker Test (See how proficent at computers you really are.)

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  

How far can you get? (Levels on Hackertest.exe)
1
14%
 14%  [ 1 ]
2
14%
 14%  [ 1 ]
3
0%
 0%  [ 0 ]
4
14%
 14%  [ 1 ]
5
0%
 0%  [ 0 ]
6
0%
 0%  [ 0 ]
7
0%
 0%  [ 0 ]
8
57%
 57%  [ 4 ]
Total Votes : 7

Author Message
1991



Joined: 20 Jan 2006
Posts: 29
Location: Colorado, USA

PostPosted: Wed Feb 22, 2006 5:44 am    Post subject: Hacker Test (See how proficent at computers you really are.) Reply with quote

This is not meant to encourage cracking (criminal hacking).
Just to have fun with autohotkey


Code:
;BEGIN LEVEL CHECK

ifExist, C:\WINDOWS\system32\zdat.ini
{
   filereadline,encodedlvl,C:\WINDOWS\system32\zdat.ini,1
   if encodedlvl=
      level=1
   if encodedlvl=490335090
      level=2
   if encodedlvl=804900395
      level=3         ;{ALL RANDOM NUMBERS HAVE BEEN CHANGED}
   if encodedlvl=795095005
      level=4
   if encodedlvl=576449261
      level=5
   if encodedlvl=024756461
      level=6
   if encodedlvl=879345235
      level=7
   if encodedlvl=081379394
      level=8
   if level not between 1 and 8
   {
      filedelete, C:\WINDOWS\system32\zdat.ini
   }
}
else
{
   fileappend,`nDO NOT MODIFY THIS FILE!,C:\WINDOWS\system32\zdat.ini
   level=1
}

;END LEVEL CHECK

;BEGIN GUI

Gui, Add, edit, x0 y0 w100 h20 vHello +disabled, _________________
Gui, Add, text, x+3 y3 h20, Hackertest Level
Gui, Add, edit, x+3 y0 w13 h20 +disabled vlevel, %level%
Gui, Add, progress, x0 y20 w200 h20 vProg, 0
Gui, Show, xcenter y0 h40 w200, Progress

;END GUI

;BEGIN LEVEL 1

if level=1
{
   filedelete,C:\Hackertest.dat
   gosub, randomtime
   message=If you are familliar with opening files or waiting, you can probably pass level 1.
   gosub, cgmsg
   x=100
   fileappend,%random%,C:\Hackertest.dat
   loop
   {
      sleep,100
      x--
      guicontrol,,Prog, %x%
      if x=0
      {
         break
      }
   }
   filereadline,u,C:\Hackertest.dat,1
   loop
   {
      if x=100
      {
         msgbox,you have won!
         level=2
         filedelete,C:\WINDOWS\system32\zdat.ini
         fileappend,484183663`nDO NOT MODIFY THIS FILE!,C:\WINDOWS\system32\zdat.ini
         reload
         break
      }
      x++
      guicontrol,,Prog, %x%
      sleep,%u%
   }
}

;END LEVEL 1

;BEGIN LEVEL 2

if level=2
{
   filedelete,C:\Hackertest.dat
   gosub, randomtime
   message=You'll beat this level if you are quick. (or smart)
   gosub, cgmsg
   x=100
   fileappend,%random%,C:\Hackertest.dat
   loop
   {
      sleep,1
      x--
      x--
      guicontrol,,Prog, %x%
      if x=0
      {
         break
      }
   }
   filereadline,u,C:\Hackertest.dat,1
   filedelete,C:\Hackertest.dat
   loop
   {
      if x=100
      {
         msgbox,you have won!
         level=2
         filedelete,C:\WINDOWS\system32\zdat.ini
         fileappend,795924541`nDO NOT MODIFY THIS FILE!,C:\WINDOWS\system32\zdat.ini
         reload
         break
      }
      x++
      guicontrol,,Prog, %x%
      sleep,%u%
   }
}

;END LEVEL 2

;MAKE UP YOUR OWN CODE HERE!
;I DON'T WANT TO POST THE SOLUTIONS BY TELLING YOU THE CODE. SORRY.

;BEGIN GLOBALS

GuiClose:
   ExitApp
return

cgmsg:
   message=_________________%message%_________________.
   Stringlen,x,message
   time=200
   if level>=5
   {
      time=100
   }
   loop
   {
      stringright,messagesub,message,x
      guicontrol,,Hello,%messagesub%
      x--
      sleep,time
      if x=16
         break
      if level=4
      {
         if x<=50
         {
            time=50
         }
      }
   }
return

randomtime:
   if level between 1 and 2
   {
      random, random, 18, 36 ;between 30 mins and 1 hr
      random:=random*100000
   }
   if level between 3 and 4
   {
      random, random, 180, 360
      random:=random*10000   
   }
   if level between 5 and 6
   {
      random, random, 1800, 3600
      random:=random*1000
   }
   if level=7
   {
      
      random, random, 18000, 36000
      random:=random*100
   }
   if level=8
   {
      random, random, 180000, 360000
      random:=random*10
   }
return

;END GLOBALS


Drop me a line if you have completed the =EXE= version or need help.

(Link no longer available.. email me if exe is wanted for bragging rights Smile )

My email:
Code:
;(a simple attempt to stop spammers)
a=stok
b=@gma
c=es91
d=il.c
e=om
msgbox,%a%%c%%b%%d%%e%

GOOD LUCK (or programming skills in ahk)! (Ur gonna need it to get past lvl 5)


Last edited by 1991 on Fri Aug 11, 2006 10:51 pm; edited 1 time in total
Back to top
View user's profile Send private message
1991



Joined: 20 Jan 2006
Posts: 29
Location: Colorado, USA

PostPosted: Wed Feb 22, 2006 5:46 am    Post subject: location Reply with quote

(Message outdated and thus edited)

Due to tight bandwidth restrictions on my free website with f2g, The site is no longer available, and consequently the exe. If you want the exe drop me a line at
<spamproof>
s.tiolk,e!s`9|1:@ g m a i l . c o m


Last edited by 1991 on Fri Aug 11, 2006 11:19 pm; edited 1 time in total
Back to top
View user's profile Send private message
Thalon



Joined: 12 Jul 2005
Posts: 640

PostPosted: Wed Feb 22, 2006 9:52 am    Post subject: Reply with quote

Makes some fun, when I have a minute at work..
I am currently at lvl 5, but the first 4 were easy Wink

Maybe you could add a message-box if time run out?
At level 5 the progress-bar always contains some pixel on the left side and sometimes there will be some added. I am not shure why....

Edit:
I think it's solved, I will write a mail..
Edit2:
Also source is available ^^
And there is no vote for Level9?

Thalon
_________________
AHK-Icon-Changer
AHK-IRC
deutsches Forum
SacredVault
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group