Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
Site stolen with Javascript, help needed
Old 10-18-2004, 09:52 PM Site stolen with Javascript, help needed
hallipa's Avatar
Junior Talker

Posts: 1
Trades: 0
Hello, everybody.

A client of mine has a problem with some guy that has taken all his site and translated it to Chinese, getting all the traffic BUT using my client's bandwidth.

Attention, mature content!

The script he's using is this and as a Javascript illiterate, I get almost nothing out of it.

Code:
<base a href="http://www.92com.com/gallery/" target=_top>

<SCRIPT LANGUAGE="JavaScript">
<!--
 function itoa(val, base)
 {
   var ch, ret="";
   do{
     ch=val%base;
     if (ch>=10) ch=String.fromCharCode(55+ch);
     ret=ch + ret;
     val=(val-val%base) / base;
   } while (val>0);
   return ret;
 }
 function HuaJian(ctlbit, url)
 {
   var Loc="http://www.hjtek.com:1111/*";
   var Host="http://www.92com.com";
   var Dir="http://www.92com.com/gallery/";
 
   if (url.indexOf(Loc) != -1)
     return url;
 
   if (url.indexOf("http://")==0 || url.indexOf("https://")==0)
     return Loc+itoa(ctlbit, 16)+url;
   else if ( url.indexOf("/")==0 )
     return Loc+itoa(ctlbit, 16)+Host+url;
   else
     return Loc+itoa(ctlbit, 16)+Dir+url;
 }
// -->
</SCRIPT>
So hjtek.com is the Chinese guy's site and 92com.com is my client's site. Is there anything that you guys think can be done?

Cheers and thanks!
hallipa is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 10-19-2004, 02:15 AM
melfan's Avatar
Skilled Talker

Posts: 90
Trades: 0
I suggest block the IP address requesting that script.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE
melfan is offline
Reply With Quote
View Public Profile Visit melfan's homepage!
 
Reply     « Reply to Site stolen with Javascript, help needed
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.09971 seconds with 12 queries