473,898 Members | 2,415 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Decoding html pages

how to decode HTML pages encoded like this:
http://www.long2consulting.com/seein...able/index.htm
Is there script that will do this automatically and generate normal fully
readable HTML?

Santander

Oct 23 '08 #1
42 8989
Santander wrote:
how to decode HTML pages encoded like this:
http://www.long2consulting.com/seein...able/index.htm
Is there script that will do this automatically and generate normal fully
readable HTML?
It can be decrypted with relatively little effort. Line 5 is the
percent-encoding of (line-ends and intervals added):

<SCRIPT LANGUAGE="JavaS cript">
<!--
hp_ok=true;
function hp_d01(s) {
if (!hp_ok) return;
var o="",
ar=new Array(),
os="",
ic=0;
for (i=0;i<s.length ;i++) {
c=s.charCodeAt( i);
if (c<128)
c=c^2;
os+=String.from CharCode(c);
if (os.length>80) {
ar[ic++]=os;
os=""
}
}
o=ar.join("")+o s;
document.write( o)
}
//-->
</SCRIPT>

Info:
http://en.wikipedia.org/wiki/Percent-encoding

Function 'hp_d01' takes the square number of the character code when
it's below 128. For a decryption, this operation can be reversed by
taking the square root, eg. Math.sqrt(64).

Hope this helps,

--
Bart
Oct 23 '08 #2
well, I've decoded the very top part of script:

<SCRIPT LANGUAGE="JavaS cript"><!--
hp_ok=true;func tion hp_d01(s){if(!h p_ok)return;var o="",ar=new
Array(),os="",i c=0;for(i=0;i<s .length;i ){c=s.charCodeA t(i);if(c<128)c =c^2;os
=String.fromCha rCode(c);if(os. length>80){ar[ic ]=os;os=""}}o=ar .join("")
os;document.wri te(o)}//--></SCRIPT>
but it tells me nothing though. How to decode the rest part of page? any
automated tool/script availble?
------------------------

"Santander" <sa*******@comp .lang.javascrip twrote in message
news:49******** *************** @news.sunsite.d k...
how to decode HTML pages encoded like this:
http://www.long2consulting.com/seein...able/index.htm
Is there script that will do this automatically and generate normal fully
readable HTML?
Oct 23 '08 #3
Santander meinte:
how to decode HTML pages encoded like this:
http://www.long2consulting.com/seein...able/index.htm

Is there script that will do this automatically and generate normal
fully readable HTML?
LOL. Tells me something about both the authors of this page and you as
the upcoming hakk3r...

Just have a look at "generated source" with FF's web developer
extension, or inspect the page with Firebug.
Gregor
Oct 23 '08 #4
Gregor Kofler meinte:
Santander meinte:
>how to decode HTML pages encoded like this:
http://www.long2consulting.com/seein...able/index.htm

Is there script that will do this automatically and generate normal
fully readable HTML?

LOL. Tells me something about both the authors of this page and you as
the upcoming hakk3r...
Forget my above posting. Working with the mentioned tools without the
experience can lead to a complete loss of data and system crashes.
Seriously.

I do have an offer here: Get the full and completely disclosed template
for, say, 40 bucks? Perhaps you're interested in a few more templates?
Bulk discounts are negotiable...

Gregor

Oct 23 '08 #5
yes, I find this. But how to use this key? Just tried insert that script
into page header section and run, not help, strange.
any ideas? Automated tool encode/ decode?

S.
---------

"Bart Van der Donck" <ba**@nijlen.co mwrote in message
news:54******** *************** ***********@v56 g2000hsf.google groups.com...
Santander wrote:
>how to decode HTML pages encoded like this:
http://www.long2consulting.com/seein...able/index.htm
Is there script that will do this automatically and generate normal fully
readable HTML?

It can be decrypted with relatively little effort. Line 5 is the
percent-encoding of (line-ends and intervals added):

<SCRIPT LANGUAGE="JavaS cript">
<!--
hp_ok=true;
function hp_d01(s) {
if (!hp_ok) return;
var o="",
ar=new Array(),
os="",
ic=0;
for (i=0;i<s.length ;i++) {
c=s.charCodeAt( i);
if (c<128)
c=c^2;
os+=String.from CharCode(c);
if (os.length>80) {
ar[ic++]=os;
os=""
}
}
o=ar.join("")+o s;
document.write( o)
}
//-->
</SCRIPT>

Info:
http://en.wikipedia.org/wiki/Percent-encoding

Function 'hp_d01' takes the square number of the character code when
it's below 128. For a decryption, this operation can be reversed by
taking the square root, eg. Math.sqrt(64).

Hope this helps,

--
Bart
Oct 23 '08 #6
any *positive* ideas? if not - no probs.. I already decode 1/2 and even
without your valuable help..

S.
------

"Gregor Kofler" <us****@gregork ofler.atwrote in message
news:Po******** *****@nntpserve r.swip.net...
Gregor Kofler meinte:
>Santander meinte:
>>how to decode HTML pages encoded like this:
http://www.long2consulting.com/seein...able/index.htm
Is there script that will do this automatically and generate normal
fully readable HTML?

LOL. Tells me something about both the authors of this page and you as
the upcoming hakk3r...

Forget my above posting. Working with the mentioned tools without the
experience can lead to a complete loss of data and system crashes.
Seriously.

