Objective 10: Defeat Fingerprint Sensor
Bypass the Santavator fingerprint sensor. Enter Santa's office without Santa's fingerprint.
TL;DR - Answer
There may be a way to bypass the Santavator S4 game with the browser console...
This objective must be completed as yourself.
After powering all three lights in the Santavator, we can explore how to bypass the fingerprint scanner. Place the cover back on the panel, and the light for Santa's office should be lit. Selecting 3 opens the fingerprint scanner. In most browsers right-clicking on the fingerprint scanner gives the option to "Inspect" the object. This will open the browser's development tools, and show the fingerprint scanner in the page DOM. From here you can view the Event Listeners that are registered for the object - in Chrome this list is in the "Event Listeners" tab. For the fingerprint scanner there are two listeners registered for the
app.js, line 353.
348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380
We see that the listener checks that the button is powered (check) and calls the
hasToken function with the string
besanta. The function
hasToken is fairly simple: it checks if the
tokens array contains the string it is was passed as an argument.
const hasToken = name => tokens.indexOf(name) !== -1;
tokensarray. In the Dev console execute
tokens.push("besanta"). When you click the fingerprint scanner, you will visit Santa's office as yourself!
tokens.push("besanta") in the Dev console of your browser, then click fingerprint scanner