Thread subject: Security Override :: JavaScript 5

Posted by chronic12 on 03/01/2010 08:09:39
#1

I have done my maths but no congrats not sure whats wrong as it seems straight forward or is it?

Edited by Teddy on 12/19/2013 05:59:40

Posted by Override on 03/01/2010 09:40:04
#2

Its is straight forward i found the essayist way was to just cut and and past the the code and replace the "if" with an alert and there you have you password.

Posted by chronic12 on 03/03/2010 19:07:36
#3

I have tried that but it shows no output

Posted by madf0x on 03/04/2010 13:29:24
#4

Then you have not set it up right. Personally i just stuck through all the math to figure it out. Modulus gave me a headache for awhile cause apparently calculators like to process that differently then others want to. But altering the javascript to output the answer is a far better idea and shouldnt be too hard as long as you keep all the math the same.

Posted by High Defintion on 03/05/2010 01:36:45
#5

I think firebug will give you answer straight away if you know where you have to look...I guess I completed it that only..

Posted by chronic12 on 03/09/2010 17:31:04
#6

I have tried this via java and calculator but all my results are wrong I have worked out the r******** and added the pass 5 number but no congrats.

Edited by Qwexotic on 03/09/2010 17:34:15

Posted by Qwexotic on 03/09/2010 17:41:54
#7

chronic12 wrote:
I have tried this via java and calculator but all my results are wrong I have worked out the r******** and added the pass 5 number but no congrats.

Then you've figured out the hardest part of the challenge already.

Now make sure that you know the difference between:

Code
123 + 456



and

Code
'123' + '456'



Yes, there is a difference - and a very important one, and that might be what you're struggling with right now...

Posted by chronic12 on 03/09/2010 17:45:50
#8

arrrr ok thanks for that

Posted by chronic12 on 03/09/2010 18:15:29
#9

Thanks Qwexotic I have found out what the ' ' mean and solved it manually so I learned a little more cheers!

Posted by Qwexotic on 03/09/2010 18:37:34
#10

chronic12 wrote:
Thanks Qwexotic I have found out what the ' ' mean and solved it manually so I learned a little more cheers!

Yes, it's quite important, and can be very helpful. For example, it was extremely helpful when coding a solver for the logic challenge. :)

Posted by ArticuloMortis on 07/16/2010 05:43:02
#11

I am having a lot of trouble searching for the explanation of the differences between numbers with and without the apostrophes.

Could someone please link me to an article of shoot me a pm about it?

Thanks.

Posted by Null Set on 07/16/2010 06:30:40
#12

ArticuloMortis wrote:
I am having a lot of trouble searching for the explanation of the differences between numbers with and without the apostrophes.

Could someone please link me to an article of shoot me a pm about it?

Thanks.


Click Here

Enjoy!

Posted by AYESEYEF on 01/11/2011 20:27:50
#13

madf0x wrote:
Then you have not set it up right. Personally i just stuck through all the math to figure it out. Modulus gave me a headache for awhile cause apparently calculators like to process that differently then others want to. But altering the javascript to output the answer is a far better idea and shouldnt be too hard as long as you keep all the math the same.

Posted by AYESEYEF on 01/11/2011 20:29:06
#14

AYESEYEF wrote:
madf0x wrote:
Then you have not set it up right. Personally i just stuck through all the math to figure it out. Modulus gave me a headache for awhile cause apparently calculators like to process that differently then others want to. But altering the javascript to output the answer is a far better idea and shouldnt be too hard as long as you keep all the math the same.




Thanks a lot Mr Fox.

Posted by madf0x on 01/11/2011 20:42:50
#15

No problem.

Must say I find it funny how "Mr. Fox" is slowly becoming the nickname for my nickname :P

Posted by ieles on 11/11/2011 03:53:55
#16

Qwexotic wrote:
chronic12 wrote:
I have tried this via java and calculator but all my results are wrong I have worked out the r******** and added the pass 5 number but no congrats.

Then you've figured out the hardest part of the challenge already.

Now make sure that you know the difference between:

Code
123 + 456



and

Code
'123' + '456'



Yes, there is a difference - and a very important one, and that might be what you're struggling with right now...


Thank u for ur help, but I am so confused by the response page. It always said I was cheating. So why? Plz who can tell me??

Posted by Guest on 11/19/2011 05:37:36
#17

Do you have your referer disabled? That was causing some problems for me, and I got lots of cheating-reports.

By the way, can we edit the topic of this thread? It has nothing to do with Java, we don't even have Java challenges.

Posted by hntoken044 on 07/26/2012 10:11:39
#18

I have tried to edit via Firebug, but pages doesn't get loaded completely which disables Firebug to display the code. And I have tried copying source of page and edit the code and load it back. This time it said "File could not be found at 17****.php". Could you please help me out. I can sense that I'm missing something, but couldn't realize what I'm missing

Posted by jaatrox on 02/28/2013 12:21:24
#19

i have just copied the source code :D:@and pasted it in the chrome web console and get an instant result:):|

Posted by phss on 12/06/2013 10:49:43
#20

hey,

i know this is an old thread but i am kind of stucked by solving this.

i did the first 4 challenges quite fast but now iam curious about the ' '.
I tried the link above to read about what ' ' is doing to the numbers in the source code but this link is broke.
i although tried to google but its hard to find. does anyone have a link for me where i can read about the effection of this signs to the numbers?

Tanks guys

Edited by phss on 12/06/2013 10:50:30

Posted by Teddy on 12/19/2013 06:03:13
#21

Look the Javascript calculates the password. I think you got that.
In the calculation you have no variable which is random or depends on user input. So you could simply calculate the result once and replace the algorithm with the result.

So why you do not run the alg localy and check the result ?