- Home
- Categorie
- Coding e Sistemistica
- Altri linguaggi per il web
- Problema con decriptazione html
-
Problema con decriptazione html
Buongiorno a tutti
Sono un nuovo membro e avrei un problema con del codice htmlNella pagina risulta criptato ma io devo modificarlo e non ho idea di come fare.
Vi inserisco il code per facilitare una soluzione
<script language="javascript">
<!--
// Massimo Giari ([email protected])
// Prelevato e spiegato su web-link.it
document.write(String.fromCharCode(60,115,99,114,105,112,116,32,116,121,112,,97,118,101,46,106,112,103,34,10,32,32,32,32,32,32,115,116,121,108,101,61,34,32,119,105,100,116,104,58,49,54,48,112,120,59,32,104,101,105,103,104,116,58,49,54,48,112,120,34,32,47,62,60,47,97,62,10,32,32,32,32,32,32,10,32,32,32,32,32,32,60,115,116,114,111,110,103,32,99,108,97,115,115,61,34,105,116,101,109,95,112,114,105,99,101,34,62,8364,52,57,46,57,57,60,47,115,116,114,111,110,103,62,32,32,60,105,110,112,117,116,32,116,121,112,101,61,34,98,117,116,116,111,110,34,32,99,108,97,115,115,61,34,105,116,101,109,95,97,100,100,34,32,118,97,108,117,101,61,34,97,100,100,32,116,111,32,99,97,114,116,34,32,47,62,10,32,32,32,32,60,47,100,105,118,62,10,32,32,32,32,10,32,32,32,32,10,32,32,32,32,10,32,32,32,32,32,32,32,32,60,100,105,118,32,99,108,97,115,115,61,34,115,105,109,112,108,101,67,97,114,116,95,115,104,101,108,102,73,116,101,109,34,62,10,32,32,32,32,32,32,60,104,51,32,99,108,97,115,115,61,34,105,116,101,109,95,110,97,109,101,34,62,67,72,73,65,86,69,32,80,69,82,32,84,85,66,73,32,87,85,82,84,72,32,82,69,71,79,76,65,66,73,76,69,32,83,84,73,76,76,83,79,78,32,51,53,48,77,77,32,65,67,67,73,65,73,79,32,84,69,77,80,69,82,65,84,79,32,48,55,49,53,48,54,52,50,48,60,47,104,51,62,10,32,32,32,32,32,32,60,97,32,104,114,101,102,61,34,97,116,116,114,101,122,122,97,116,117,114,101,45,99,104,105,97,118,101,45,116,117,98,105,46,104,116,109,108,34,62,10,32,32,32,32,32,32,60,105,109,103,32,99,108,97,115,115,61,34,105,116,101,109,95,105,109,97,103,101,34,32,32,115,114,99,61,34,105,109,97,103,101,115,47,99,104,105,97,118,101,45,116,117,98,105,46,106,112,103,34,32,10,32,32,32,32,32,32,115,116,121,108,101,61,34,32,119,105,100,116,104,58,49,54,48,112,120,59,32,104,101,105,103,104,116,58,49,54,48,112,120,34,32,47,62,60,47,97,62,10,32,32,32,32,32,32,10,32,32,32,32,32,32,60,115,116,114,111,110,103,32,99,108,97,115,115,61,34,105,116,101,109,95,112,114,105,99,101,34,62,8364,51,52,46,57,57,60,47,115,116,114,111,110,103,62,32,32,60,105,110,112,117,116,32,116,121,112,101,61,34,98,117,116,116,111,110,34,32,99,108,97,115,115,61,34,105,116,101,109,95,97,100,100,34,32,118,97,108,117,101,61,34,97,100,100,32,116,111,32,99,97,114,116,34,32,47,62,10,32,32,32,32,60,47,100,105,118,62,32,10,32,32,32,32,10,32,32,32,32,10,32,32,32,32,10,32,32,32,32,32,32,32,32,32,32,32,32,60,100,105,118,32,99,108,97,115,115,61,34,115,105,109,112,108,101,67,97,114,116,95,115,104,101,108,102,73,116,101,109,34,62,10,32,32,32,32,32,32,60,104,51,32,99,108,97,115,115,61,34,105,116,101,109,95,110,97,109,101,34,62,71,85,65,78,84,73,32,68,65,32,76,65,86,79,82,79,32,87,85,82,84,72,32,73,78,32,80,69,76,76,69,32,70,73,79,82,69,32,66,79,86,73,78,79,32,84,65,71,76,73,65,32,49,48,32,69,76,65,83,84,73,67,79,32,83,84,82,73,78,71,73,80,79,76,83,79,60,47,104,51,62,10,32,32,32,32,32,32,60,97,32,104,114,101,102,61,34,97,116,116,114,101,122,122,97,116,117,114,101,45,103,117,97,110,116,105,46,104,116,109,108,34,62,10,32,32,32,32,32,32,60,105,109,103,32,99,108,97,115,115,61,34,105,116,101,109,95,105,109,97,103,101,34,32,32,115,114,99,61,34,105,109,97,103,101,115,47,103,117,97,110,116,105,46,106,112,103,34,10,32,32,32,32,32,32,115,116,121,108,101,61,34,32,119,105,100,116,104,58,49,54,48,112,120,59,32,104,101,105,103,104,116,58,49,54,48,112,120,34,32,47,62,60,47,97,62,10,32,32,32,32,32,32,10,32,32,32,32,32,32,60,115,116,114,111,110,103,32,99,108,97,115,115,61,34,105,116,101,109,95,112,114,105,99,101,34,62,8364,51,57,46,57,57,60,47,115,116,114,111,110,103,62,32,32,60,105,110,112,117,116,32,116,121,112,101,61,34,98,117,116,116,111,110,34,32,99,108,97,115,115,61,34,105,116,101,109,95,97,100,100,34,32,118,97,108,117,101,61,34,97,100,100,32,116,111,32,99,97,114,116,34,32,47,62,10,32,32,32,32,60,47,100,105,118,62,32,10,32,32,32,32,10,32,32,32,32,10,32,32,32,32,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,60,100,105,118,32,99,108,97,115,115,61,34,115,105,109,112,108,101,67,97,114,116,95,115,104,101,108,102,73,116,101,109,34,62,10,32,32,32,32,32,32,60,104,51,32,99,108,97,115,115,61,34,105,116,101,109,95,110,97,109,101,34,62,83,69,82,73,69,32,68,73,32,67,65,67,67,73,65,86,73,84,73,32,90,69,66,82,65,32,87,85,82,84,72,32,65,32,76,65,77,69,32,73,78,84,69,82,67,65,77,66,73,65,66,73,76,73,32,56,32,80,90,60,47,104,51,62,10,32,32,32,32,32,32,60,97,32,104,114,101,102,61,34,97,116,116,114,101,122,122,97,116,117,114,101,45,99,97,99,99,105,97,118,105,116,105,45,98,46,104,116,109,108,34,62,10,32,32,32,32,32,32,60,105,109,103,32,99,108,97,115,115,61,34,105,116,101,109,95,105,109,97,103,101,34,32,32,115,114,99,61,34,105,109,97,103,101,115,47,99,104,105,97,118,105,45,99,97,99,99,105,97,118,105,116,105,46,106,112,103,34,10,32,32,32,32,32,32,115,116,121,108,101,61,34,32,119,105,100,116,104,58,49,54,48,112,120,59,32,104,101,105,103,104,116,58,49,54,48,112,120,34,32,47,62,60,47,97,62,10,32,32,32,32,32,32,10,32,32,32,32,32,32,60,115,116,114,111,110,103,32,99,108,97,115,115,61,34,105,116,101,109,95,112,114,105,99,101,34,62,8364,55,52,46,57,57,60,47,115,116,114,111,110,103,62,32,32,60,105,110,112,117,116,32,116,121,112,101,61,34,98,117,116,116,111,110,34,32,99,108,97,115,115,61,34,105,116,101,109,95,97,100,100,34,32,118,97,108,117,101,61,34,97,100,100,32,116,111,32,99,97,114,116,34,32,47,62,10,32,32,32,32,60,47,100,105,118,62,32,10,32,32,32,32,10,32,32,32,32,10,32,32,32,32,10,32,32,32,32,10,32,32,32,10,32,32,32,32,10,32,32,32,32,10,32,32,32,32,32,60,47,100,105,118,62,10,32,32,32,32,10,32,32,60,100,105,118,32,99,108,97,115,115,61,34,99,108,101,97,114,34,62,38,110,98,115,112,59,60,47,100,105,118,62,10,32,32,60,47,100,105,118,62,32,10,32,32,10,32,32,32,10,10,10,32,60,100,105,118,32,99,108,97,115,115,61,34,112,105,101,100,101,34,32,97,108,105,103,110,61,34,99,101,110,116,101,114,34,62,10,32,60,105,109,103,32,115,114,99,61,34,105,109,97,103,101,115,47,112,97,121,112,97,108,46,112,110,103,34,47,62,10,60,47,100,105,118,62,10,60,47,100,105,118,62,10,10,10,10,10,60,47,98,111,100,121,62,10,60,47,104,116,109,108,62,10));
// -->
</script>
Il mister che ha creato sto codice non ha pensato a un decriptatore, qualcuno può aiutarmi?
Il codice è incompleto per questioni di lunghezza, se richiesto lo fornirò
Ringrazio tutti in anticipo per l'aiuto
-
Ciao, di solito di metodi di crittografia sono abbastanza difficili da aggirare e per tornare al codice originale si usano appositi software, che di solito (in linea di massima), cercano di invertire la funzione matematica usata... in questo caso vedo che è stato usato fromCharCode, che è una funzione JS che traduce un numero Unicode in un carattere corrispondente (ad esempio a 65 corrisponde A).
Si tratta di una crittografia molto elementare, in questo caso, almeno all'apparenza, che in teoria dovrebbe essere facile da invertire... almeno, da quello che capisco.
Dopo aver decriptato puoi modificare, e poi eventualmente ritorni alla forma originaria; non banale, ma neanche impossibile.
Prova a fare uno script per tradurre quei numeri in lettere (A=65, B=66 e così via), a questo punto, non dovrebbe essere troppo difficile, la codifica Unicode è nota e pubblica, ovviamente non ho il tempo di provarci cmq vedi anche il riferimento della funzione: www PUNTO w3schools PUNTO com/jsref/jsref_fromcharcode.asp