Sessione salvata cifrata, copiata a «Ho finito» (#36, S4)
verifica / controlli (push) Successful in 22s
verifica / prove (push) Successful in 16m46s
verifica / installatore (push) Successful in 4m43s
verifica / immagine (push) Successful in 21m2s

Il client del sito ha bisogno della sessione del browser di Febe: ora la copia
c'è, cifrata e dietro un interruttore, senza cambiare nulla di predefinito.

- Opzione «raccolta» (pagine predefinita, richieste): solo con «richieste» e
  almeno un'operazione configurata si costruiscono sessione salvata, client del
  sito e copia. Con Instagram nulla cambia: le dieci operazioni restano non
  configurate (mancano __spin_*, __req, __s, __dyn, __csr e altri).
- Cookie con dominio, percorso, solo-host, Secure, HttpOnly e scadenza, mandati
  solo dove il browser li manderebbe (RFC 6265).
- Sezione «page» del catalogo: dove la pagina tiene ogni valore; nuovi campi rev,
  hs, hsi, dpr, ccg, comet_req, entry_nonce. Il caricatore rifiuta
  un'operazione configurata con un valore di sessione senza fonte nella pagina.
- Dati/sessione/sessione.json: DPAPI su Windows, AES-256-GCM in Docker (chiave
  da FEBE_CHIAVE_SESSIONE o chiave.bin), scrittura atomica, file illeggibile =
  nessuna sessione. «Scollega» la cancella; chiave.bin resta.
- Copia a «Ho finito» con Network.getCookies e una sola Runtime.evaluate in sola
  lettura, solo da una pagina del sito e finché dura il permesso di guida.
- FEBE_PASSWORD e FEBE_CHIAVE_SESSIONE non passano a Chromium, Xvfb, ffmpeg.
- Sito di prova: csrftoken, cookie limitato a /api/, registro di moduli suo.
- Revisione su tre lenti: 11 punti confermati, tutti corretti.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Alby96andClaude Opus 5.5 committed 2026-11-17 16:43:43 +01:00
1 parent 3046b2da47
commit c87768766c
69 files changed
+5936 -415

No files matched your search

+38
View File
@@ -32,6 +32,36 @@ public sealed partial class TestSite
/// <summary>The token <c>fb_dtsg</c> the pages of the site would hold (session:fb_dtsg).</summary>
public const string Dtsg = "dtsg-di-prova";
/// <summary>The revision of the pages (session:rev, field <c>__rev</c>; module VersioneProva.revisione of richieste.prova.json).</summary>
public const string Revision = "revisione-di-prova";
/// <summary>The haste session of the pages (session:hs, field <c>__hs</c>; VersioneProva.hs).</summary>
public const string HasteSession = "hs-di-prova";
/// <summary>The id of the page load (session:hsi, field <c>__hsi</c>; VersioneProva.hsi).</summary>
public const string HasteSessionId = "hsi-di-prova";
/// <summary>The pixel ratio the pages send (session:dpr, field <c>dpr</c>; VersioneProva.dpr).</summary>
public const string Dpr = "1";
/// <summary>The comet environment the pages send (session:comet_req, field <c>__comet_req</c>; VersioneProva.comet).</summary>
public const string CometReq = "7";
/// <summary>The connection class the pages send (session:ccg, field <c>__ccg</c>; ConnessioneProva.classe).</summary>
public const string ConnectionClass = "BUONA";
/// <summary>The nonce of the page load (session:entry_nonce, header <c>x-fb-entry-nonce</c>; AvvioProva.nonce).</summary>
public const string EntryNonce = "nonce-di-prova";
/// <summary>A cookie of the pages limited to the addresses under <see cref="ApiPath"/> (Path=/api/): the copy keeps it with its path.</summary>
public const string ApiPathCookie = "percorso_api";
/// <summary>The value of <see cref="ApiPathCookie"/>.</summary>
public const string ApiPathCookieValue = "solo-sotto-api";
/// <summary>The path of <see cref="ApiPathCookie"/>.</summary>
public const string ApiPath = "/api/";
/// <summary>The GraphQL query of the site: a profile page, with the JSON of <c>/dati/profilo/{nome}</c>.</summary>
public const string ProfileQuery = "ProvaProfiloQuery";
@@ -225,6 +255,14 @@ public sealed partial class TestSite
return ("campi", null);
}
// The values of the page the saved session copies (S4): a missing or different one gets the same generic 400.
if (form["__rev"].ToString() != Revision || form["__hs"].ToString() != HasteSession || form["__hsi"].ToString() != HasteSessionId
|| form["__ccg"].ToString() != ConnectionClass || form["dpr"].ToString() != Dpr || form["__comet_req"].ToString() != CometReq
|| request.Headers["x-fb-entry-nonce"].ToString() != EntryNonce)
{
return ("campi", null);
}
JsonObject variables;
try
{