Comments (9)
That's not encryption, that's base64 encoding from the look of it. Whatever game is using this is returning a game specific encoded binary response. Without knowing the name and finding some documentation this is very hard to decode. But on the part of this library everything is working correctly. I might still be able to help you if you provide me with more information about the application.
from python-a2s.
My API, https://rapidapi.com/InfamyStudio/api/vrising-server-scanner - currently I am using Node JS but it is the same query response that your system has. I am experienced with flask so I would rather incorporate your system and not make API calls. So as you can see if you type in my host field: 176.57.173.3 and port: 28615. You can see the response for game settings is what I posted above. If base64 is encoded how do we decode this? Is the hash a key to deciphering that information or not?
from python-a2s.
"Returns the server rules, or configuration variables in name/value pairs. This query requires an initial challenge step.
The Console variables included are the ones marked with FCVAR_NOTIFY as well as any additional ones listed in the server configuration."
This is what the documentation states. How do we solve this?
from python-a2s.
https://developer.valvesoftware.com/wiki/Server_queries#A2S_RULES - this is the documentation I assume here.
from python-a2s.
The encoding is specific to V Rising, you will not find any information in the Valve wiki. It does not seem like they have put out any information on the format. To decode the base64 string you can use the module of the same name:
import base64
base64.b64decode("AgAAAAAAAAAAAAAAAAAAAAAAAACgQAEMBAUAAAAAAAAAAAIAAAAAAwMAAAAABAQAAAAABQUAAAAABv4FAAAAAAAAAAAUAAAAABUyAAAAADNQAAAAAFGgAAAAAKH+")
The hash means something else, it is not needed for decoding.
from python-a2s.
This is what I did, And it does not have any legible response. This is based on the handshake most definitely, how can we fix this or how can we work out a way to decode the message? Battlemetrics have done this so surely there is an obvious way.
from python-a2s.
Where do you see this information decoded on Battlemetrics?
from python-a2s.
https://www.battlemetrics.com/servers/vrising/15360174
This is my server, if you click server settings you can see all the information decoded. I do not understand how they are pulling this from every server if the rules are encoded.
from python-a2s.
They probably put in the effort to decode it. The game is made with Unity so decompiling works quite well. But I do not own the game and honestly I'm not willing to spend money and time to reverse engineer this for you.
from python-a2s.
Related Issues (20)
- Example server is down :frowning: HOT 2
- a2s.players name doesn't work for "7 Days to Die" HOT 4
- Is it possible to query every server ? HOT 1
- Question HOT 3
- How do i get an output?
- A2S_RULES not decoding correctly ? HOT 13
- [Question] Multiple Query HOT 1
- Is it possible to to see if player is on CT or T Side? HOT 1
- Rust server returning random player names instead of actual player names when using a2s.players HOT 3
- S2C_CHALLENGE support? HOT 3
- implementing player steamid's if connected using steam HOT 1
- Strange a2s.exceptions.BufferExhaustedError HOT 3
- Proposal: add A2S_PING for query server HOT 1
- Rust server names HOT 2
- query is inaccurate HOT 1
- suggestion HOT 1
- Class attribute docstrings show wrong values. HOT 3
- player_count HOT 2
- Request: Get MvM Mission and wave progress HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-a2s.