Hiding Source Code

  • Bigwebmaster
  • Site Admin
  • Site Admin
  • User avatar
  • Joined: Dec 20, 2002
  • Posts: 8934
  • Loc: Seattle, WA & Phoenix, AZ
  • Status: Offline

Post January 18th, 2003, 3:10 pm

In the scrambled function above that said

Code: [ Select ]
function _y(s){
  s=unescape(s);
  t=Array();
  t[0]="";
  j=0;

  for (i = 0; i < s.length; i++) {
   t[j]+=String.fromCharCode(s.charCodeAt(i) + (i%2==0 ? 1 : -1));
   if((i+1)%300==0){
     j++;
     t[j]="";
   }
  }

  document.write=_dw;
  u="";
  for(i=0; i<t.length; i++) {
   u+=t[i];
  }

  document.write(u);

  u="";
  t=Array();
  _dw=document.write;
  document.write=null;
}
  1. function _y(s){
  2.   s=unescape(s);
  3.   t=Array();
  4.   t[0]="";
  5.   j=0;
  6.   for (i = 0; i < s.length; i++) {
  7.    t[j]+=String.fromCharCode(s.charCodeAt(i) + (i%2==0 ? 1 : -1));
  8.    if((i+1)%300==0){
  9.      j++;
  10.      t[j]="";
  11.    }
  12.   }
  13.   document.write=_dw;
  14.   u="";
  15.   for(i=0; i<t.length; i++) {
  16.    u+=t[i];
  17.   }
  18.   document.write(u);
  19.   u="";
  20.   t=Array();
  21.   _dw=document.write;
  22.   document.write=null;
  23. }


I simply rewrote it to say

Code: [ Select ]
function _y(s){
  s=unescape(s);
  t=Array();
  t[0]="";
  j=0;

  for (i = 0; i < s.length; i++) {
   t[j]+=String.fromCharCode(s.charCodeAt(i) + (i%2==0 ? 1 : -1));
   if((i+1)%300==0){
     j++;
     t[j]="";
   }
  }

  document.write=_dw;
  u="";
  for(i=0; i<t.length; i++) {
   u+=t[i];
  }




 // ADDED THIS PIECE OF CODE HERE TO OUTPUT SOURCE
  for(x=0; x<u.length; x++)
   document.write(u.charAt(x) + ' ');

  //document.write(u);

  u="";
  t=Array();
  _dw=document.write;
  document.write=null;
}
  1. function _y(s){
  2.   s=unescape(s);
  3.   t=Array();
  4.   t[0]="";
  5.   j=0;
  6.   for (i = 0; i < s.length; i++) {
  7.    t[j]+=String.fromCharCode(s.charCodeAt(i) + (i%2==0 ? 1 : -1));
  8.    if((i+1)%300==0){
  9.      j++;
  10.      t[j]="";
  11.    }
  12.   }
  13.   document.write=_dw;
  14.   u="";
  15.   for(i=0; i<t.length; i++) {
  16.    u+=t[i];
  17.   }
  18.  // ADDED THIS PIECE OF CODE HERE TO OUTPUT SOURCE
  19.   for(x=0; x<u.length; x++)
  20.    document.write(u.charAt(x) + ' ');
  21.   //document.write(u);
  22.   u="";
  23.   t=Array();
  24.   _dw=document.write;
  25.   document.write=null;
  26. }
Ozzu Hosting - Want your website on a fast server like Ozzu?
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post January 18th, 2003, 3:10 pm

  • Borrow -A- Geek
  • Professor
  • Professor
  • User avatar
  • Joined: Dec 20, 2002
  • Posts: 775
  • Loc: Dallas/Ft Worth, Texas
  • Status: Offline

Post January 18th, 2003, 3:11 pm

Ahhh yeah thats makes total sense... Very Nice Indeed,
  • Borrow -A- Geek
  • Professor
  • Professor
  • User avatar
  • Joined: Dec 20, 2002
  • Posts: 775
  • Loc: Dallas/Ft Worth, Texas
  • Status: Offline

Post January 18th, 2003, 7:44 pm

now we need to email the developer of that program and show him the source and tell him how easy it is to get around haha... im sure he already knows though!


  • UNFLUX
  • Genius
  • Genius
  • User avatar
  • Joined: Dec 20, 2002
  • Posts: 6382
  • Loc: twitter.com/unflux
  • Status: Offline

Post January 18th, 2003, 10:21 pm

damn man, very nice!

seems like a crock now that you've proven your point. Now it's more like a
deterrent than a proper hider of the code. very slick...very slick indeed.

You said that he provides the key and you used it....where? I suppose you mean
this, right?:
Code: [ Select ]
// ADDED THIS PIECE OF CODE HERE TO OUTPUT SOURCE
  for(x=0; x<u.length; x++)
   document.write(u.charAt(x) + ' ');

  //document.write(u);

  u="";
  t=Array();
  _dw=document.write;
  document.write=null;
}
  1. // ADDED THIS PIECE OF CODE HERE TO OUTPUT SOURCE
  2.   for(x=0; x<u.length; x++)
  3.    document.write(u.charAt(x) + ' ');
  4.   //document.write(u);
  5.   u="";
  6.   t=Array();
  7.   _dw=document.write;
  8.   document.write=null;
  9. }


