Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: DD- Source Code Encrypter

  1. #1
    Join Date
    Nov 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default DD- Source Code Encrypter

    I just used this Script for only 1 page on my website, but didn't save the original HTML. Is there a way to undo this encrypter to get my original html back?

  2. #2
    Join Date
    Dec 2004
    Location
    UK
    Posts
    2,358
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by Jayne
    I just used this Script for only 1 page on my website, but didn't save the original HTML. Is there a way to undo this encrypter to get my original html back?
    Assuming you're using the 'encrypter' I think you are, then yes extremely easily (which is why source code encrypting is pointless).

    If we assume that your current source looks like

    Code:
    <script type="text/javascript">
    document.write(unescape("..."));
    </script>
    then alter it to:

    Code:
    <pre>
    <script type="text/javascript">
    var decode = unescape;
    
    unescape = function(string) {
      return decode(string).replace(/</g, '&lt;').replace(/>/g, '&gt;').replace(/\r\n|\r|\n/g, '<br>');
    };
    
    document.write(unescape("..."));
    
    unescape = decode;
    </script>
    </pre>
    This should display your markup exactly as it was when you wrote it. There are other ways to get the output back, and if you used the 'encrypter' multiple times, one of these might be more appropriate.

    Mike

  3. #3
    Join Date
    Nov 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks Mike. I'll give it a try.

  4. #4
    Join Date
    Mar 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hi.

    Just reading and of course testing Source Code Encrypter 1.0.
    It works fine for me. I have only one problem. Most of my software is written in PHP.
    Is there a version that works with PHP ? or/and can convert PHP sources?. Have modified several programs from HTML to PHP but in this program is to much Java for me.

    Please help me, becouse I really like to have this baby working in and with PHP, the language I use for most of my site.

    Kind regards
    Erwinj

  5. #5
    Join Date
    Dec 2004
    Location
    UK
    Posts
    2,358
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by erwinj
    Just reading and of course testing Source Code Encrypter 1.0.
    It works fine for me.
    So you're aware that it doesn't perform any sort of meaningful encryption then? I take it that you're also aware that it prevents users without client-side scripting support from viewing anything that has been run through it?

    I have only one problem. Most of my software is written in PHP.
    And why do you think you need to 'encrypt' your PHP code? No-one can read it unless you distribute the files themselves, or they gain direct access to the filesystem of the server.

    For professionals that do distribute closed-source PHP-based products, there is software that can be bought from Zend, who produce the engine upon which PHP is based. However, use means that customers also need to install extra (free) software that can process the output.

    Mike

  6. #6
    Join Date
    Mar 2006
    Location
    UK, warwickshire
    Posts
    77
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Yea the encrypter just uses javascript to write it instead of its normal characters, people make encrypers/decrypeters like this all the time and if you are using it for secruity purposes then i suggest not

  7. #7
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Why is this script still distributed by DD?
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  8. #8
    Join Date
    Mar 2006
    Location
    UK, warwickshire
    Posts
    77
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    i dunno personally i think it is uslass and pointless

  9. #9
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    It is worse than useless, as it encourages people to write JS-dependant websites. In fact, it's even worse than the "no right click" script, which at least has some uses when designing a complicated interface that might be disrupted by a context menu.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  10. #10
    Join Date
    Mar 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hi.

    Thanks for the quick replay. However it does not answer my question. My question was can somebody translate the Source Code Encrypter 1.0 from HTML to PHP ?.

    I dont argue about use or useless. By the way answering your remarks sourcecode can also with PHP still seen via view.

    Regards
    Erwinj

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •