问题
I am trying to figure out where the answers to this online quiz website are stored. The online quiz requires an internet connection to begin the quiz but whilst doing the quiz you do not need an internet connection which makes me think that it is possible to find the answers using a tool like inspect element. Would I be right in saying this
Below is an example of me attempting a quiz on the website. As you can see, the quiz still evaluates my answer even when my internet connection is off.
https://videos2.sendvid.com/c1/27/rdsiuun7.mp4?validfrom=1553421922&validto=1553429122&rate=200k&burst=1000k&hash=9t12UZ4mR/9zO7wQ7flGaSkPHi8%3D
I've had a look into the HTML but I couldn't find anything that hinted to the correct answer. The link to the HTML is in the pastebin below. You can use CTRL + F and search words from the questions in the video above to get to that specific bit of HTML.
https://pastebin.com/QvePAYdA
I've also had a look at some of the main java script
. I've been looking for so long yet I haven't found anything. I'm doubting if its even possible. The pastebin of a snippet of the javascript is also below. I'm not sure if it's even useful.
https://hastebin.com/ukikonuroz.js
If any other information is required, please request what you need to help.
Thank you in advance for trying to help, I acknowledge that I haven't given you too much to work with but if you could say whether it is possible or not would be appreciated too
回答1:
The questions / answers have to arrive at your browser in some way. There are two possible ways: They are included in the page itself, or they are loaded asynchronously via background requests. Either way, you can open the debugger and view all the requests the browser was doing and also look at its content.
来源:https://stackoverflow.com/questions/55323478/how-would-i-find-the-answer-to-this-quiz-using-inspect-element