I do have an offer here: Get the full and completely disclosed template
for, say, 40 bucks? Perhaps you're interested in a few more templates?
Bulk discounts are negotiable...

Gregor
Oct 23 '08 #7
Santander meinte:
any *positive* ideas? if not - no probs.. I already decode 1/2 and even
without your valuable help..
Must be tough, since you've problems perhaps not with reading, but
definitely with *understanding* . Just have a look at the "generated
source" in FF's "web developer extension" (or a similiar tool, Firebug
and I suppose Opera Dragonfly works, too).

Since you are posting with Outlook Express, and are raiding a web site
offering templates for FrontPage and Expression Web, you've probably
never heard of alternatives to IE...

To be even mor constructive: here's the complete source. This time for
free [1]. Make sure to scroll to the bottom...

Gregor
[1]
<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" lang="en"><head >
<!--hppage status="protect ed"-->

<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252"><script language="JavaS cript"><!--
document.write( unescape("%3C%5 3%43%52%49%50%5 4%20%4C%41%4E%4 7%55%41%47%45%3 D%22%4A%61%76%6 1%53%63%72%69%7 0%74%22%3E%3C%2 1%2D%2D%0D%0A%6 8%70%5F%6F%6B%3 D%74%72%75%65%3 B%66%75%6E%63%7 4%69%6F%6E%20%6 8%70%5F%64%30%3 1%28%73%29%7B%6 9%66%28%21%68%7 0%5F%6F%6B%29%7 2%65%74%75%72%6 E%3B%76%61%72%2 0%6F%3D%22%22%2 C%61%72%3D%6E%6 5%77%20%41%72%7 2%61%79%28%29%2 C%6F%73%3D%22%2 2%2C%69%63%3D%3 0%3B%66%6F%72%2 8%69%3D%30%3B%6 9%3C%73%2E%6C%6 5%6E%67%74%68%3 B%69%2B%2B%29%7 B%63%3D%73%2E%6 3%68%61%72%43%6 F%64%65%41%74%2 8%69%29%3B%69%6 6%28%63%3C%31%3 2%38%29%63%3D%6 3%5E%32%3B%6F%7 3%2B%3D%53%74%7 2%69%6E%67%2E%6 6%72%6F%6D%43%6 8%61%72%43%6F%6 4%65%28%63%29%3 B%69%66%28%6F%7 3%2E%6C%65%6E%6 7%74%68%3E%38%3 0%29%7B%61%72%5 B%69%63%2B%2B%5 D%3D%6F%73%3B%6 F%73%3D%22%22%7 D%7D%6F%3D%61%7 2%2E%6A%6F%69%6 E%28%22%22%29%2 B%6F%73%3B%64%6 F%63%75%6D%65%6 E%74%2E%77%72%6 9%74%65%28%6F%2 9%7D%2F%2F%2D%2 D%3E%3C%2F%53%4 3%52%49%50%54%3 E"));//--></script><script
language="JavaS cript"><!--
hp_ok=true;func tion hp_d01(s){if(!h p_ok)return;var o="",ar=new
Array(),os="",i c=0;for(i=0;i<s .length;i++){c= s.charCodeAt(i) ;if(c<128)c=c^2 ;os+=String.fro mCharCode(c);if (os.length>80){ ar[ic++]=os;os=""}}o=ar .join("")+os;do cument.write(o) }//--></script><script
language="JavaS cript"><!--
hp_d01(unescape (">QAPKRV%22NCL EWCEG? HctcQapkrv
%3C>#//dwlavkml%22jr]fl*c+ypgvwpl%22 dcnqg%7Fdwlavkm l%22jr]ao*+ycngpv*
^w2276^w224:^w2 24;^w2251^w2202 ^w2252^w2243^w2 245^w2247^w2202 ^w224:^w2243^w2 251^w2202^w2240 ^w2247^w2247^w2 24G^w2202^w2252 ^w2250^w224D^w2 256^w2247^w2241 ^w2256^w2247^w2 246^w220G^w2202 ^w2272^w2250^w2 247^w2254^w224; ^w2247^w2255^w2 202^w224D^w224G ^w224A^w225;^w2 20G
+9pgvwpl%22dcnq g%7Fdwlavkml%22 jr]fg*g+ypgvwpl*g, vcpegv,vceLcog# ?lwnn$$g,vcpegv ,vceLcog,qgcpaj *%25%5C*KLRWV~V GZVCPGC~@WVVML~ QGNGAV+&%25+#?/3+%7F9dwlavkml% 22jr]of*g+yoca?lctke cvmp,wqgpCeglv, klfgzMd*%25Oca% 25+#?/39kd*fmawoglv,c nn+ykd*gtglv,`w vvml??0~~*oca$$ *gtglv,avpnIg{~ ~gtglv,ig{Amfg? ?;3+++ycngpv*
^w2276^w224:^w2 24;^w2251^w2202 ^w2252^w2243^w2 245^w2247^w2202 ^w224:^w2243^w2 251^w2202^w2240 ^w2247^w2247^w2 24G^w2202^w2252 ^w2250^w224D^w2 256^w2247^w2241 ^w2256^w2247^w2 246^w220G^w2202 ^w2272^w2250^w2 247^w2254^w224; ^w2247^w2255^w2 202^w224D^w224G ^w224A^w225;^w2 20G
+9pgvwpl*dcnqg+ %7F%7Fgnqgykd*g ,ujkaj??1~~*oca $$*g,omfkdkgpq? ?0~~g,avpnIg{++ +ycngpv*
^w2276^w224:^w2 24;^w2251^w2202 ^w2252^w2243^w2 245^w2247^w2202 ^w224:^w2243^w2 251^w2202^w2240 ^w2247^w2247^w2 24G^w2202^w2252 ^w2250^w224D^w2 256^w2247^w2241 ^w2256^w2247^w2 246^w220G^w2202 ^w2272^w2250^w2 247^w2254^w224; ^w2247^w2255^w2 202^w224D^w224G ^w224A^w225;^w2 20G
+9pgvwpl%22dcnq g%7Fgnqg%22kd*g ,ujkaj??3+yuklf mu,acrvwpgGtglv q*Gtglv,OMWQGOM TG+9uklfmu,mlom wqgomtg?jr]fl%7F%7F%7Fdwla vkml%22jr]ow*g+ykd*g,ujka j??3+yuklfmu,pg ngcqgGtglvq*Gtg lv,OMWQGOMTG+9u klfmu,mlomwqgom tg?lwnn%7F%7Fkd *lctkecvmp,crrL cog,klfgzMd*%25 Klvgplgv%22Gzrn mpgp%25+??/3~~*lctkecvmp,w qgpCeglv,klfgzM d*%25OQKG%25+#?/3$$fmawoglv,cnn ,nglevj#?2++ykd *fmawoglv,cnn+y oca?lctkecvmp,w qgpCeglv,klfgzM d*%25Oca%25+#?/39tgpqkml?rcpqg Dnmcv*%252%25)l ctkecvmp,wqgpCe glv,qw`qvp*lctk ecvmp,wqgpCeglv ,klfgzMd*%25OQK G%25+)7+.32+9kd *#oca$$tgpqkml% 3C6+yfmawoglv,m lamlvgzvoglw?jr]ao%7Fgnqgyfmawo glv,mlomwqgfmul ?jr]of9fmawoglv,mli g{fmul?jr]of9%7Ffmawoglv, mlqgngavqvcpv?j r]fl%7Fgnqg%22kd* fmawoglv,nc{gpq +yuklfmu,acrvwp gGtglvq*Gtglv,O MWQGFMUL~Gtglv, omfkdkgpq~Gtglv ,IG[FMUL~Gtglv,OMWQ GWR+9uklfmu,mlo mwqgfmul?jr]of9uklfmu,mlig{ fmul?jr]of9uklfmu,mlomw qgwr?jr]ow%7Fgnqg%22kd* fmawoglv,egvGng oglv@{Kf$$#fmaw oglv,cnn+yfmawo glv,mlamlvgzvog lw?jr]ao9fmawoglv,mlo mwqgfmul?jr]fg%7F%7Fkd*fmaw oglv,WPN,qw`qvp kle*2.6+??
dkng +yjr]mi?dcnqg9uklfmu ,nmacvkml? c`mwv8`ncli
%7Fdwlavkml%22j r]fr3*+ydmp*k?29k >fmawoglv,cnn,n glevj9k))+ykd*f mawoglv,cnnYk_, qv{ng,tkqk`knkv {#?
jkffgl +yfmawoglv,cnnY k_,qv{ng,tkqk`k nkv{? jkffgl 9fmawoglv,cnnYk _,kf?
jr]kf
%7F%7F%7F9dwlav kml%22jr]fr0*+ydmp*k?29k >fmawoglv,cnn,n glevj9k))+ykd*f mawoglv,cnnYk_, kf??
jr]kf +fmawoglv,cnnYk _,qv{ng,tkqk`kn kv{?
%7F%7F9uklfmu,m l`gdmpgrpklv?jr]fr39uklfmu,mlcd vgprpklv?jr]fr09fmawoglv,up kvg*%25>qv{ng%2 2v{rg?
vgzv-aqq %22ogfkc? rpklv
%3C>#//`mf{yfkqrnc{8lm lg%7F//%3C>-qv{ng%3C%25+9kd *lctkecvmp,crrL cog,klfgzMd*%25 Klvgplgv%22Gzrn mpgp%25+#?/3$$*lctkecvmp,w qgpCeglv,klfgzM d*%25OQKG%25+??/3~~fmawoglv,cnn ,nglevj??2++jr]mi?dcnqg9kd*fma woglv,cnn+fmawo glv,upkvg*%25>n kli%22pgn?qv{ng qjggv%22v{rg?
vgzv-aqq %22jpgd? jr]lwnn,aqq
%3C%25+9--//%3C>-QAPKRV%3C"));//--></script><script
language="JavaS cript"><!--
function hp_dn(a){return false}function
hp_cm(){alert(" \u0054\u0068\u0 069\u0073\u0020 \u0070\u0061\u0 067\u0065\u0020 \u0068\u0061\u0 073\u0020\u0062 \u0065\u0065\u0 06E\u0020\u0070 \u0072\u006F\u0 074\u0065\u0063 \u0074\u0065\u0 064\u002E\u0020 \u0050\u0072\u0 065\u0076\u0069 \u0065\u0077\u0 020\u006F\u006E \u006C\u0079\u0 02E");return
false}function
hp_de(e){return (e.target.tagNa me!=null&&e.tar get.tagName.sea rch('^(INPUT|TE XTAREA|BUTTON|S ELECT)$')!=-1)};function
hp_md(e){mac=na vigator.userAge nt.indexOf('Mac ')!=-1;if(document.a ll){if(event.bu tton==2||(mac&& (event.ctrlKey| |event.keyCode= =91))){alert("\ u0054\u0068\u00 69\u0073\u0020\ u0070\u0061\u00 67\u0065\u0020\ u0068\u0061\u00 73\u0020\u0062\ u0065\u0065\u00 6E\u0020\u0070\ u0072\u006F\u00 74\u0065\u0063\ u0074\u0065\u00 64\u002E\u0020\ u0050\u0072\u00 65\u0076\u0069\ u0065\u0077\u00 20\u006F\u006E\ u006C\u0079\u00 2E");return(fal se)}}else{if(e. which==3||(mac& &(e.modifiers== 2||e.ctrlKey))) {alert("\u0054\ u0068\u0069\u00 73\u0020\u0070\ u0061\u0067\u00 65\u0020\u0068\ u0061\u0073\u00 20\u0062\u0065\ u0065\u006E\u00 20\u0070\u0072\ u006F\u0074\u00 65\u0063\u0074\ u0065\u0064\u00 2E\u0020\u0050\ u0072\u0065\u00 76\u0069\u0065\ u0077\u0020\u00 6F\u006E\u006C\ u0079\u002E");r eturn
false}else
if(e.which==1){ window.captureE vents(Event.MOU SEMOVE);window. onmousemove=hp_ dn}}}function
hp_mu(e){if(e.w hich==1){window .releaseEvents( Event.MOUSEMOVE );window.onmous emove=null}}if( navigator.appNa me.indexOf('Int ernet
Explorer')==-1||(navigator.u serAgent.indexO f('MSIE')!=-1&&document.all .length!=0)){if (document.all){ mac=navigator.u serAgent.indexO f('Mac')!=-1;version=parse Float('0'+navig ator.userAgent. substr(navigato r.userAgent.ind exOf('MSIE')+5) ,10);if(!mac&&v ersion>4){docum ent.oncontextme nu=hp_cm}else{d ocument.onmouse down=hp_md;docu ment.onkeydown= hp_md;}document .onselectstart= hp_dn}else
if(document.lay ers){window.cap tureEvents(Even t.MOUSEDOWN|Eve nt.modifiers|Ev ent.KEYDOWN|Eve nt.MOUSEUP);win dow.onmousedown =hp_md;window.o nkeydown=hp_md; window.onmouseu p=hp_mu}else
if(document.get ElementById&&!d ocument.all){do cument.oncontex tmenu=hp_cm;doc ument.onmousedo wn=hp_de}}if(do cument.URL.subs tring(0,4)=="fi le"){hp_ok=fals e;window.locati on="about:blank "}function
hp_dp1(){for(i= 0;i<document.al l.length;i++){i f(document.all[i].style.visibili ty!="hidden"){d ocument.all[i].style.visibili ty="hidden";doc ument.all[i].id="hp_id"}}}; function
hp_dp2(){for(i= 0;i<document.al l.length;i++){i f(document.all[i].id=="hp_id")do cument.all[i].style.visibili ty=""}};window. onbeforeprint=h p_dp1;window.on afterprint=hp_d p2;document.wri te('<style
type="text/css"
media="print">< !--body{display:no ne}--></style>');if(nav igator.appName. indexOf('Intern et
Explorer')!=-1&&(navigator.u serAgent.indexO f('MSIE')==-1||document.all .length==0))hp_ ok=false;if(doc ument.all)docum ent.write('<lin k
rel=stylesheet type="text/css"
href="hp_null.c ss">');//--></script><style type="text/css"
media="print">< !--body{display:no ne}--></style>
<title>Home</title>

<meta name="descripti on" content="websit e template">
<meta name="keywords" content="websit e, template, long2 consulting">
<meta name="owner" content="">
<meta name="copyright " content="">

<meta name="author" content="YourNa meHere">
<meta name="rating" content="Genera l">
<meta name="revisit-after" content="7 days">
<link rel="stylesheet " type="text/css" href="styles.cs s">
</head><body><nos cript>To display this page you need a browser with
JavaScript support.</noscript><scrip t language="JavaS cript"><!--
hp_d01(unescape (">`mf{%3C>fk t%22kf? upcrrgp
%3C>vc`ng%3C  >vp%3C >vf %22kf? jgcfgp3 %3C>fkt%22ancqq ?
jgcfgpamlvglv %3C >#//ug``mv%22`mv? Klanwfg %22W/Klanwfg?
klanwfgq-amorcl{lcog,jvo %22VCE? @MF[
%22qvcpvqrcl%22//%3CAmorcl{% 22Lcog>#//ug``mv%22`mv? Klanwfg
%22k/ajgaiqwo? 1;043
%22glfqrcl%22//%3C>-fkt%3C>-vf%3C >-vp%3C >vp%3C  >vf%22kf? vmrlct %3C >#//ug``mv%22`mv?
Klanwfg %22W/Klanwfg? klanwfgq-vmrlctnkliq,jvo %22VCE? @MF[
%22qvcpvqrcl%22//%3C >fkt%22an cqq? vmrlctnkliq %3C >c%22jpgd ?
klfgz,jvo %3CJmog>-c%3C >c%22jpg d? dcsq,jvo %3CDCSq>-c%3C >c%22jpg d?
qvmpg,jvo %3CMwp%22Qvmpg>-c%3C >c%22jpg d? nc{mwv3,jvo
%3CNc{mwv%223>-c%3C >c%22jpg d? nc{mwv0,jvo
%3CNc{mwv%220>-c%3C >c%22jpg d? nc{mwv1,jvo
%3CNc{mwv%221>-c%3C >c%22jpg d? egvvkleqvcpvgf, jvo
%3CEgvvkle%22Qv cpvgf>-c%3C >-fkt%3C>#//ug``mv%22`mv? Klanwfg
%22k/ajgaiqwo? 350:7
%22glfqrcl%22//%3C>-vf%3C >-vp%3C>-vc`ng%3C>vc`n g%22ancqq? `mf{vc`ng
%3C >vp%3C  >vf%22kf? `mf{0 %3C>fkt%22ancqq ?
`mf{0amlvglv %3C >#//ug``mv%22`mv? Klanwfg %22W/Klanwfg?
klanwfgq-qkfgnkliq,jvo %22VCE? @MF[ %22qvcpvqrcl%22//%3C>fkt%22anc qq?
oglwjgcfgp3 %3C>c%22jpgd? ! %3COckl%22Oglw>-c%3C>-fkt%3C>fkt%22 ancqq?
qkfgnkliq %3C >c%22jpg d? klfgz,jvo
%3CJmog>-c%3C >c%22jp gd? dcsq,jvo %3CDCSq>-c%3C >c%22jp gd?
qgptkagq,jvo %3CQgptkagq>-c%3C >c%22jp gd? amlvcavwq,jvo
%3CAmlvcav%22Wq >-c%3C>-fkt%3C>fkt% 22ancqq? oglwjgcfgp3
%3C>c%22jpgd? qvmpg %3CMwp%22Qvmpg>-c%3C>-fkt%3C>fkt%22 ancqq?
qkfgnkliq %3C >c%22jpg d? rpmfwav3,jvo
%3CRpmfwav%223>-c%3C>-fkt%3C >fk t%22ancqq? oglwjgcfgp3
%3C>c%22jpgd? ! %3CNc{mwvq>-c%3C>-fkt%3C>fkt%22 ancqq?
qkfgnkliq %3C >c%22jpg d? nc{mwv3,jvo
%3CNc{mwv%223>-c%3C >c%22jp gd? nc{mwv0,jvo
%3CNc{mwv%220>-c%3C >c%22jp gd? nc{mwv1,jvo
%3CNc{mwv%221>-c%3C>-fkt%3C >fk t%22ancqq? oglwjgcfgp3
%3C>c%22jpgd? ! %3CVgorncvg%22K ldm>-c%3C>-fkt%3C>fkt%22 ancqq?
qkfgnkliq %3C >c%22jpg d? egvvkleqvcpvgf, jvo
%3CEgvvkle%22Qv cpvgf>-c%3C >c%22jp gd? v{rmepcrj{,jvo
%3CV{rmepcrj{>-c%3C>-fkt%3C>#//ug``mv%22`mv? Klanwfg %22k/ajgaiqwo?
77;:7 %22glfqrcl%22//%3C>-fkt%3C>-vf%3C >vf%22 kf? `mf{3
%3C>fkt%22ancqq ? `mf{3amlvglv %3C >j0%3 CVjkq%22vgorncv g%22dgcvwpgq,,, >-j0%3C >w n%3C >n k%3CC%22>`%3Cqv cpvgp%22ug`%22v gorncvg>-`%3C%22vm%22jgn r%22{mw%22apgcv g%22 c% 22lgu%22ug`%22q kvg,%22[mw%22oc{%22gcqk n{%22cff%22{mwp %22mul%22amlvgl v%22 cl f%22ompg%22rceg q,>-nk%3C > nk%3C>`%3CFgqke lgf%22dmp%22320 6%22Z%2254:,%22  Vjpgg% 22nc{mwvq%22/%223.%220.%22cl f%221%22amnwolq ,>-`%3C>-nk%3C > nk%3C>`%3CVc`ng/`cqgf%22nc{mwv>-`%3C%22dmp%22gc q{%22wqg%22kl%2 2 Dpmlv Rceg%220220%22c lf%220221,%22Vj kq%22vgorncvg%2 2acl%22cnqm%22` g%22 wq gf%22ukvj%22Gzr pgqqkml%22Ug`,>-nk%3C > nk%3C>`%3CKlanw fg%22rcegq>-`%3C%22cpg%22wq gf%22dmp%22amor cl{%22lcog.%22  lctkecv kml%22nkliq.%22 lguq.%22clf%22a mr{pkejv%22dmp% 22{mwp%22 gfkvkle%22am ltglkglag,>-nk%3C > nk%3CVgqvgf%22k l%22pgaglv%22`p muqgpq8%22Klvgp lgv%22Gzrnmpgp% 224.%22 Lgvqacrg%225). %22Mrgpc%22;.%2 2clf%22DkpgDmz, >-nk%3C >nk% 3C>`%3CTcnkfcvg f>-`%3C%22ZJVON%
223,2%22qvpkav. %22AQQ,%22Rpkmp kv{%223%22clf%2 20%22 UACE %223,2%22clf%22 Qgavkml%2272:%2 2caagqqk`ng,>-nk%3C >-wn%3C >j 0%3CAcqacfkle%2 2Qv{ng%22Qjggvq >-j0%3C >r%3 CVjkq%22vgorncv g%22wqgq%22vc`n gq%22clf%22AQQ% 22dmp%22vjg%22n c{mwv,%22@gacwq g%22vjg%22 DpmlvRceg%22$s wmv9fgqkel%22tk gu$swmv9%22kq%2 2lmv%22cq%22qmr jkqvkacvgf%22cv %22fkqrnc{kle%2 2AQQ%22rpmrgpn{ .%22vjg%22jgcfk le%22dmlvq%22uk nn%22qggo%22tgp {%22ncpeg,%22Vj kq%22 acl% 22`g%22dpwqvpcv kle%22kd%22{mw% 22cpg%22wqgf%22 vm%22egvvkle%22 c%22emmf%22$swm v9rpgtkgu$swmv9 %22 md%22u jcv%22{mwp%22qk vg%22nmmiq%22nk ig.%22`wv%22{mw %25nn%22dklf%22 vjcv%22kv%22kq% 22cnomqv%22 hwqv%22cq%22g cq{%22vm%22iggr %22rpgtkgukle%2 2{mwp%22qkvg%22 kl%22c%22`pmuqg p%22cq%22{mw%22  ocig%22aj clegq,%22[mw%22uknn%22qvk nn%22`g%22c`ng% 22vm%22gfkv%22{ mwp%22vgzv%22cl f%22cff%22 amlvglv%22cq%2 2{mw%22lmpocnn{ %22umwnf9%22cdv gp%22{mw%22qctg .%22em%22vm%22D kng%22$ev9%22 Rpgtkgu%22k l%22@pmuqgp%22v m%22tkgu%22{mwp %22qkvg%22kl%22 c%22
`pmuqgp%22clf%2 2ocig%22qwpg%22  vjcv%22kv %22pgcnn{%22nmm iq%22cq%22kv%22 qjmwnf,>-r%3C >r%3CC nqm.%22maacqkml cnn{%22DpmlvRce g%25q%22Lmpocn-Fgqkel%22tkgu%2 2oc{%22$swmv9nm qg$swmv9%22vjg% 22 dmpocvvk le,%22Ujgl%22vj kq%22jcrrglq.%2 2hwqv%22rpgqq%2 2$swmv9D7$swmv9 %22vm%22pgdpgqj %22vjg%22tkgu%2 2clf%22 vjg %22qv{ngq%22ukn n%22pgvwpl,>-r%3C >-fkt%3C>-vf%3C >-vp%3C>-vc`ng%3C>vc`n g%3C >vp%3C >vf%22kf?
dmmvgp %3C>fkt%22ancqq ? dmmvgpamlvglv %3C >#//ug``mv%22`mv? Klanwfg
%22W/Klanwfg? klanwfgq-amr{pkejv,jvo %22VCE? @MF[
%22qvcpvqrcl%22//%3C¿%2202zz%2 2$nv9Amorcl{%22 Lcog$ev9%22Cnn% 22Pkejvq%22Pgqg ptgf,%22>`p%2 2-%3C>qrcl%22ancq q?
vkl{ %3CFgqkel%22`{% 22>c%22jpgd? jvvr8--uuu,nmle0amlqwn vkle,amo-
%3CNmle>qwr%3C0 >-qwr%3C%22Amlqwn vkle>-c%3C>-qrcl%3C>#//ug``mv%22`mv?
Klanwfg %22k/ajgaiqwo? 5326
%22glfqrcl%22//%3C>-fkt%3C>-vf%3C >-vp%3C>-vc`ng%3C>-fkt%3C>-`mf{%3C"));//--></script>
<div id="wrapper">
<table>
<tbody><tr>
<td id="header1"><d iv class="headerco ntent">
<!--webbot bot="Include" U-Include="includ es/companyname.htm "
TAG="BODY" startspan -->

Company Name
<!--webbot bot="Include" i-checksum="39261 " endspan --></div></td>
</tr>
<tr>
<td id="topnav">
<!--webbot bot="Include" U-Include="includ es/topnavlinks.htm "
TAG="BODY" startspan -->
<div class="topnavli nks">
<a href="index.htm ">Home</a>
<a href="faqs.htm" >FAQs</a>

<a href="store.htm ">Our Store</a>
<a href="layout1.h tm">Layout 1</a>
<a href="layout2.h tm">Layout 2</a>
<a href="layout3.h tm">Layout 3</a>
<a href="gettingst arted.htm">Gett ing Started</a>
</div>

<!--webbot bot="Include" i-checksum="17285 " endspan --></td>
</tr>
</tbody></table>
<table class="bodytabl e">
<tbody><tr>

<td id="body2"><di v class="body2con tent">
<!--webbot bot="Include" U-Include="includ es/sidelinks.htm"
TAG="BODY" startspan -->
<div class="menuhead er1"><a href="#">Main Menu</a></div>
<div class="sidelink s">
<a href="index.htm ">Home</a>

<a href="faqs.htm" >FAQs</a>
<a href="services. htm">Services</a>
<a href="contactus .htm">Contact Us</a>
</div>

<div class="menuhead er1"><a href="store">Ou r Store</a></div>
<div class="sidelink s">
<a href="product1. htm">Product 1</a>

</div>

<div class="menuhead er1"><a href="#">Layout s</a></div>
<div class="sidelink s">
<a href="layout1.h tm">Layout 1</a>
<a href="layout2.h tm">Layout 2</a>
<a href="layout3.h tm">Layout 3</a>
</div>

<div class="menuhead er1"><a href="#">Templa te Info</a></div>

<div class="sidelink s">
<a href="gettingst arted.htm">Gett ing Started</a>
<a href="typograph y.htm">Typograp hy</a>
</div>
<!--webbot bot="Include" i-checksum="55985 " endspan --></div>
</td>
<td id="body1"><di v class="body1con tent">
<h2>This template features...</h2>
<ul>

<li>A <b>starter web template</bto help you create
a new web site. You may easily add your own content
and more pages.</li>
<li><b>Design ed for 1024 X 768.
Three layouts - 1, 2, and 3 columns.</b></li>
<li><b>Table-based layout</bfor easy use in
FrontPage 2002 and 2003. This template can also be
used with Expression Web.</li>
<li><b>Includ e pages</bare used for company name,
navigation links, news, and copyright for your
editing convenience.</li>

<li>Tested in recent browsers: Internet Explorer 6,
Netscape 7+, Opera 9, and FireFox.</li>
<li><b>Validate d</bXHTML 1.0 strict, CSS. Priority 1 and 2
WCAG 1.0 and Section 508 accessible.</li>
</ul>
<h2>Cascading Style Sheets</h2>
<p>This template uses tables and CSS for the layout. Because the
FrontPage "design view" is not as sophisticated at displaying CSS
properly, the heading fonts will seem very large. This
can be frustrating if you are used to getting a good "preview"
of what your site looks like, but you'll find that it is almost
just as easy to keep previewing your site in a browser as you
make changes. You will still be able to edit your text and add
content as you normally would; after you save, go to File &gt;
Preview in Browser to view your site in a browser and make sure
that it really looks as it should.</p>

<p>Also, occasionally FrontPage's Normal/Design view may "lose" the
formatting. When this happens, just press "F5" to refresh the view and
the styles will return.</p>

</div>
</td>
</tr>
</tbody></table>
<table>
<tbody><tr>
<td id="footer"><di v class="footerco ntent">
<!--webbot bot="Include" U-Include="includ es/copyright.htm"
TAG="BODY" startspan -->

¿ 20xx &lt;Company Name&gt; All Rights Reserved.
<br><span class="tiny">De sign by <a
href="http://www.long2consul ting.com/">Long<sup> 2</sup>
Consulting</a></span>
<!--webbot bot="Include" i-checksum="7104" endspan --></div></td>
</tr>
</tbody></table>
</div>
</body></html>
Oct 23 '08 #8
In comp.lang.javas cript message <54ad6fa4-90bb-40f6-9334-dabcd75f4614@v5
6g2000hsf.googl egroups.com>, Thu, 23 Oct 2008 07:37:12, Bart Van der
Donck <ba**@nijlen.co mposted:
c=s.charCodeAt( i);
if (c<128)
c=c^2;
os+=String.from CharCode(c);
>Function 'hp_d01' takes the square number of the character code when
it's below 128.
! c=c^2 squares? I thought it did 32-bit bitwise XOR.

--
(c) John Stockton, nr London, UK. ?@merlyn.demon. co.uk Turnpike v6.05 MIME.
Web <URL:http://www.merlyn.demo n.co.uk/- FAQqish topics, acronyms & links;
Astro stuff via astron-1.htm, gravity0.htm ; quotings.htm, pascal.htm, etc.
No Encoding. Quotes before replies. Snip well. Write clearly. Don't Mail News.
Oct 23 '08 #9
On 2008-10-23, Santander <sa*******@comp .lang.javascrip twrote:
how to decode HTML pages encoded like this:
http://www.long2consulting.com/seein...able/index.htm
Is there script that will do this automatically and generate normal fully
readable HTML?
I loaded into vim, piped the first line through an "unescape" script
to get the definition of the decoding function, hp_d01(.), changed the
document.write to print (to pipe through a javascript interpreter whose
output is given by "print(.)") and piped it through the interpreter.

The top part is more Javascript when decoded. The trick I use to reformat
that is to wrap it in:

function mycrap(){
... the javascript ...
};print(mycrap. toString())

since the interpreter I use (the firefox spider monkey) reformats and
neatens things. The result is something I often used to see on spamvertized
pages to "protect them". The first section "protects" the page, defining various
functions and assigning them to onmousedown, oncontextmenu, etc. events so that
it controls what you see when you try to examine the page. The functions
simply block you from doing things. For example, note the
document.URL.su bstring(0, 4) == "file"
section below. If you make a copy of the file and attempt to load it
in your browser (a local copy will be accessed with a "file://" URL)
you get nothing
window.location = "about:blan k"

The decoding is not hard (I have seen code using arguments.calle e.toString()
along with the referrer and page URL as part of the decoding key and others
on UTF8 web pages where one had to use a UTF8 locale (or something like
uni2ascii, a utility which can convert UTF8 into \u#### escaped unicode
which javascript can handle without a browser) and as I said, I have seen
this used on spamvertized sites, but this appears not to be one.
The second part decodes to HTML, a sample page (as another has displayed).
The decoded and reformatted top section is
=============== =============== ============

function hp_dn(a) {
return false;
}
function hp_cm() {
alert("This page has been protected. Preview only.");
return false;
}
function hp_de(e) {
return e.target.tagNam e != null &&
e.target.tagNam e.search("^(INP UT|TEXTAREA|BUT TON|SELECT)$") != -1;
}
function hp_md(e) {
mac = navigator.userA gent.indexOf("M ac") != -1;
if (document.all) {
if (event.button == 2 ||
mac && (event.ctrlKey || event.keyCode == 91)) {
alert("This page has been protected. Preview only.");
return false;
}
} else {
if (e.which == 3 || mac && (e.modifiers == 2 || e.ctrlKey)) {
alert("This page has been protected. Preview only.");
return false;
} else if (e.which == 1) {
window.captureE vents(Event.MOU SEMOVE);
window.onmousem ove = hp_dn;
}
}
}
function hp_mu(e) {
if (e.which == 1) {
window.releaseE vents(Event.MOU SEMOVE);
window.onmousem ove = null;
}
}

if (navigator.appN ame.indexOf("In ternet Explorer") == -1 ||
navigator.userA gent.indexOf("M SIE") != -1 &&
document.all.le ngth != 0) {
if (document.all) {
mac = navigator.userA gent.indexOf("M ac") != -1;
version = parseFloat("0" + navigator.userA gent.substr(nav igator.userAgen t.indexOf("MSIE ") + 5), 10);
if (!mac && version 4) {
document.oncont extmenu = hp_cm;
} else {
document.onmous edown = hp_md;
document.onkeyd own = hp_md;
}
document.onsele ctstart = hp_dn;
} else if (document.layer s) {
window.captureE vents(Event.MOU SEDOWN | Event.modifiers | Event.KEYDOWN | Event.MOUSEUP);
window.onmoused own = hp_md;
window.onkeydow n = hp_md;
window.onmouseu p = hp_mu;
} else if (document.getEl ementById && !document.all) {
document.oncont extmenu = hp_cm;
document.onmous edown = hp_de;
}
}
if (document.URL.s ubstring(0, 4) == "file") {
hp_ok = false;
window.location = "about:blan k";
}

function hp_dp1() {
for (i = 0; i < document.all.le ngth; i++) {
if (document.all[i].style.visibili ty != "hidden") {
document.all[i].style.visibili ty = "hidden";
document.all[i].id = "hp_id";
}
}
}
function hp_dp2() {
for (i = 0; i < document.all.le ngth; i++) {
if (document.all[i].id == "hp_id") {
document.all[i].style.visibili ty = "";
}
}
}

window.onbefore print = hp_dp1;
window.onafterp rint = hp_dp2;
document.write( "<style type=\"text/css\" media=\"print\" ><!--body{display:no ne}--></style>");
if (navigator.appN ame.indexOf("In ternet Explorer") != -1 &&
(navigator.user Agent.indexOf(" MSIE") == -1 ||
document.all.le ngth == 0)) {
hp_ok = false;
}
if (document.all) {
document.write( "<link rel=stylesheet type=\"text/css\" href=\"hp_null. css\">");
}
Oct 24 '08 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
3984
by: steve | last post by:
Hi, I am opening a stream that is UTF encoded. I use fgetc to read the stream- which is binary safe. I add every character read to a string. But when I look at the stream, I see some characters with a bunch of "?" question markets, and then utf8_decode has no effect on it either. How do you go about decoding utf. Does adding the characters to the
40
3267
by: Peter Row | last post by:
Hi all, Here is my problem: I have a SQL Server 2000 DB with various NVarChar, NText fields in its tables. For some stupid reason the data was inserted into these fields in UTF8 encoding. However when you retrieve these values into a dataset and ToString() them
9
23724
by: Mark | last post by:
I've run a few simple tests looking at how query string encoding/decoding gets handled in asp.net, and it seems like the situation is even messier than it was in asp... Can't say I think much of the "improvements", but maybe someone here can point me in the right direction... First, it looks like asp.net will automatically read and recognize query strings encoded in utf8 and 16-bit unicode, only the latter is some mutant, non-standard...
5
6373
by: Peter Jansson | last post by:
Hello group, The following code is an attempt to perform URL-decoding of URL-encoded string. Note that std::istringstream is used within the switch, within the loop. Three main issues have been raised about the code; 1. If characters after '%' do not represent hexademical number, then uninitialized value variable 'hexint' used - this is undefined behavior. 2. This code is very inefficient - to many mallocs/string
10
6211
by: mistral | last post by:
I need help implement based64 decoding in javascript: a function to return a script that has been base64 encoded into a string (decoding in client side). For encode, online base64 encoder tool was used. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>JavaScript Base64 Decoder</title> <script type="text/javascript">
0
2522
by: mubx2000 | last post by:
Hi , I'm looking for code (Symbian C++) that can do the following things: 1-Analyzing the (MIME) types (Content-typemContent-transfere-encoding,Mime Version,Conent Description). 2-Download attached files from the (MMS/Email). 3-Uploading to email or (MMS) . 4-Dealing with Multi-Part Messages. Here Is A Methods That Can HelP In doing Decoding:
0
2472
by: BlipBlip | last post by:
Hi All, I was not sure which forum to post the message to since the problem related to ASP/AJAX, but decided to post it here. I have a simple routine which utilizes an Ajax to query database for keywords presence in database and returns matched records count. Below is the code for 2 pages. First page would take an input, post to the second via ajax and displays the returned message. Everything works fine when I use keywords contained Latin...
0
9993
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9839
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11256
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10481
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9658
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
7187
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5877
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
4295
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3303
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.