iUseYahoo
Level 3: Gumshoe

What can I do about request HTToken?

Following up on my last post, had it working with a keyboard and mouse controller but no point of doing that when I can just use my hand.. 

The HTToken changes each action (dynamic), without that you cannot open ports, change DNS etc. Does anyone here know what makes the HTToken and what I can do to generate a token or anything?

Was this helpful?

  • Yes it was, thank you
  • No, I still need help
10 REPLIES 10
Jupiter
Level 25: The Singularity
Level 25: The Singularity

Re: What can I do about request HTToken?

You can't generate the httoken, you need to read the value each time, store it as a string variable and then use that variable in your code to post the action.

Never be afraid to back yourself when trying new things, just always make sure you have 3 escape routes if things go wrong.
iUseYahoo
Level 3: Gumshoe

Re: What can I do about request HTToken?

Any idea on how to do so?

Jupiter
Level 25: The Singularity
Level 25: The Singularity

Re: What can I do about request HTToken?

I'm rather rusty, and don't have access to a Telstra modem to try it, but if you use an re.search function to get the httoken variable (eg. httoken1_search = re.search(search parameters) ) and then convert it using 

authenticity_token1 = base64.b64decode(httoken1_search.group(1))

 

You would then insert it into your payload as 

"httoken": authenticity_token1

 

Of course, that all depends on how much the Telstra firmware has been customised from standard.

Never be afraid to back yourself when trying new things, just always make sure you have 3 escape routes if things go wrong.
iUseYahoo
Level 3: Gumshoe

Re: What can I do about request HTToken?

I'll see if I can get that to work.

iUseYahoo
Level 3: Gumshoe

Re: What can I do about request HTToken?

Do you have any idea what the search parameter would be?

iUseYahoo
Level 3: Gumshoe

Re: What can I do about request HTToken?

And "re." is not defined...

Jupiter
Level 25: The Singularity
Level 25: The Singularity

Re: What can I do about request HTToken?

You need to enter the command

 

import re

 

into the compiler before you can use the re (Regular Expression) commands

 

see Regular Expression HOWTO — Python 3.9.7 documentation for further information

Never be afraid to back yourself when trying new things, just always make sure you have 3 escape routes if things go wrong.
iUseYahoo
Level 3: Gumshoe

Re: What can I do about request HTToken?

Alright i'll give it a shot.

iUseYahoo
Level 3: Gumshoe

Re: What can I do about request HTToken?

Having an issue with the code. 

 

iUseYahoo
Level 3: Gumshoe

Re: What can I do about request HTToken?

What is the search parameter?

Telstra Smart Modem

Plug in and connect in minutes. Smart.

Find out more