reteps / quizizz-bot

quizizz bot!
24 stars 35 forks source link

QuizID now hashed and created by a javascript file #1

Closed LostQuasar closed 5 years ago

LostQuasar commented 5 years ago

I've looked through it and it's not working I've also updated some of the classes on the buttons.

reteps commented 5 years ago

huh. can you give me a quizizz link to test?

LostQuasar commented 5 years ago

https://quizizz.com/join-game ID:688944

reteps commented 5 years ago

what is the quizizz name so i can look it up?

LostQuasar commented 5 years ago

https://quizizz.com/admin/quiz/5c18ca88ba6a61001abc9139/merry-christmas-math sorry

LostQuasar commented 5 years ago

Here are 3 different IDs ive collected they seem to start and end with the same characters quizIDs.txt

LostQuasar commented 5 years ago

Now with actual IDs to help decode!!! quizIDs.txt Adding this to my fork too

Skyluro commented 5 years ago

hey guys I don't know much python and web coding, however, if you look at the network section of the inspect element tab you will see a piece of data which has the gameID. It's called "recommend?quizid=" (quizid after = ). All you have to do is log the network traffic before and after the "Enter Game" button is clicked. I don't know if it is possible to log that or if google is decrypting it but, I hope it helps. (plz no hate)

Skyluro commented 5 years ago

figured out parsing with some of the most sloppy coding(lul). Either way, it works, gonna try and put it into ur bot and clean it up. The script for GameID is linked below

getQuizID.txt

LostQuasar commented 5 years ago

@Skyluro Reteps timings are off, try my fork's code it worked before just couldn't find the quizID

reteps commented 5 years ago

It may be better to rely on waiting for elements to appear or page load rather than arbitrary timings.

On Mon, Apr 8, 2019 at 8:45 AM Spaceman notifications@github.com wrote:

@Skyluro https://github.com/Skyluro Reteps timings are off, try my fork's code it worked before just couldn't find the quizID

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/reteps/quizizz-bot/issues/1#issuecomment-480816601, or mute the thread https://github.com/notifications/unsubscribe-auth/ANOg9-_i4cG2miQcHnIbakJKsiDENS4Lks5vezn3gaJpZM4Zo4qo .

LostQuasar commented 5 years ago

Yea I think that makes more sense, also I don't see a point in adding a GUI. Timings seem to be the only issue right now

reteps commented 5 years ago

I don’t know, a JavaScript based concept may let non-coders use the program.

On Mon, Apr 8, 2019 at 8:50 AM Spaceman notifications@github.com wrote:

Yea I think that makes more sense, also I don't see a point in adding a GUI

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/reteps/quizizz-bot/issues/1#issuecomment-480817996, or mute the thread https://github.com/notifications/unsubscribe-auth/ANOg97Bh4RX845tOVaT3yn7EaG7dztXIks5vezr8gaJpZM4Zo4qo .

Skyluro commented 5 years ago

Yea I am working on it, I did it over the weekend so not everything is perfect. Unfortunately, I know little javascript and just started python so it may take a bit of time. Thanks for the suggestions I'll look into them over my spring break next week.

reteps commented 5 years ago

Great work. If you can manage to find the ID without an instance of chrome running, I will really be impressed!

Skyluro commented 5 years ago

Should be possible by using just the one for the game and not the other since it just logs network data while connecting to the game. Should just be some easy re-organization. Might see if I can do it tonight

Sent with GitHawk

Skyluro commented 5 years ago

Ok, got it working w/ just the game window. Will work on the timing later.

Skyluro commented 5 years ago

Timing should be much better now

Sent with GitHawk

LostQuasar commented 5 years ago

Works like a charm. maybe consider adding a random delay to make it less obvious. maybe even an option to get one or two wrong

LostQuasar commented 5 years ago

Issue resolved?