Skip to content

Differences for web version? #18

Answered by eigenein
htrendafilov asked this question in Q&A
Discussion options

You must be logged in to vote

Hi Hristo,

Frankly, I've never looked at the web version. The request you posted looks very much similar. It's likely that the bot would work if you adjust X-Auth-Network-Ident (constant), X-Auth-Application-Id (constant), X-Auth-Token, and X-Auth-Signature.

I've taken a quick look and found X-Auth-Token as auth_key in the server response from https://hero-wars.com/:

    <body>
        <script>
    window.NXFlashVars = { …

X-Auth-Signature is going to be the most challenging. I don't really have time to reverse it right now, but I've found a starting point. In heroes.js you can find the following:

a=xNa.bGf(a);b["X-Auth-Signature"]=a;

I'd start by reversing the xNa.bGf function to find ou…

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
3 replies
@htrendafilov
Comment options

@eigenein
Comment options

@htrendafilov
Comment options

Answer selected by htrendafilov
Comment options

You must be logged in to vote
3 replies
@AraHaan
Comment options

@zqguang3708
Comment options

@eigenein
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants