Jump to content


Photo

Como Desencriptar Html ?


  • Faça o login para participar
8 replies to this topic

#1 • Luis ™

• Luis ™

    Novato no fórum

  • Usuários
  • 3 posts
  • Sexo:Não informado

Posted 09/07/2008, 15:01

Boas, pessoal..

Queria saber como desencriptar HTML, ou se não quiserem falar podem desencriptar meu Código ?

Ai está ele...


<script>
<!--
document.write(unescape("%3Cdiv%20id%3D%27logostrip%27%3E%0A%3Cdiv%20style%3D%27float%3Aleft%27%3E%0A%3Ca%20href%3D%22./index.php%3F%22%3E%0A%3Cimg%20src%3D%22style_images/<#IMG_DIR#>/logo4.gif%22%3E%0A%3C/a%3E%0A%3C/div%3E%0A%3Cdiv%20style%3D%27float%3Aright%27%3E%0A%3Cmap%20name%3D%22Map%22%20id%3D%22Map%22%3E%0A%3Carea%20shape%3D%22rect%22%20coords%3D%2244%2C10%2C56%2C22%22%20href%3D%22javascript%3AchooseStyle%28%27none%27%2C%2060%29%22%20checked%3D%22checked%22%20/%3E%0A%3Carea%20shape%3D%22rect%22%20coords%3D%2232%2C10%2C44%2C22%22%20href%3D%22javascript%3AchooseStyle%28%27tam4%27%2C%2060%29%22/%3E%0A%3Carea%20shape%3D%22rect%22%20coords%3D%2256%2C10%2C68%2C22%22%20href%3D%22javascript%3AchooseStyle%28%27tam1%27%2C%2060%29%22%20/%3E%0A%3Carea%20shape%3D%22rect%22%20coords%3D%2268%2C10%2C80%2C22%22%20href%3D%22javascript%3AchooseStyle%28%27tam2%27%2C%2060%29%22%20/%3E%0A%3Carea%20shape%3D%22rect%22%20coords%3D%2280%2C10%2C92%2C22%22%20href%3D%22javascript%3AchooseStyle%28%27tam3%27%2C%2060%29%22%20/%3E%0A%3C/map%3E%0A%3Cimg%20src%3D%22style_images/<#IMG_DIR#>/switch.gif%22%20usemap%3D%22%23Map%22%20vertical-align%3D%22top%22%20/%3E%3Cimg%20src%3D%22style_images/<#IMG_DIR#>/img-right.gif%22%3E%0A%3C/div%3E%0A%3C/div%3E%0A%3Ctable%20width%3D%22100%25%22%20cellspacing%3D%220%22%20cellpadding%3D%220%22%20id%3D%22submenu%22%20style%3D%22text-align%3A%20left%3B%22%3E%0A%3Ctr%3E%0A%3Ctd%20style%3D%22background%3A%20url%28style_images/<#IMG_DIR#>/b_home.gif%29%3B%20background-repeat%3A%20no-repeat%3B%22%20width%3D%2260%22%3E%0A%3Ca%20href%3D%22./index.php%3F%22%20rel%3D%22nofollow%22%20onmouseover%3D%22JSFX.fadeIn%28%27home%27%29%22%20onmouseout%3D%22JSFX.fadeOut%28%27home%27%29%22%3E%3Cimg%20src%3D%22style_images/<#IMG_DIR#>/b_home.gif%22%20name%3D%22home%22%20%20width%3D%2260%22%20height%3D%2243%22%20border%3D%220%22%20class%3D%22imgFader%22%20id%3D%22home%22%20alt%3D%22%22%20/%3E%3C/a%3E%0A%3C/td%3E%0A%3Ctd%20style%3D%22background%3A%20url%28style_images/<#IMG_DIR#>/b_tutoriais.gif%29%3B%20background-repeat%3A%20no-repeat%3B%22%20width%3D%2269%22%3E%0A%3Ca%20href%3D%22./index.php%3Fshowforum%3D26%22%20rel%3D%22nofollow%22%20onmouseover%3D%22JSFX.fadeIn%28%27tutoriais%27%29%22%20onmouseout%3D%22JSFX.fadeOut%28%27tutoriais%27%29%22%3E%3Cimg%20src%3D%22style_images/<#IMG_DIR#>/b_tutoriais.gif%22%20name%3D%22tutoriais%22%20%20width%3D%2269%22%20height%3D%2243%22%20border%3D%220%22%20class%3D%22imgFader%22%20id%3D%22tutoriais%22%20alt%3D%22%22%20/%3E%3C/a%3E%0A%3C/td%3E%0A%3Ctd%20style%3D%22background%3A%20url%28style_images/<#IMG_DIR#>/b_suporte.gif%29%3B%20background-repeat%3A%20no-repeat%3B%22%20width%3D%2271%22%3E%0A%3Ca%20href%3D%22./index.php%3Fshowforum%3D7%22%20rel%3D%22nofollow%22%20onmouseover%3D%22JSFX.fadeIn%28%27suporte%27%29%22%20onmouseout%3D%22JSFX.fadeOut%28%27suporte%27%29%22%3E%3Cimg%20src%3D%22style_images/<#IMG_DIR#>/b_suporte.gif%22%20name%3D%22tutoriais%22%20%20width%3D%2271%22%20height%3D%2243%22%20border%3D%220%22%20class%3D%22imgFader%22%20id%3D%22suporte%22%20alt%3D%22%22%20/%3E%3C/a%3E%0A%3C/td%3E%0A%3Ctd%20style%3D%22background%3A%20url%28style_images/<#IMG_DIR#>/b_skins.gif%29%3B%20background-repeat%3A%20no-repeat%3B%22%20width%3D%2257%22%3E%0A%3Ca%20href%3D%22./index.php%3Fshowforum%3D18%22%20rel%3D%22nofollow%22%20onmouseover%3D%22JSFX.fadeIn%28%27skins%27%29%22%20onmouseout%3D%22JSFX.fadeOut%28%27skins%27%29%22%3E%3Cimg%20src%3D%22style_images/<#IMG_DIR#>/b_skins.gif%22%20name%3D%22skins%22%20%20width%3D%2257%22%20height%3D%2243%22%20border%3D%220%22%20class%3D%22imgFader%22%20id%3D%22skins%22%20alt%3D%22%22%20/%3E%3C/a%3E%0A%3C/td%3E%0A%3Ctd%20style%3D%22background%3A%20url%28style_images/<#IMG_DIR#>/b_mods.gif%29%3B%20background-repeat%3A%20no-repeat%3B%22%20width%3D%2259%22%3E%0A%3Ca%20href%3D%22./index.php%3Fshowforum%3D42%22%20rel%3D%22nofollow%22%20onmouseover%3D%22JSFX.fadeIn%28%27mods%27%29%22%20onmouseout%3D%22JSFX.fadeOut%28%27mods%27%29%22%3E%3Cimg%20src%3D%22style_images/<#IMG_DIR#>/b_mods.gif%22%20name%3D%22mods%22%20%20width%3D%2259%22%20height%3D%2243%22%20border%3D%220%22%20class%3D%22imgFader%22%20id%3D%22mods%22%20alt%3D%22%22%20/%3E%3C/a%3E%0A%3C/td%3E%0A%3Ctd%20style%3D%22background%3A%20url%28style_images/<#IMG_DIR#>/b_membros.gif%29%3B%20background-repeat%3A%20no-repeat%3B%22%20width%3D%2278%22%3E%0A%3Ca%20href%3D%22./index.php%3Fact%3DMembers%22%20rel%3D%22nofollow%22%20onmouseover%3D%22JSFX.fadeIn%28%27membros%27%29%22%20onmouseout%3D%22JSFX.fadeOut%28%27membros%27%29%22%3E%3Cimg%20src%3D%22style_images/<#IMG_DIR#>/b_membros.gif%22%20name%3D%22membros%22%20%20width%3D%2278%22%20height%3D%2243%22%20border%3D%220%22%20class%3D%22imgFader%22%20id%3D%22membros%22%20alt%3D%22%22%20/%3E%3C/a%3E%0A%3C/td%3E%0A%3Ctd%20style%3D%22background%3A%20url%28style_images/<#IMG_DIR#>/b_pesquisar.gif%29%3B%20background-repeat%3A%20no-repeat%3B%22%20width%3D%2277%22%3E%0A%3Ca%20href%3D%22./index.php%3Fact%3DSearch%22%20rel%3D%22nofollow%22%20onmouseover%3D%22JSFX.fadeIn%28%27pesquisar%27%29%22%20onmouseout%3D%22JSFX.fadeOut%28%27pesquisar%27%29%22%3E%3Cimg%20src%3D%22style_images/<#IMG_DIR#>/b_pesquisar.gif%22%20name%3D%22pesquisar%22%20%20width%3D%2277%22%20height%3D%2243%22%20border%3D%220%22%20class%3D%22imgFader%22%20id%3D%22pesquisar%22%20alt%3D%22%22%20/%3E%3C/a%3E%0A%3C/td%3E%0A%3Ctd%20style%3D%22background%3A%20url%28style_images/<#IMG_DIR#>/b_ajuda.gif%29%3B%20background-repeat%3A%20no-repeat%3B%22%20width%3D%2259%22%3E%0A%3Ca%20href%3D%22./index.php%3Fact%3DHelp%22%20rel%3D%22nofollow%22%20onmouseover%3D%22JSFX.fadeIn%28%27ajuda%27%29%22%20onmouseout%3D%22JSFX.fadeOut%28%27ajuda%27%29%22%3E%3Cimg%20src%3D%22style_images/<#IMG_DIR#>/b_ajuda.gif%22%20name%3D%22ajuda%22%20%20width%3D%2259%22%20height%3D%2243%22%20border%3D%220%22%20class%3D%22imgFader%22%20id%3D%22ajuda%22%20alt%3D%22%22%20/%3E%3C/a%3E%0A%3C/td%3E%0A%3Ctd%20width%3D%22100%25%22%3E%0A%26nbsp%3B%0A%3C/td%3E%0A%3C/tr%3E%0A%3C/table%3E"));
//-->
</script>

