473,398 Members | 2,404 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

JS obfuscator for a package/project

I have been trying several JS obfuscator but none of them work
with a set of JS files.

There are references between files so it will never work if the JS
obfuscator
process each file independly.

Any JS obfuscator out there remember each var/function name so that
they can be used in other files where the same var/function name
appears?

thanks

mark

Mar 14 '06 #1
6 2416
"cool2005" <co*******@yahoo.com> wrote in message
news:11**********************@z34g2000cwc.googlegr oups.com...
I have been trying several JS obfuscator but none of them work
with a set of JS files.

There are references between files so it will never work if the JS
obfuscator
process each file independly.

Any JS obfuscator out there remember each var/function name so that
they can be used in other files where the same var/function name
appears?


Have you tried merging the files into one first?
Afterwards, you could split them up.
Mar 14 '06 #2
cool2005 said the following on 3/13/2006 11:28 PM:
I have been trying several JS obfuscator but none of them work
with a set of JS files.
None of them truly "work" to start with. They only make it minimally
more difficult. Search the archives, there are threads abound about
obfuscators and the problems with them.
There are references between files so it will never work if the JS
obfuscator process each file independly.
Yup. So put them all in the same file.
Any JS obfuscator out there remember each var/function name so that
they can be used in other files where the same var/function name
appears?


If people spent as much time trying to write quality code as they do
trying to hide bad code there wouldn't be any bad code on the web.

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Mar 14 '06 #3
It is impossible since the js code reside in hundreds of plugs-in
pieces. They can only be obfuscated in a command line with a batch
process. Many of them are actually JSP files with js...mixing with
HTML...

Mar 14 '06 #4
cool2005 wrote:
It is impossible since the js code reside in hundreds of plugs-in
pieces. They can only be obfuscated in a command line with a batch
process. Many of them are actually JSP files with js...mixing with
HTML...


i personally think this is already pretty obfuscated then

--
Vedo gli amici ancora sulla strada, loro non hanno fretta,
rubano ancora al sonno l'allegria all'alba un po' di notte:
e poi la luce, luce che trasforma il mondo in un giocattolo.
Faremo gli occhiali così, Faremo gli occhiali così!
Mar 14 '06 #5
cool2005 wrote:
I have been trying several JS obfuscator but none of them work
with a set of JS files.

There are references between files so it will never work if the JS
obfuscator
process each file independly.

Any JS obfuscator out there remember each var/function name so that
they can be used in other files where the same var/function name
appears?

thanks

mark


I use this for compression, as I don't care about obfuscation, but it
does minimally obfuscate (even more so if you program for it with
"special characters" though still not much)

http://dean.edwards.name/packer/
Kevin N.
Mar 18 '06 #6
"cool2005" <co*******@yahoo.com> wrote in message
news:11**********************@z34g2000cwc.googlegr oups.com...
I have been trying several JS obfuscator but none of them work
with a set of JS files.
You mean, "None of the ones you tried."
There are references between files so it will never work if the JS
obfuscator process each file independly.
Any useful obfuscator tool has to handle this smartly.
Any JS obfuscator out there remember each var/function name so that
they can be used in other files where the same var/function name
appears?


Yes. See
http://www.semanticdesigns.com/Produ...bfuscator.html

The online running example shows two files with such cross links.
--
Ira Baxter, CTO
www.semanticdesigns.com


Mar 18 '06 #7

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

Similar topics

19
by: Agelmar | last post by:
Does anyone know of a good, reliable PHP obfuscator, preferably one that doesn't cost an arm and a leg? I tried Mike's gzen encoder, however I had problems with included files. (e.g. I have a file...
4
by: flupke | last post by:
Hi, I developed a package with a structure like this src/ tesfile.py dir1/ __init__.py file1.py dir2/ __init__.py
0
by: Christoph Riesenberger | last post by:
Hi, i want to obfuscate a .net project while building it with nant. Has anybody experiences with Aspose Obfuscator? Its free, but no support provided. My problem is to get it to work in command...
5
by: Sargo | last post by:
Im about done with my coding on my latest project and want to use a Obfuscator to protect it. What suggestions can everyone offer for one. My project is done as a hobby and I would prefer one...
2
by: venky | last post by:
We are looking to obfuscate our code and other assembles. I just want to which obfuscator to use and does anyone knows any site or article which compares different obfuscator including pricing...
10
by: John | last post by:
Hi Does the obfuscator in vs.net 2003 automatically works when a project is compiled or does it need to be turned on explicitly somehow? Basically I want my app to be the safest in terms of...
1
by: kashifwk | last post by:
I am evaluating Obfuscator to secure the source code in .Net assembilies.I am considering following obfuscators: 1) XenoCode (http://www.xenocode.com) 2) Spices.Obfuscator...
0
by: =?Utf-8?B?TW9uaWNh?= | last post by:
Hi, Does someone know the answer? You are building a setup for your application. The application contains a custom control developed by you, which will be shared across multiple applications....
11
by: =?iso-8859-1?q?Martin_M=FCcke?= | last post by:
Hi, I am looking for a good javascript obfuscator - I found several on the web, but I am looking for one that can also handle javascript in jsp, html and java files - so I need a javascript...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
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...

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.