Way to download levels from official server #263
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: serg2-mirrors/GDBrowser#263
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
First run Wireshark and catch
secret
field of any user.Then make HTTP POST request to
http://www.boomlings.com/database/downloadGJLevel22.php
that contains:Important to specify an empty
User-Agent
header otherwise Cloudflare will block us.curl example:
curl -X POST "http://www.boomlings.com/database/downloadGJLevel22.php" -d "gameVersion=21&binaryVersion=35&gdw=0&levelID=1389451&secret=XXXXXXX" -H 'User-Agent:'
#RobUseHTTPS
And as far as I understand, the main problem is that you are blocked from the servers. Maybe in this case it is better to send all requests from the client side.
You can't move requests to client side because of CORS policy (as far as I know)
What if you use a proxy to change the server address for each request?
@iwalfy One small note: I understand why you censored the secret, but it's just a word that's used and can find in:
https://docs.gd-programming.org/server/topics/secrets/
Another small note: it's easier to use gdbrowser locally than do all that stuff
I didn't know this at the time.