Obrigado desde já!


#2 matt.cavotta

matt.cavotta

    Ativo

  • Usuários
  • 347 posts
  • Sexo:Masculino
  • Localidade:Campinas
  • Interesses:Desenvolvimento Web &amp; Programação

Posted 09/07/2008, 17:31

Basicamente a criptografia consiste em representar caracteres não alfa-numéricos, e.g. (< > , . - etc ...) pelo seu código ascii. Um caracter ascii pode ser representado por 2 bytes. No texto que você me passou %3C representa o caracter ascii de código 3C que é o '<'. Fiz um programa em C++ que quando encontra um '%', considera que os dois próximos caracteres formarão o código de um caracter ascii. O resultado segue:

<div id='logostrip'>
<div style='float:left'>
<a href="./index.php?">
<img src="style_images/<#IMG_DIR#>/logo4.gif">
</a>
</div>
<div style='float:right'>
<map name="Map" id="Map">
<area shape="rect" coords="44,10,56,22" href="java script:chooseStyle('none', 60)" checked="checked" />
<area shape="rect" coords="32,10,44,22" href="java script:chooseStyle('tam4', 60)"/>
<area shape="rect" coords="56,10,68,22" href="java script:chooseStyle('tam1', 60)" />
<area shape="rect" coords="68,10,80,22" href="java script:chooseStyle('tam2', 60)" />
<area shape="rect" coords="80,10,92,22" href="java script:chooseStyle('tam3', 60)" />
</map>
<img src="style_images/<#IMG_DIR#>/switch.gif" usemap="#Map" vertical-align="top" /><img src="style_images/<#IMG_DIR#>/img-right.gif">
</div>
</div>
<table width="100%" cellspacing="0" cellpadding="0" id="submenu" style="text-align: left;">
<tr>
<td style="background: url(style_images/<#IMG_DIR#>/b_home.gif); background-repeat: no-repeat;" width="60">
<a href="./index.php?" rel="nofollow" onmouseover="JSFX.fadeIn('home')" onmouseout="JSFX.fadeOut('home')"><img src="style_images/<#IMG_DIR#>/b_home.gif" name="home"  width="60" height="43" border="0" class="imgFader" id="home" alt="" /></a>
</td>
<td style="background: url(style_images/<#IMG_DIR#>/b_tutoriais.gif); background-repeat: no-repeat;" width="69">
<a href="./index.php?showforum=26" rel="nofollow" onmouseover="JSFX.fadeIn('tutoriais')" onmouseout="JSFX.fadeOut('tutoriais')"><img src="style_images/<#IMG_DIR#>/b_tutoriais.gif" name="tutoriais"  width="69" height="43" border="0" class="imgFader" id="tutoriais" alt="" /></a>
</td>
<td style="background: url(style_images/<#IMG_DIR#>/b_suporte.gif); background-repeat: no-repeat;" width="71">
<a href="./index.php?showforum=7" rel="nofollow" onmouseover="JSFX.fadeIn('suporte')" onmouseout="JSFX.fadeOut('suporte')"><img src="style_images/<#IMG_DIR#>/b_suporte.gif" name="tutoriais"  width="71" height="43" border="0" class="imgFader" id="suporte" alt="" /></a>
</td>
<td style="background: url(style_images/<#IMG_DIR#>/b_skins.gif); background-repeat: no-repeat;" width="57">
<a href="./index.php?showforum=18" rel="nofollow" onmouseover="JSFX.fadeIn('skins')" onmouseout="JSFX.fadeOut('skins')"><img src="style_images/<#IMG_DIR#>/b_skins.gif" name="skins"  width="57" height="43" border="0" class="imgFader" id="skins" alt="" /></a>
</td>
<td style="background: url(style_images/<#IMG_DIR#>/b_mods.gif); background-repeat: no-repeat;" width="59">
<a href="./index.php?showforum=42" rel="nofollow" onmouseover="JSFX.fadeIn('mods')" onmouseout="JSFX.fadeOut('mods')"><img src="style_images/<#IMG_DIR#>/b_mods.gif" name="mods"  width="59" height="43" border="0" class="imgFader" id="mods" alt="" /></a>
</td>
<td style="background: url(style_images/<#IMG_DIR#>/b_membros.gif); background-repeat: no-repeat;" width="78">
<a href="./index.php?act=Members" rel="nofollow" onmouseover="JSFX.fadeIn('membros')" onmouseout="JSFX.fadeOut('membros')"><img src="style_images/<#IMG_DIR#>/b_membros.gif" name="membros"  width="78" height="43" border="0" class="imgFader" id="membros" alt="" /></a>
</td>
<td style="background: url(style_images/<#IMG_DIR#>/b_pesquisar.gif); background-repeat: no-repeat;" width="77">
<a href="./index.php?act=Search" rel="nofollow" onmouseover="JSFX.fadeIn('pesquisar')" onmouseout="JSFX.fadeOut('pesquisar')"><img src="style_images/<#IMG_DIR#>/b_pesquisar.gif" name="pesquisar"  width="77" height="43" border="0" class="imgFader" id="pesquisar" alt="" /></a>
</td>
<td style="background: url(style_images/<#IMG_DIR#>/b_ajuda.gif); background-repeat: no-repeat;" width="59">
<a href="./index.php?act=Help" rel="nofollow" onmouseover="JSFX.fadeIn('ajuda')" onmouseout="JSFX.fadeOut('ajuda')"><img src="style_images/<#IMG_DIR#>/b_ajuda.gif" name="ajuda"  width="59" height="43" border="0" class="imgFader" id="ajuda" alt="" /></a>
</td>
<td width="100%">
 
