begin process at 2010 03 18 04:06:08
  Trouver un code source :
 
dans
 
Accueil > 

Code

 > 

Divers

 > CRYPTER/DECRYPTER VOS CODES SOURCES

CRYPTER/DECRYPTER VOS CODES SOURCES


 Information sur la source

Note :
2,6 / 10 - par 5 personnes
2,60 / 10

  • 1

  • 2

  • 3

  • 4

  • 5

  • 6

  • 7

  • 8

  • 9

  • 10
Catégorie :Divers Classé sous :gabber059, crypter, source, hexadecimal, 20 Niveau :Initié Date de création :18/01/2006 Vu / téléchargé :19 100 / 3 131

Auteur : Gabber059

Ecrire un message privé
Site perso
Commentaire sur cette source (3)
Ajouter un commentaire et/ou une note

 Description

Cliquez pour voir la capture en taille normale
Se code permet de crypter/decrypter une source (en hexadécimal)...
Ce mode de cryptage est très connu mais il est intéressant,
et oui l'hexadécimal qui compri du navigateur ...

exemple :

avant :
<html>
<title>tiredelapage<title>
<a href="http://www.site.fr">lien</a>
</html>

après :
<script>
<!--
document.write(unescape("%3Chtml%3 E%0A%3Ctitle%3Etiredelapage%3Ctitle%3E%0A%3Ca%20hr ef%3D%22http%3A//www.site.fr%22%3Elien%3C/a%3E%0A% 3C/html%3E"));
//-->
</script>

Source

  • <html>
  • <head>
  • <title>Crypter vos pages html</title>
  • </head>
  • <!-- Compilation Panel -->
  • <script language="JavaScript">
  • <!--
  • var i=0;
  • var ie=(document.all)?1:0;
  • var ns=(document.layers)?1:0;
  • function initStyleElements() /* Styles for Buttons Init */
  • {
  • var c = document.pad;
  • if (ie)
  • {
  • //c.text.style.backgroundColor="#DDDDDD";
  • c.compileIt.style.backgroundColor="#D7D7D7";
  • c.compileIt.style.cursor="hand";
  • c.select.style.backgroundColor="#D7D7D7";
  • c.select.style.cursor="hand";
  • c.view.style.backgroundColor="#D7D7D7";
  • c.view.style.cursor="hand";
  • c.retur.style.backgroundColor="#D7D7D7";
  • c.retur.style.cursor="hand";
  • c.clear.style.backgroundColor="#D7D7D7";
  • c.clear.style.cursor="hand";
  • }
  • else return;
  • }
  • /* Buttons Enlightment of "Compilation" panel */
  • function LightOn(what)
  • {
  • if (ie) what.style.backgroundColor = '#D7D7D7';
  • else return;
  • }
  • function FocusOn(what)
  • {
  • if (ie) what.style.backgroundColor = '#ffffff';
  • else return;
  • }
  • function LightOut(what)
  • {
  • if (ie) what.style.backgroundColor = '#ffffff';
  • else return;
  • }
  • function FocusOff(what)
  • {
  • if (ie) what.style.backgroundColor = '#ffffff';
  • else return;
  • }
  • /* Buttons Enlightment of "Compilation" panel */
  • function generate() /* Generation of "Compilation" */
  • {
  • code = document.pad.text.value;
  • if (code)
  • {
  • document.pad.text.value='Compilation ...';
  • setTimeout("compile()",1000);
  • }
  • else alert('Placer votre html dans la fenetre')
  • }
  • function compile() /* The "Compilation" */
  • {
  • document.pad.text.value='';
  • compilation=escape(code);
  • document.pad.text.value="<script>\n<!--\ndocument.write(unescape(\""+compilation+"\"));\n//-->\n<\/script>";
  • i++;
  • if (i=1) alert("Page html compil?e !");
  • else alert("Page compiled "+i+" times!");
  • }
  • function selectCode() /* Selecting "Compilation" for Copying */
  • {
  • if(document.pad.text.value.length>0)
  • {
  • document.pad.text.focus();
  • document.pad.text.select();
  • }
  • else alert('Rien à séléctionner !')
  • }
  • function preview() /* Preview for the "Compilation" */
  • {
  • if(document.pad.text.value.length>0)
  • {
  • pr=window.open("","Preview","scrollbars=1,menubar=1,status=1,width=700,height=320,left=50,top=110");
  • pr.document.write(document.pad.text.value);
  • }
  • else alert('Arg!')
  • }
  • function uncompile() /* Decompiling a "Compilation" */
  • {
  • if (document.pad.text.value.length>0)
  • {
  • source=unescape(document.pad.text.value);
  • document.pad.text.value=""+source+"";
  • }
  • else alert('Il n y a rien à compiler !')
  • }
  • // -->
  • </script>
  • <form method="post" name="pad" align="center">
  • <p align="center">
  • <textarea rows="11" name="text" cols="58" style="background-color: rgb(215, 215, 215); color: Black;
  • font-family: Verdana; font-size: 11px;"></textarea>
  • <br>
  • &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  • <input type="button" value="Chiffrer" name="compileIt" onclick="generate()" onmouseover="LightOn(this)"
  • onmouseout="LightOut(this)" style="background-color: rgb(255, 255, 255); color: Black; font-family: Verdana;
  • font-size: 11px;">
  • <input type="button" value="Selection" name="select" onclick="selectCode()" onmouseover="LightOn(this)"
  • onmouseout="LightOut(this)" style="background-color: rgb(255, 255, 255); color: Black; font-family: Verdana;
  • font-size: 11px;">
  • <input type="button" value="Voir" name="view" onclick="preview()" onmouseover="LightOn(this)"
  • onmouseout="LightOut(this)" style="background-color: rgb(255, 255, 255); color: Black; font-family: Verdana;
  • font-size: 11px;">
  • <input type="button" value="Source" name="retur" onclick="uncompile()" onmouseover="LightOn(this)"
  • onmouseout="LightOut(this)" style="background-color: rgb(255, 255, 255); color: Black; font-family: Verdana;
  • font-size: 11px;">
  • <input type="reset" value="Effacer" name="clear" onmouseover="LightOn(this)"
  • onmouseout="LightOut(this)" style="background-color: rgb(255, 255, 255); color: Black; font-family: Verdana;
  • font-size: 11px;">
  • <br>
  • &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font face="Verdana, Arial, Helvetica, sans-serif"
  • size="1"></font></p>
  • </form>
  • <!-- Compilation Panel -->
  • </html>
<html>
<head>
<title>Crypter vos pages html</title>
</head>


<!-- Compilation Panel -->
<script language="JavaScript">
<!--

var i=0;
var ie=(document.all)?1:0;
var ns=(document.layers)?1:0;

function initStyleElements() /* Styles for Buttons Init */
{
var c = document.pad;
if (ie)
{
//c.text.style.backgroundColor="#DDDDDD";
c.compileIt.style.backgroundColor="#D7D7D7";
c.compileIt.style.cursor="hand";
c.select.style.backgroundColor="#D7D7D7";
c.select.style.cursor="hand";
c.view.style.backgroundColor="#D7D7D7";
c.view.style.cursor="hand";
c.retur.style.backgroundColor="#D7D7D7";
c.retur.style.cursor="hand";
c.clear.style.backgroundColor="#D7D7D7";
c.clear.style.cursor="hand";
}
else return;
}

/* Buttons Enlightment of "Compilation" panel */
function LightOn(what)
{
if (ie) what.style.backgroundColor = '#D7D7D7';
else return;
}
function FocusOn(what)
{
if (ie) what.style.backgroundColor = '#ffffff';
else return;
}
function LightOut(what)
{
if (ie) what.style.backgroundColor = '#ffffff';
else return;
}
function FocusOff(what)
{
if (ie) what.style.backgroundColor = '#ffffff';
else return;
}
/* Buttons Enlightment of "Compilation" panel */

