Vcoderz Community
We create websites that have it all, beauty & brains
Lebanon Web Design & Development - Coddict
 

Go Back   Vcoderz Community > Computer Zone > Computers & Information Technologies > E-Learning Center

Notices

E-Learning Center E-Learning tutorials and competitions.

Reply
 
Share Thread Tools Search this Thread
Old 06-08-2008   #11
Moophz
Registered Member
 
Moophz's Avatar
 
Last Online: 09-05-2008
Join Date: Mar 2007
Posts: 15
Thanks: 0
Thanked 2 Times in 1 Post
Groans: 0
Groaned at 0 Times in 0 Posts
Default Re: Hacking Password 1

Mission Accomplished \m/


__________________
We Do Not Worry About Warnings, We Only Care About Errors.
Moophz is offline   Reply With Quote
Old 06-08-2008   #12
Google

 
Google's Avatar
 
Last Online: 05-30-2013
Join Date: Jan 2008
Posts: 1,788
Thanks: 10,018
Thanked 1,100 Times in 651 Posts
Groans: 1
Groaned at 6 Times in 6 Posts
Default Re: Hacking Password 1

Only Tinman, Kingroudy, ZeRaW, tots and Moophz solved this challenge...
Good work guys...
Google is offline   Reply With Quote
Old 06-08-2008   #13
Rami_s
Community Moderator
 
Rami_s's Avatar
 
Last Online: 05-07-2013
Join Date: Jan 2006
Posts: 6,895
Thanks: 770
Thanked 4,271 Times in 2,417 Posts
Groans: 0
Groaned at 17 Times in 8 Posts
Default Re: Hacking Password 1

Done
Rami_s is offline   Reply With Quote
The Following User Says Thank You to Rami_s For This Useful Post:
Kingroudy (06-08-2008)
Old 06-09-2008   #14
Google

 
Google's Avatar
 
Last Online: 05-30-2013
Join Date: Jan 2008
Posts: 1,788
Thanks: 10,018
Thanked 1,100 Times in 651 Posts
Groans: 1
Groaned at 6 Times in 6 Posts
Default Re: Hacking Password 1

Hello everybody I'm going to mention the names of the persons who solved this challenge and post the solution...

Tinman, Kingroudy, ZeRaW, tots, Moophz, wewe and Rami_s solved this challenge...
Only 7 persons... not so bad ...


The solution is:

-Do a right-click on the challenge link (Enter the challenge!) and save the link as xxx.txt for example so you can easily see
the source code of the page...

-we notice that the page is encrypted and the code is like %3c%68%74%6d%6c%3e so we understand that these numbers are in hexadecimal and the % makes us sure that it is an URL encryption, therefore we need an URL decoder... there are many on the net...
ex: http://www.yellowpipe.com/yis/tools/encrypter/index.php

-after we decrypt the code we see this:
./qwerty/mlpzaqowksie.js
This is the path of the javascript code that that loads and ask us for the password...

-So we type the following path in the browser:
http://uobroom.freehostia.com/hack1/...lpzaqowksie.js
A javascript code appears, we have to analyse this code...
year = date.getYear();

The function getYear() gives us the year, but be careful, it is an old function...
we all know that before the year 2000 the systems of timing used two digits to represent the year, for example the year 1998 is represented by 98...
so the function getYear() will give us 108 since we are in 2008...
Adding 12, the answer will be 120...

Note:
getFullYear() is the new function used today instead of getYear() ...
Google is offline   Reply With Quote
The Following User Says Thank You to Google For This Useful Post:
The Queen (06-09-2008)
Old 06-09-2008   #15
significant
Registered Member
 
significant's Avatar
 
Last Online: 09-03-2008
Join Date: May 2008
Posts: 12
Thanks: 2
Thanked 5 Times in 4 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Default Re: Hacking Password 1

