Web - Client

Friday 9 December 2016, 12:00  #1
Javascript - Obfuscation 3
Kationa
  • 6 posts

Pls someone help me
So I have that function there and I don’t know what to do

It seems like its actions don’t depend on the input and it always returns the string it has inside
o = tab[i-l];p += String.fromCharCode((o = tab2[i])); //tab2 is an array of charcodes for "faux password haha"
so, as I understand, it always puts that string in p, no matter what I enter
and then it returns it

Then there is a string under the function that actually goes nowhere
I’ve unescaped it
It doesn’t validate

That’s it and i completely don’t understand what i’m supposed to do next

Tuesday 20 December 2016, 08:23  #2
Javascript - Obfuscation 3
Kationa
  • 6 posts

Whoops I solved it.
Strange thing is that what i’ve done didn’ work that time. (lol what a loser am i)
If anyone is having similar trouble - don’t panic and check everything twice.

Tuesday 17 January 2017, 09:20  #3
Javascript - Obfuscation 3
saltthehash
  • 7 posts

Im stuck with the same issue, any insight? Do you need to actually edit the function to behave differently/correctly?

Wednesday 18 January 2017, 12:56  #4
Javascript - Obfuscation 3
Kationa
  • 6 posts

That may be a way to do it, but i’ve done it manually.
Didn’t think of fixing a function when i had some mysterious string encrypted by obvious method.

Saturday 25 March 2017, 09:21  #5
Javascript - Obfuscation 3
andy
  • 2 posts

I am freshman and struct in here. who can give me some advices?

Saturday 25 March 2017, 11:04  #6
Javascript - Obfuscation 3
andy
  • 2 posts

the problem has sovled. the result is not depend on p. you need twice decode the string you get.

Sunday 30 July 2017, 22:20  #7
Javascript - Obfuscation 3
oti
oti
  • 1 posts

I have a question: if you modify the function to get the correct string and then see the output why it is not valid? Why the output from the function even with the valid string is not valid?