mollersuite / mollermethod

A utility script from the future.
https://mollermethod.pages.dev
8 stars 1 forks source link

Bypass RoPro verification #83

Open Jack5079 opened 1 year ago

Jack5079 commented 1 year ago

ropro now needs ropro-id and ropro-verification headers ropro-id = userid ropro-verification =

function getVerificationToken() {
    return new Promise(resolve => {
        async function generateVerificationToken(resolve) {
            try {
                $.ajax({
                    type: "POST",
                    url: "https://api.ropro.io/generateVerificationToken.php",
                    success: function(data){
                        if (data.success == true) {
                            resolve(data.token)
                        } else {
                            resolve(null)
                        }
                    },
                    error: function(XMLHttpRequest, textStatus, errorThrown) {
                       resolve(null)
                    }
                  });
            } catch (e) {
                console.log(e)
                resolve(null)
            }
        }
        generateVerificationToken(resolve)
    })
}
Jack5079 commented 1 year ago

Hmm image

Jack5079 commented 1 year ago

We can try using AvatarEditorService to force-favorite the game RoPro uses image

Jack5079 commented 1 year ago

How does it connect the metadata call with the get token call - I think I saw something about a PHPSESSION cookie on the network tab, maybe we need to emulate that