wow, i'm stunned it only took you approx 8.2 seconds. haha kinda funny, but in
one way, I'm not surprised one bit. :wink:

bigwebmaster does it again. :hatsoff:
UNFLUX.FOTO
  • UNFLUX
  • Genius
  • Genius
  • User avatar
  • Joined: Dec 20, 2002
  • Posts: 6382
  • Loc: twitter.com/unflux
  • Status: Offline

Post January 18th, 2003, 10:23 pm

Gadget Guru wrote:
now we need to email the developer of that program and show him the source and tell him how easy it is to get around haha... im sure he already knows though!




Yeah i'm sure he does. he's more or less preying on people who don't know any
better. And based on my reaction to it, you'd think I was one of them.

Just got my cart before the horse I guess... :oops:

/unflux
Image
UNFLUX.FOTO
  • Bigwebmaster
  • Site Admin
  • Site Admin
  • User avatar
  • Joined: Dec 20, 2002
  • Posts: 8934
  • Loc: Seattle, WA & Phoenix, AZ
  • Status: Offline

Post January 19th, 2003, 2:04 am

UNFLUX wrote:
You said that he provides the key and you used it....where? I suppose you mean
this, right?:


Well I didn't even have to use the key to figure anything out, because I just used his javascript against him to output the source. That little code you pasted of mine above allows the code to just show up instead of being executed by your browser.... thus you see the whole source.
Ozzu Hosting - Want your website on a fast server like Ozzu?
  • Bigwebmaster
  • Site Admin
  • Site Admin
  • User avatar
  • Joined: Dec 20, 2002
  • Posts: 8934
  • Loc: Seattle, WA & Phoenix, AZ
  • Status: Offline

Post January 19th, 2003, 5:55 am

Hey check out this, anybody can de-scramble sources now :D

<a href="http://www.ozzu.com/forum/viewtopic.php?p=645" target="_top">http://www.ozzu.com/forum/viewtopic.php?p=645</a>
Ozzu Hosting - Want your website on a fast server like Ozzu?
  • mindtripstudios
  • Newbie
  • Newbie
  • No Avatar
  • Joined: Jun 14, 2003
  • Posts: 5
  • Status: Offline

Post June 14th, 2003, 7:33 pm

HAHA, just for fun send it to the webmaster of the site
  • Bigwebmaster
  • Site Admin
  • Site Admin
  • User avatar
  • Joined: Dec 20, 2002
  • Posts: 8934
  • Loc: Seattle, WA & Phoenix, AZ
  • Status: Offline

Post June 15th, 2003, 12:57 am

Haha, I am sure he already knows if he monitors search engine traffic because goto Google and type in the name of his site which is:

weblockpro

Ozzu is #2 and #3 :)
Ozzu Hosting - Want your website on a fast server like Ozzu?
  • UNFLUX
  • Genius
  • Genius
  • User avatar
  • Joined: Dec 20, 2002
  • Posts: 6382
  • Loc: twitter.com/unflux
  • Status: Offline

Post June 15th, 2003, 8:50 pm

are you serious?!?!?! that's FANTASTIC! haha :shock: :P
UNFLUX.FOTO
  • MediaDesign
  • Loser
  • Loser
  • User avatar
  • Joined: Jun 05, 2003
  • Posts: 129
  • Loc: somewhere
  • Status: Offline

Post June 16th, 2003, 2:42 pm

just php
  • UNFLUX
  • Genius
  • Genius
  • User avatar
  • Joined: Dec 20, 2002
  • Posts: 6382
  • Loc: twitter.com/unflux
  • Status: Offline

Post June 16th, 2003, 7:43 pm

just php?

what?!?! :?: :?: :?
UNFLUX.FOTO
  • MediaDesign
  • Loser
  • Loser
  • User avatar
  • Joined: Jun 05, 2003
  • Posts: 129
  • Loc: somewhere
  • Status: Offline

Post June 26th, 2003, 6:01 am

i suppose that the topic was hidding code source , & i've answred why not using PhP why php because there is a way to hide it source on the page
  • Bigwebmaster
  • Site Admin
  • Site Admin
  • User avatar
  • Joined: Dec 20, 2002
  • Posts: 8934
  • Loc: Seattle, WA & Phoenix, AZ
  • Status: Offline

Post June 26th, 2003, 1:30 pm

Yes MediaDesign you can hide source codes of scripts, but there is no way you can hide th source code of the HTML, which is what we are discussing here.
Ozzu Hosting - Want your website on a fast server like Ozzu?
  • UNFLUX
  • Genius
  • Genius
  • User avatar
  • Joined: Dec 20, 2002
  • Posts: 6382
  • Loc: twitter.com/unflux
  • Status: Offline

Post June 26th, 2003, 2:32 pm

and as I understand it, it takes $ to buy a program to encrypt php
source. right?
UNFLUX.FOTO
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post June 26th, 2003, 2:32 pm

Post Information

  • Total Posts in this topic: 95 posts
  • Users browsing this forum: No registered users and 140 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.