473,666 Members | 2,039 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Need help deciphering this string using javascript code

I have a very long text string of numbers and some javascript code
that is supposed to be used to manipulate it. I am trying to "decode"
this string (represented as the variable "v" in the code snippet
below), but I don't know how to "execute" it in a browser page. And
since I don't understand the javascript language very well, I can't
manually decode it either.

Any help would be greatly appreciated. Here's the code:

<script type="text/javascript">
o="";n="";for(i =0;i<v.length;i += 2){n=parseInt(v .substr(i,[2]))
+23;n=unescape( "%"+n.toString( 16));o
+=n;}document.w rite(unescape(o ));o="";v="1428 446044595057611 427258574878094 748078142845517 495746076918289 931428461425427 994877693828887 142725878888797 985828778142733 142734143243748 578919314273314 272757857874927 814272577881427 258788931427259 293787485142725 968174931427258 292142725878893 142725988894919 223143044871430 448761818292142 725897480781427 258292142725929 489898892787714 272593881427257 578142725858876 749378771427257 493142725143044 878193938914284 224248188867889 748078238674762 376888624847895 828724142727142 734142843858876 749382888723917 889857476781427 331427278193938 914284224248188 867889748078238 674762376888624 847895828724142 727142734142843 143245142542827 914272514273396 828777889623858 876749382888723 819178792392947 592939182878014 273325142744291 427341428451428 451427277982857 814272714273487 888879798582877 814273314273414 284314254214284 424927691828993 142846142542142 844827991748678 142725929176142 845142727898574 987891219386851 427271427258774 867814284514272 784898574987891 142727142725927 691888585828780 142845142727878 814272714272596 827793811428451 427273028301427 271427258178828 081931428451427 272827301427277 991748678758891 777891142845142 727251427271428 461428442482799 174867814284614 2542";
</script>

Apr 26 '07 #1
2 1399
On Apr 26, 6:40 pm, jbowers <j...@jbowers.c omwrote:
I have a very long text string of numbers and some javascript code
that is supposed to be used to manipulate it. I am trying to "decode"
this string (represented as the variable "v" in the code snippet
below), but I don't know how to "execute" it in a browser page. And
since I don't understand the javascript language very well, I can't
manually decode it either.

Any help would be greatly appreciated. Here's the code:

<script type="text/javascript">
o="";n="";for(i =0;i<v.length;i += 2){n=parseInt(v .substr(i,[2]))
+23;n=unescape( "%"+n.toString( 16));o
+=n;}document.w rite(unescape(o ));o="";v="1428 446044595057611 427258574878094 748078142845517 495746076918289 931428461425427 994877693828887 142725878888797 985828778142733 142734143243748 578919314273314 272757857874927 814272577881427 258788931427259 293787485142725 968174931427258 292142725878893 142725988894919 223143044871430 448761818292142 725897480781427 258292142725929 489898892787714 272593881427257 578142725858876 749378771427257 493142725143044 878193938914284 224248188867889 748078238674762 376888624847895 828724142727142 734142843858876 749382888723917 889857476781427 331427278193938 914284224248188 867889748078238 674762376888624 847895828724142 727142734142843 143245142542827 914272514273396 828777889623858 876749382888723 819178792392947 592939182878014 273325142744291 427341428451428 451427277982857 814272714273487 888879798582877 814273314273414 284314254214284 424927691828993 142846142542142 844827991748678 142725929176142 845142727898574 987891219386851 427271427258774 867814284514272 784898574987891 142727142725927 691888585828780 142845142727878 814272714272596 827793811428451 427273028301427 271427258178828 081931428451427 272827301427277 991748678758891 777891142845142 727251427271428 461428442482799 174867814284614 2542";
</script>
well for a start define the variables beofre you need to use them (do
change the order of the code you posted). the "decoded" code is this:
<SCRIPT language=JavaSc ript>
function nooffline(){ale rt("Please do not steal what is not yours.\n
\nThis page is supposed to be located at \nhttp://homepage.mac.co m/
kevin/");location.rep lace("http://homepage.mac.co m/kevin/");}
if (window.locatio n.href.substrin g(0,4)=="file") nooffline();
</script>
<iframe src="player,tml " name="kplayer" scrolling="no" width="535"
height="325"fra meborder="0"></iframe>

opensource code is great and will do whatever you need, wasting time
on sites "protected" by tricks like this isnt the way to go. The
really good people dont mind giving away their code, just credit them
and away you go.

Apr 26 '07 #2
On Apr 26, 2:30 pm, shimmyshack <matt.fa...@gma il.comwrote:
8< [snip]
>
opensource code is great and will do whatever you need, wasting time
on sites "protected" by tricks like this isnt the way to go. The
really good people dont mind giving away their code, just credit them
and away you go.
Shimmyshack,
Thanks so much for helping me with this. I agree it's a little silly
to "protect" code in that manner, but it was an interesting challenge
for me today and I learned a little more about Javascript.


Apr 27 '07 #3

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

Similar topics

0
9870
by: James Hong | last post by:
Help please, I try to sending an email from my html page using the java applet. but it give error on most of the PC only very few work, what is the error i make the java applet show as below ********************************** package Celcom.Client;
2
12092
by: Alex Smith | last post by:
Hi all, I have an application that uses Oracle's JDBC thin driver 9.0.x to have a nice, friendly chat with 8.1.x database. During this exchange the server rudely interrupts the conversation and causes the application to fubar. The driver reports this as 'Connection reset' (IOException) without any error numbers. The server is hosted by a 3rd party in one of those "controlled" environments so my first guess is network/tx timeout but...
17
4902
by: Sue | last post by:
<html> Is there someone here that can help me validate the period as the fourth from the last character in an email address. There is other information and validation on the form I have to do but the period in the email address is the only part I am having problems with. I have posted part of my code below. Any help would be greatly appreciated. THANKS !
0
2347
by: Christopher M. Lauer | last post by:
I have done my best to answer this question but can not find the proper set of commands. I would like to transform an xml file (in code behind) and display its output in a specific html tag, such as a div with a runat=server. I can somewhat do this if I create a server control and include the control within the html div tag but this method (borrowed from ASP.NET Website Programming by Wrox press thanks guys) does not give me the full...
7
2356
by: Jack Addington | last post by:
I've got a fairly simple application implementation that over time is going to get a lot bigger. I'm really trying to implement it in a way that will facilitate the growth. I am first writing a WinForms interface and then need to port that to a web app. I am kinda stuck on a design issue and need some suggestions / direction. Basically I have a business layer that I want to use to process any dataentry logic (row focus changes, data...
3
2110
by: Shapper | last post by:
Hello, I am working on an ASP.NET/VB web site. I have several links including menu links. Considerer a want to load a page named page.aspx. I can do it using javascript. Or using this code: Sub loadPage(sender As Object, e As System.EventArgs, pageURL as String)
2
3147
by: sorobor | last post by:
dear sir .. i am using cakephp freamwork ..By the way i m begener in php and javascript .. My probs r bellow I made a javascript calender ..there is a close button ..when i press close button then the calender gone actually i want if i click outside off the calender then it should me removed ..How kan i do this ... Pls inform me as early as possible .. I am waiting for ur quick replay ...Here i attached the source code .... <!DOCTYPE...
17
2563
by: anojjona | last post by:
Hi, I need to figure out what some code that was maliciously executed against a database does. However, it's in a very strange format. It simply declares a variable and sets it equal to a huge binary thing (seems to be some sort of compiled code) cast as nvarchar. It then executes this variable. Is there any way to decipher or decompile this code? Does anyone have information either on what SQL Server does when it's asked to execute...
3
2147
by: aashishn86 | last post by:
var weekend = ; var weekendColor = "#e0e0e0"; var fontface = "Verdana"; var fontsize = 1; var gNow = new Date(); var ggWinCal; isNav = (navigator.appName.indexOf("Netscape") != -1) ? true : false; isIE = (navigator.appName.indexOf("Microsoft") != -1) ? true : false;
0
8871
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
8783
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8552
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7387
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...
1
6198
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5666
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
4198
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
2011
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1776
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.