Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Protocol identification problem #274

Open
OmegaMax opened this issue Sep 28, 2023 · 3 comments
Open

Protocol identification problem #274

OmegaMax opened this issue Sep 28, 2023 · 3 comments

Comments

@OmegaMax
Copy link

@bain3 In the protocol that you gave us, we need to generate uuid to do the first post request. We also need a specific tpye of data, in this case the uuid and navigator id (null). It works on the first request then, for the second linked to the identification, we need the big json of data connection and it not works... We do some tests and by mistake, we send to times the big json instead of uuid json and then big json. And the identification works ! But we don't know how it works. We also don't know if it's linked to pronote but we can create a session without this request :
{
"nom": "FonctionParametres",
"session": "<session_id>", // int
"numeroOrdre": "<numero_ordre>",
"donneesSec": {
"donnees": {
"Uuid": "...",
"identifiantNav": "..."
}
}
}
and instead, send Identification two times, one with 3fa959b13967e0ef176069e01e23c8d7, and the other with the encrypted nOrdre with aes

@bain3
Copy link
Owner

bain3 commented Oct 5, 2023

Each time you send a request, the counter increases by 2 (because you receive a numeroOrdre in the response to your request). Maybe that could be the issue?

Sorry its hard to understand what you mean.

@OmegaMax
Copy link
Author

OmegaMax commented Oct 5, 2023

Sorry for the comprehension but now, I remade some tests and I can explain the case : So I send the uuid = null and I DO NOT encrypt the NumeroOrdre with random bytes for iv but with all zeroes for EVERY request I've made. And it works. And have you a discord to get a siplier way to communicate or a group ?

@OmegaMax
Copy link
Author

OmegaMax commented Oct 5, 2023

wtf : I decided to try where I can go with the same request, I went to :
"{Erreur: true, MessageErreur: 'Vos droits sont insuffisants pour effectuer cette opération.'}"
Wow, I fint it nowhere

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants