Exaphis / HackQ-Trivia

Yet another HQ Trivia bot. Automatically scrapes HQ Trivia questions without OCR and answers them.
MIT License
89 stars 54 forks source link

How do i get my bearer token? #127

Closed ghost closed 5 years ago

ghost commented 6 years ago

I use an iPhone and it seems the lot of you use Android, no one has provided a solution for iOS. I'm not sure how to get a bearer token, i installed Charles Proxy but have not the slightest idea on how to use it. Does this involve on having a rooted device as well? If so is it possible to get a bearer token on an unrooted iPhone? This seems to be the only issue i'm having.

d33pfri3d commented 6 years ago

You dont need to have root access to be able to use Charles proxy on the iphone. You just need to know the IP address of the machine which is running it.

When Charles is running you can go to your Wifi settings on your phone and set up a manual proxy. Enter the machines IP address and the port is usually 8888.

You should be set to go from there

ghost commented 6 years ago

Okay what do i do now? In charles?

ghost commented 6 years ago

I don’t see a bearer token anywhere in Charles proxy, neither a user ID.

d33pfri3d commented 6 years ago

You don't need a UserID anymore, just the bearer token.

Can you see the traffic coming through Charles?

iceeb commented 6 years ago

@shaun1x I have used charles and cannot find bearer token, anyway to reach u faster (discord, whatsapp, telegram)?

bzhu9 commented 6 years ago

just use this one bearer=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOjkxOTM4NzYsInVzZXJuYW1lIjoicG90YXRvMjUyIiwiYXZhdGFyVXJsIjoiczM6Ly9oeXBlc3BhY2UtcXVpei9kZWZhdWx0X2F2YXRhcnMvVW50aXRsZWQtMV8wMDAzX3JlZC5wbmciLCJ0b2tlbiI6Ik02VURIaCIsInJvbGVzIjpbXSwiY2xpZW50IjoiIiwiZ3Vlc3RJZCI6bnVsbCwidiI6MSwiaWF0IjoxNTIzNDc1MjUyLCJleHAiOjE1MzEyNTEyNTIsImlzcyI6Imh5cGVxdWl6LzEifQ.xAfoFWg_LQy8xSL_meaOHm5YjWFLdh8yZusPVYKX_S4