function generate() /* Generation of "Compilation" */
{
code = document.pad.text.value;
if (code)
{
document.pad.text.value='Compilation ...';
setTimeout("compile()",1000);
}
else alert('Placer votre html dans la fenetre')
}
function compile() /* The "Compilation" */
{
document.pad.text.value='';
compilation=escape(code);
document.pad.text.value="<script>\n<!--\ndocument.write(unescape(\""+compilation+"\"));\n//-->\n<\/script>";
i++;
if (i=1) alert("Page html compil?e !");
else alert("Page compiled "+i+" times!");
}
function selectCode() /* Selecting "Compilation" for Copying */
{
if(document.pad.text.value.length>0)
{
document.pad.text.focus();
document.pad.text.select();
}
else alert('Rien à séléctionner !')
}
function preview() /* Preview for the "Compilation" */
{
if(document.pad.text.value.length>0)
{
pr=window.open("","Preview","scrollbars=1,menubar=1,status=1,width=700,height=320,left=50,top=110");
pr.document.write(document.pad.text.value);
}
else alert('Arg!')
}
function uncompile() /* Decompiling a "Compilation" */
{
if (document.pad.text.value.length>0)
{
source=unescape(document.pad.text.value);
document.pad.text.value=""+source+"";
}
else alert('Il n y a rien à compiler !')
}
// -->
</script>
<form method="post" name="pad" align="center">
  <p align="center">
    <textarea rows="11" name="text" cols="58" style="background-color: rgb(215, 215, 215); color: Black;

font-family: Verdana; font-size: 11px;"></textarea>
    <br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <input type="button" value="Chiffrer" name="compileIt" onclick="generate()" onmouseover="LightOn(this)"

onmouseout="LightOut(this)" style="background-color: rgb(255, 255, 255); color: Black; font-family: Verdana;

font-size: 11px;">

    <input type="button" value="Selection" name="select" onclick="selectCode()" onmouseover="LightOn(this)"

onmouseout="LightOut(this)" style="background-color: rgb(255, 255, 255); color: Black; font-family: Verdana;

font-size: 11px;">
    <input type="button" value="Voir" name="view" onclick="preview()" onmouseover="LightOn(this)"

onmouseout="LightOut(this)" style="background-color: rgb(255, 255, 255); color: Black; font-family: Verdana;

font-size: 11px;">
    <input type="button" value="Source" name="retur" onclick="uncompile()" onmouseover="LightOn(this)"

onmouseout="LightOut(this)" style="background-color: rgb(255, 255, 255); color: Black; font-family: Verdana;

font-size: 11px;">
    <input type="reset" value="Effacer" name="clear" onmouseover="LightOn(this)"

onmouseout="LightOut(this)" style="background-color: rgb(255, 255, 255); color: Black; font-family: Verdana;

font-size: 11px;">
    <br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font face="Verdana, Arial, Helvetica, sans-serif"

size="1"></font></p>
</form>
<!-- Compilation Panel -->
</html>


 Fichier Zip

Les Membres Club peuvent télécharger directement un fichier contenu dans le zip sans télécharger le zip en entier !

Télécharger le zip


 Sources du même auteur

Source avec Zip Source avec une capture CODER UN TEXTE AU FORMAT HEXADÉCIMAL

 Sources de la même categorie

Source avec Zip Source avec une capture SÉQUENCEUR par jdmcreator
Source avec Zip COMPRESSION DE TEXTE CÔTÉ CLIENT EN JS VIA ALGORYTHME LZW par niamor36
Source avec Zip VIRTUAL IPHONE (V.2) par loicseg
Source avec Zip MOOTABLEAU par Miky76
Source avec Zip CALCULER VOTRE IMC par lesnouesremy

 Sources en rapport avec celle ci

Source avec Zip Source avec une capture CONTRÔLE POUR FORMULAIRE par Arto_8000
Source avec Zip Source avec une capture PERMET DE CRYPTER ( CODER ) FACILEMENT UN TEXTE À L'AIDE D'U... par picouf
Source avec Zip Source avec une capture CODER UN TEXTE AU FORMAT HEXADÉCIMAL par Gabber059
Source avec Zip CRYPTAGE D'UN TEXTE COMPLEXE, SAUT DE LIGNE ET CARACTÈRES SP... par gagou9
CONVERSION COULEUR RGB EN HEXADÉCIMAL par grandzebu

Commentaires et avis

Commentaire de ze_fred le 19/01/2006 09:55:33

niveau initié et balancer un "escape/unescape" pour "crypter" les données... j'te jure... crypter en hexa...

Commentaire de coucou747 le 22/01/2006 11:08:30

lol même commentaire que ton autre source...

Commentaire de FasteX_ le 09/03/2006 16:00:45

Ce mode de cryptage n'est pas efficace puisqu'il suffit d'écrire ce code pour décrypter...

<script language=JavaScript>
<!--
alert(unescape(("%3Chtml%3E%0A%3Ctitle%3Etiredelapage%3Ctitle%3E%0A%3Ca%20href%3D%22http%3A//www.site.fr%22%3Elien%3C/a%3E%0A%3C/html%3E"))
//-->
</script>

 Ajouter un commentaire


Discussions en rapport avec ce code source dans le forum

Quand tu pèse sur une touche Afficher SOURCE de la page !!!!! [ par ATH|500| ] Moi ce que je voudrais savoir c'est comment on fait pour afficher la source d'une page en appuyant sur Exemple wJ'ai essayer ça mais ça marche sauf qu desactivation du menu "source" [ par djpop ] Cher Internaute,comme vous le savez peut etre, sous IE6, on a la possibilité de visualiser les codes sources des pages WEB ( dans le menu du navigateu Code Source Caché [ par Zinodine ] J'ai déjà vu sur un site que lorsqu'on désire accèder au code source de la page, l'option est grisée c-à-d qu'on ne peut rien afficher. On ne sait mêm cacher le code source d'1 page web [ par patator51 ] salut a tous,j'ai un PB, je ne sais pas comment empecher la lecture d'un source ou bloquer l'option "afficher la source" dans IEmerci encorepatator51 code source [ par woofy ] Voila j'ai télécharger un code source pour faire ejecter le cd-rom. mais je ne sais pas comment ca marche ... je le met dans bloc note et ensuite je l Caher le code source [ par NHenry ] Formulaires d'ajout [ par neo1502 ] neo1502...Salut à tous...J'ai vachement besoin d'aides.J'ai besoin d'un formulaire d'ajout du meme genre que celui de ce site quand vous ajoutez une s Delai pour validé un code source. [ par samgoa ] Je viens de poster un code source sur le site. Mais il n'est pas apparu aussitôt. Est-ce normal? y'a t'il un délai? (après vérification)La fonction qu Voir source en javascript [ par Yuleesize ] Bjr j'aimerais savoir s'il y a un moyen de voir la source d'un fichier en javascriptMerciI'm The Yuleesize! cacher le code source [ par morgandetoi06 ] bonjour, j aimerait savoir comment faire pour cacher le code source de ma page, pour pas qu il soit visible en faisant "affichage &gt; source" sous IE


Nos sponsors


Appels d'offres

Sondage...

Comparez les prix

CalendriCode

Mars 2010
LMMJVSD
1234567
891011121314
15161718192021
22232425262728
293031    

Consulter la suite du CalendriCode

Photothèque

 
Développement réalisé par Nicolas SOREL (Nix) avec l'aide de : Cyril DURAND et Emmanuel (EBArtSoft), Merci à Vincent pour ses précieux conseils.
CodeS-SourceS.com© Toute reproduction même partielle est interdite sauf accord écrit du Webmaster
CodeS-SourceS.com© est une marque déposée tous droits réservés

Google Coop CodeS-SourceS Google Coop CodeS-SourceS
Temps d'éxécution de la page : 0,624 sec (3)

Nous contacter | Annoncer sur CodeS-SourceS | Mentions légales