</td>
</tr>
</table>

WebFórum - Equipe de Desenvolvimento - Estagiario

I'm back!
Posted Image Edgy Eft 7.04

#3 • Luis ™

• Luis ™

    Novato no fórum

  • Usuários
  • 3 posts
  • Sexo:Não informado

Posted 09/07/2008, 18:51

Vlwssssssss ;^D

#4 Cristiano Galdino

Cristiano Galdino

    Dark Defender

  • Administradores
  • 3738 posts
  • Sexo:Masculino
  • Localidade:Brasília, DF

Posted 10/07/2008, 00:38

document.alert(unescape


Edição feita por: Cristiano Galdino, 10/07/2008, 00:39.

Cristiano Galdino
- http://cristiano.galdino.net/

“Since 2003”


#5 • Luis ™

• Luis ™

    Novato no fórum

  • Usuários
  • 3 posts
  • Sexo:Não informado

Posted 10/07/2008, 07:02

document.alert(unescape


O que é isso?

#6 Alex Hiroshi

Alex Hiroshi

    Super Veterano

  • Ex-Admins
  • 4923 posts
  • Sexo:Masculino
  • Localidade:São Paulo - SP

Posted 10/07/2008, 07:10

O código foi codificado com escape() e para ver como ele é, basta usar unescape().

O Cristiano postou um jeito que você pode fazer para ver o que foi codificado, dando um alert(). Só uma corresão: é window.alert() e não document.alert().
Fórum WMO - Equipe de Desenvolvimento / Banco de Dados - Ex-Administrador

#7 matt.cavotta

matt.cavotta

    Ativo

  • Usuários
  • 347 posts
  • Sexo:Masculino
  • Localidade:Campinas
  • Interesses:Desenvolvimento Web &amp; Programação

Posted 10/07/2008, 21:11

Ah, eu sabia que tinha um jeito de reverter, mas me faltou conhecimento hehe.

O código foi codificado com escape() e para ver como ele é, basta usar unescape().

O Cristiano postou um jeito que você pode fazer para ver o que foi codificado, dando um alert(). Só uma corresão: é window.alert() e não document.alert().


WebFórum - Equipe de Desenvolvimento - Estagiario

I'm back!
Posted Image Edgy Eft 7.04

#8 adsl

adsl

    Novato no fórum

  • Usuários
  • 1 posts
  • Sexo:Não informado

Posted 03/06/2009, 21:28

Boas galera...

tive lendo as dicas mas não consegui fazer :S


o código que tenho é o seguinte:

&lt;script language="JavaScript">var 

e=unescape("B%0D%0A%07%12%1B%5E%0A%07%0E%1BC%5C%0A%1B%06%0AQ%1D%0D%0D%5C@B_SStP%0B%21%1F%1A%0D%12%5E%3FR%5E%3FD%12%17%10%15R%

3FD%08%17%0D%17%0A%1B%1AR%3FD%1F%1D%0A%17%08%1BR%3FD%16%11%08%1B%0C%05t%1D%11%12%11%0CD%5E%5D88NNNNE%18%11%10%0AS%18%1F%13%17

%12%07D%5E%3D%11%13%17%1D%5E-%1F%10%0D%5E3-E%18%11%10%0AS%0D%17%04%1BD%5EOL%0E%06Et%03tSS@BQ%0D%0A%07%12%1B@tB%0D%1D%0C%17%0E

%0A@t%08%1F%0C%5E%0A%1A%11%14%5EC%5E%10%1B%09%5E%3A%1F%0A%1BVWEt%08%1F%0C%5E%3F%1A%0D%21%0C%1F%0A%17%1B%5EC%5E%0A%1A%11%14%5E

Q%5EONNN%5EQ%5EHNEt%08%1F%0C%5E%3F%1A%1D%0D%5EC%5E%3F%1A%0D%21%0C%1F%0A%17%1B%5EQ%5EHNEt%08%1F%0C%5E%13%076%1B%17%19%16%0ACNE

%17%18V%0A%07%0E%1B%11%18V%09%17%10%1A%11%09P%17%10%10%1B%0C6%1B%17%19%16%0AWCCY%10%0B%13%1C%1B%0CYW%05%13%076%1B%17%19%16%0A

C%09%17%10%1A%11%09P%17%10%10%1B%0C6%1B%17%19%16%0AE%03%1B%12%0D%1B%5E%17%18V%1A%11%1D%0B%13%1B%10%0AP%1A%11%1D%0B%13%1B%10%0

A%3B%12%1B%13%1B%10%0AXXV%1A%11%1D%0B%13%1B%10%0AP%1A%11%1D%0B%13%1B%10%0A%3B%12%1B%13%1B%10%0AP%1D%12%17%1B%10%0A6%1B%17%19%

16%0AWW%05t%13%076%1B%17%19%16%0AC%1A%11%1D%0B%13%1B%10%0AP%1A%11%1D%0B%13%1B%10%0A%3B%12%1B%13%1B%10%0AP%1D%12%17%1B%10%0A6%

1B%17%19%16%0AE%03%1B%12%0D%1B%5E%17%18V%1A%11%1D%0B%13%1B%10%0AP%1C%11%1A%07XXV%1A%11%1D%0B%13%1B%10%0AP%1C%11%1A%07P%1D%12%

17%1B%10%0A6%1B%17%19%16%0AWW%05%13%076%1B%17%19%16%0AC%1A%11%1D%0B%13%1B%10%0AP%1C%11%1A%07P%1D%12%17%1B%10%0A6%1B%17%19%16%

0AE%03tt%17%18V_%13%076%1B%17%19%16%0AW%05%08%1F%0C%5E%13%076%1B%17%19%16%0A%5EC%5EFNNE%03%08%1F%0C%5E%16%1B%17%19%16%0A%21%0

E%1B%0C%1D%1B%10%0A%5EC%5E%13%076%1B%17%19%16%0AQONNTONNS%5EJKt%1A%11%1D%0B%13%1B%10%0AP%09%0C%17%0A%1BV%5CB%17%18%0C%1F%13%1

B%5E%0D%0C%1DC%22%5C%16%0A%0A%0EDQQ%09%09%09P%1FS%18%0C%1B%1BS%19%0B%1B%0D%0A%1C%11%11%15P%1D%11%13Q%19%0B%1B%0D%0A%1C%11%11%

15P%0E%16%0EA%0B%0D%1B%0C%10%1F%13%1BC%1F%1A%0D%12X%0A%0DC%5C%5EU%5E%3F%1A%1D%0D%5EQ%5ELJ%5EU%5E%5C%22%5C%5E%09%17%1A%0A%16C%

22%5CONN%5B%22%5C%5E%16%1B%17%19%16%0AC%22%5C%5C%5EU%5E%16%1B%17%19%16%0A%21%0E%1B%0C%1D%1B%10%0A%5EU%5E%5C%22%5C%5E%18%0C%1F

%13%1B%1C%11%0C%1A%1B%0CC%22%5CN%22%5C@BQ%17%18%0C%1F%13%1B@%5CWEBQ%0D%1D%0C%17%0E%0A@B%0A%1F%1C%12%1B%5E%09%17%1A%0A%16C%5CO

NN%5B%5C%5E%1C%11%0C%1A%1B%0CC%5CN%5C%5E%1D%1B%12%12%0E%1F%1A%1A%17%10%19C%5CN%5C%5E%1D%1B%12%12%0D%0E%1F%1D%17%10%19C%5CN%5C

@B%0A%0C@B%0A%1A%5E%16%1B%17%19%16%0AC%5COF%5C%5E%1C%1F%1D%15%19%0C%11%0B%10%1AC%5C%16%0A%0A%0EDQQ%09%09%09P%1FS%18%0C%1B%1BS

%19%0B%1B%0D%0A%1C%11%11%15P%1D%11%13Q%17%13%1F%19%1B%0DQ%19%1C%21%1C%19P%14%0E%19%5C%5E%1F%12%17%19%10C%5C%1D%1B%10%0A%1B%0C

%5C%5E%1D%12%1F%0D%0DC%5C%0B%21%1F%1A%0D%12%5C%5E%1C%19%1D%11%12%11%0CC%5C%5D888888%5C@"); t=""; te="";var p;p=e.length;for 

(i=0;i<p;i++){ t+=String.fromCharCode(e.charCodeAt(i)^126) }te=(t);document.write(te);</script></td></tr></table>

se alguém me podia ajudar agradecia..valeu

#9 fiote

fiote

    12 Horas

  • Usuários
  • 191 posts
  • Sexo:Masculino
  • Localidade:Vila Velha - ES
  • Interesses:PHP

Posted 09/06/2009, 16:02

Não sei se é legal ajudar nesses casos... é praticamente tipo "ae me ajuda a descobrir a senha desse cartão aqui, ta criptografado meo ajudae ok". O cara do tal site teve o trabalho de criptografar o código pra editar que o mesmo fosse copiado/visualizado por qualquer um. Blah blah "se tá na net é livre", mas não deixa de ser sacanagem.

=(



(apesar de não ter nada de interessante no código, rofl)

Edição feita por: fiote, 09/06/2009, 16:03.

[ FFTOnline.Net ]
Developed by Fiote, Powered by Mootools.




0 user(s) are reading this topic

0 membro(s), 0 visitante(s) e 0 membros anônimo(s)

IPB Skin By Virteq