very interesting man
guessing the password part was a nightmare
i tried to google for that function and it took me time to know that getYear will return the value 108
by the way , u can do another method to know the pass , you can copy the javascript file into notepad and do it as html page , and add to the script a command to output the value of the pass
since the variable that contains the pass in the js file is "b" , all you have to do is add a function that outputs the value of "b" in case a bad password input and you'll know the pass without having to analyse what is the output of the fuction getYear
i thought that since i will not choose this major next year i will suck at it , now i know eno msh ejbareh , u can learn very interesting stuff here
waiting for your new challenges mr octal username
significant is offline   Reply With Quote
Old 06-09-2008   #16
Google

 
Google's Avatar
 
Last Online: 05-30-2013
Join Date: Jan 2008
Posts: 1,788
Thanks: 10,018
Thanked 1,100 Times in 651 Posts
Groans: 1
Groaned at 6 Times in 6 Posts
Default Re: Hacking Password 1

Quote:
Originally Posted by significant View Post
very interesting man
guessing the password part was a nightmare
i tried to google for that function and it took me time to know that getYear will return the value 108
by the way , u can do another method to know the pass , you can copy the javascript file into notepad and do it as html page , and add to the script a command to output the value of the pass
since the variable that contains the pass in the js file is "b" , all you have to do is add a function that outputs the value of "b" in case a bad password input and you'll know the pass without having to analyse what is the output of the fuction getYear
i thought that since i will not choose this major next year i will suck at it , now i know eno msh ejbareh , u can learn very interesting stuff here
waiting for your new challenges mr octal username

First of all I'm not mr Octal... I'm mr Hexadecimal
The method you posted, is a good way to know what is the output of getYear() as a beginner...

ex:
paste this code in notepad and save it as xxx.html

Code:
<script language="javascript">
date = new Date();
document.write(date.getYear());
</script>
Google is offline   Reply With Quote
Old 10-30-2008   #17
Sheriff Ice
info@sync.com.lb
 
Sheriff Ice's Avatar
 
Last Online: 06-05-2018
Join Date: Apr 2006
Posts: 3,827
Thanks: 1,348
Thanked 2,391 Times in 1,306 Posts
Groans: 0
Groaned at 16 Times in 15 Posts
Default Re: Hacking Password 1

U already said that getyear() will output the date on the old system ( 1999 - 99 ---- 2008 - 108) but i have noticed that this has been change
and
getYear() returns the full year it will return 2008 its similar to getFullYear()

just wanted to add that
__________________
http://www.gamync.com Lebanese Produced Mobiles Games by http://www.sync.com.lb
Sheriff Ice is offline   Reply With Quote
Old 10-30-2008   #18
Google

 
Google's Avatar
 
Last Online: 05-30-2013
Join Date: Jan 2008
Posts: 1,788
Thanks: 10,018
Thanked 1,100 Times in 651 Posts
Groans: 1
Groaned at 6 Times in 6 Posts
Default Re: Hacking Password 1

If you use Firefox you will get 108 as result of getYear()
If you use a new IE i think, you will get 2008 as result...
IE does an auto correction or auto replacement of the method by the new one...
But getYear() still exists!...
Google is offline   Reply With Quote
The Following User Says Thank You to Google For This Useful Post:
Sheriff Ice (10-30-2008)
Old 10-31-2008   #19
Sheriff Ice
info@sync.com.lb
 
Sheriff Ice's Avatar
 
Last Online: 06-05-2018
Join Date: Apr 2006
Posts: 3,827
Thanks: 1,348
Thanked 2,391 Times in 1,306 Posts
Groans: 0
Groaned at 16 Times in 15 Posts
Default Re: Hacking Password 1

Quote:
Originally Posted by Edgard Chammas View Post
If you use Firefox you will get 108 as result of getYear()
If you use a new IE i think, you will get 2008 as result...
IE does an auto correction or auto replacement of the method by the new one...
But getYear() still exists!...
Yeah, i noticed that i tried it on the two browers

I did the test at the begining on IE thats why i got 2008
__________________
http://www.gamync.com Lebanese Produced Mobiles Games by http://www.sync.com.lb
Sheriff Ice is offline   Reply With Quote
Reply

  Vcoderz Community > Computer Zone > Computers & Information Technologies > E-Learning Center

Tags
hacking, password



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:09 AM.


Lebanon web design and development
Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Share