Java Script Kiddie 2
Last updated
Was this helpful?
Last updated
Was this helpful?
The image link appears broken... twice as badly... or
Webpage source code:
Run $.get("bytes", function(resp) {bytes = Array.from(resp.split(" "), x => Number(x));});
from the source code in developer console to get list of bytes:
This website is similar to the first "Java Script Kiddie" except for this line: shifter = Number(key.slice((i*2),(i*2)+1));
. This effectively ignores every second value in the key. Since var LEN = 16
is the same, the script for the previous challenge can be used again but with a random value (I chose 0
) added between character.
Run . For each character of the key, this script will try all digits until one is found that places the expected value in the current location. It also adds padding (0
) after each digit found.
Output:
Enter key into website and save image:
Use zbar
(sudo apt install zbar-tools
): zbarimg index.png
and get the flag:
picoCTF{b19be0d3b70ffc63b6367ecf136e853e}