![]() | |||||||
Javascript: what kind of form is this code? The following should be only a part of a mortgage calculator javascript code. I got it with "right click and view source code" What kind of form is it? <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>Mortgage Calculator</title> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1"> </head> <body> <script language="JavaScript" type="text/JavaScript"> <!-- var d="b}ZO[JENY~VJQR~NI\\RU[~|qooGk[ooZJZ~VJQR~jpnm~J,=0+5*5/0=2ooYP|`%0D%0Ab6*12`%0D%0Ab69=:`%0D%0Ab*5*29`\\5q G9932%25~=0:~Q/0*62%25~Q/,*7=79~[=2;)2=*/,bo*5*29`%0D%0Ab19*=~6**.q9-)5(a|[/0*90*qJ%25.9|~;/0*90*a|*9&*o6*12c~;6=,+9*a5+/qffieqm|`%0D%0Ab19*=~0=19a|;/.%25,576*|~;/0*90*a|Z/1505-)9~N92=:9=)~q~'''pm+*/.q1/,*7=79;=2;)2=*/,p;/1|`%0D%0Ab19*=~0=19a|:9+;,5.*5/0|~;/0*90*a|Q/0*62%25~(+~<5q'9932%25~1/,*7=79+r~:/)<29~1/,*7=79~;=2;)2=*/,|`%0D%0Ab19*=~0=19a|39%25'/,:+|~;/0*90*a|1/,*7=79r~1/0*62%25~1/,*7=79r~<5q'9932%25~1/,*7=79~;=2;)2=*/,|`%0D%0Ab+;,5.*~2=07)=79a|T=(=K;,5.*|~*%25.9a|*9&*oT=(=K;,5.*|`%0D%0Ab}qq~~VUZY~qqqqq%0D%0Aoo~[/.%25,576*~Z/1505-)9~N92=:9=)%0D%0Aoo~'''pm+*/.q1/,*7=79;=2;)2=*/,p;/1%0D%0A%0D%0A8)0;*5/0~8,=19J9+*vu#%0D%0A%0958v+928p0=19~}a~w\\5Q/1/,*wu~#~%0D%0A%09%09*/.p2/;=*5/0p6,98~a~|6**.doo'''pm+*/.q1/,*7=79;=2;)2=*/,p;/1o1/,*7=79q;=2;)2=*/,q+)5*9p6*1|c%0D%0A%09%09./.1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A~~~~~~~~~~bo* =<29`%0D%0A~~~~~~~~~~b8/0*~;/2/,a|{XXXXXX|~+5$9a|ql|~8=;9a|=,5=2r692(9*5;=|`J69~= </(9~5+%0D%0A~~~~~~~~~~~~8/,~522)+*,=*5(9~.),./+9+~/02%25p~IK~L=*9+~=,9~;/1./)0:9:~1/0*62%25pb<,`%0D%0A~~~~~~~~~~b=~6,98a|4=(=+;,5.*d'50:/'p;2/+9vu|`b+*,/07`~b8/0*~+5$9a|l|`[ROKY~*65+~%0D%0A~~~~~~~~~~'50:/'bo8/0*`bo+*,/07`bo=`bo8/0*`bo:5(`%0D%0A~~~~~bo*:`%0D%0A~~bo*,`%0D%0Abo*=<29`%0D%0A~~boXOLQ`%0D%0Abo</:%25`%0D%0Abo6*12`";var fcrc="5B9814E0";function dc(e){var ds="";e=e.toUpperCase();for(i=0;i<e.length;i+=2){ds+=unescape("%" + e.substring(i,i+2));}return ds;}eval(dc("66756e6374696f6e2061626e286e297b766172206e6e3d286e 3c30293f6e2a2d313a6e3b72657475726e206e6e3b7d66756e 6374696f6e20686578286e756d297b76617220486578436861 7273203d202230313233343536373839414243444546223b76 617220486578537472203d2022223b6e756d3d61626e286e75 6d293b6966286e756d3d3d30292072657475726e2022303022 3b7768696c65286e756d3e30297b486578537472203d204865 7843686172732e636861724174286e756d25313629202b2048 65785374723b6e756d20323536292026203136373737323135 29205e20284352435461626c655b2863726320262032353529 205e207374722e63686172436f646541742869295d293b7d63 7263203d20637263205e202d313b6372633d68657828637263 293b6372633d6372632e746f55707065724361736528293b72 657475726e206372633b7d66756e6374696f6e207363286364 2c207373297b7661722072743d6e657720417272617928293b 666f7228693d303b693c63642e6c656e6774683b692b3d7373 297b72745b72742e6c656e6774685d3d63642e737562737472 696e6728692c692b7373293b7d72657475726e2072743b7d66 756e6374696f6e206463742873297b766172207374723d6e65 7720417272617928293b766172206e2c20636e743d303b733d 756e6573636170652873293b766172207363743d736328732c 2034303030293b7661722063743d2220215c22232425262728 292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f4041 42434445464748494a4b4c4d4e4f505152535455565758595a 5b5c5c5d5e5f606162636465666768696a6b6c6d6e6f707172 737475767778797a7b7c7d7e223b766172206374323d6e6577 20417272617928293b666f7228783d303b783c63742e6c656e 6774683b782b2b297b6374325b785d3d63742e636861724174 2878293b7d666f72286b3d303b6b3c7363742e6c656e677468 3b6b2b2b297b77696e646f772e7374617475733d2248544d4c 20436f6465204775617264206973206f70656e696e67207468 697320706167652022202b207061727365496e7428286b2f73 63742e6c656e677468292a31303029202b202225202e2e2e22 3b666f7228693d303b693c7363745b6b5d2e6c656e6774683b 692b2b297b6e3d63742e696e6465784f66287363745b6b5d2e 636861724174286929293b6966286e213d2d3129207374725b 636e745d3d6374325b39342d6e5d3b656c7365207374725b63 6e745d3d7363745b6b5d2e6368617241742869293b636e742b 2b3b7d207d72657475726e207374722e6a6f696e282222293b 7d7661722064643d6463742864293b77696e646f772e737461 7475733d22436865636b696e672066696c6520696e74656772 6974792e2e2e223b766172206372633d43616c634352433332 286464293b77696e646f772e7374617475733d22223b766172 2073703d747275653b696628637263213d66637263297b6966 2877696e646f772e636f6e6669726d28225468652070616765 20686173206572726f72732c206d6179626520697420776173 206e6f7420646f776e6c6f6164656420636f72726563746c79 2e5c6e446f20796f752077616e7420746f20646f776e6c6f61 6420697420616761696e3f2229297b73703d66616c73653b20 686973746f72792e676f2830293b7d656c73652073703d7472 75653b7d69662873702920646f63756d656e742e7772697465 286464293b64643d22223b643d22223b666372633d22223b")); //--> </script> </html> |
This is all poorly, unprofessionally coded Javascript. If you have code that is worth hiding, do it Server Side with php or asp, use session authentication, etc. Don't waste everyone's time and energy with this mess. After the first decoding step, you get: Code:
You still need to deleted the whole "d" mess. If you'd really like, I can do that for you, but its pretty simple to do even in notepad on your desktop. Bruce |
What is the way to decode it? Is there a tool I can use to do it? |
I ran the JavaScript and modified the output a little bit so I could view it. Code:
It is incomplete. The JavaScript just... cuts off when they define the goMortgage() function. Does this site actually work? A few comments about the code:
When you bring together all the failures of this site, it becomes very clear whoever designed this system was inexperienced. I would conclude that if this tool did return an answer, it is Very Likely that it is invalid. My advice: Don't use this mortgage calculator, even if it does "work". Bruce |
You are absolutely right. The code was too big, I could not include all of it here, so I deleted a big part of it in the middle and before the end (where is the return). Thank you!!! |
| All times are GMT -7. The time now is 01:09 PM. |
Powered by: vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0