• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

obfuscation

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what is the use of obfuscation?
how to do our own obfuscation in java and web application?
can anyone explain me how to make simple java source to obfuscate file and in which software,i have tried in progaurd 4.4.
But i am not able to do it.
 
Rancher
Posts: 4686
7
Mac OS X VI Editor Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Obfuscation is claimed to be useful when you have to distribute your java byte code to a user and don't want them to steal your intellectual property.

If you implement your java on a web services, you don't have to distribute your Java's bytecode to anyone, so you do not need obfuscation.

It is much easier to keep people from stealing stuff if you never give it to them.

I personally think obfuscation is nearly worthless, but the vendors claim otherwise.
 
Rancher
Posts: 43011
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

But i am not able to do it.


What, exactly, have you tried, and what, exactly, was the result?
 
basvaraj lu
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
import java.io.PrintStream;
import java.util.Collections;
import java.util.Vector;

public class Hello
{

public Hello()
{
}

public static void main(String args[])
{
Vector vector = new Vector();
vector.add("500");
vector.add("745");
vector.add("842");
vector.add("900");
vector.add("567");
Object obj = Collections.max(vector);
System.out.println("Maximum Element of Java Vector is : " + obj);
}
}
this is which i have tried,

as output i got same class file nothing changes.
what i have to do for that
thanks,
 
Ulf Dittmer
Rancher
Posts: 43011
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

this is which i have tried


What have you tried? Post the command-line invocations of ProGuard that you have used (or the Ant task and/or the parameter file, whichever is applicable).
 
basvaraj lu
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello,

you also do not know anything,but every post you are give comments...super keep it up...
i feel ,you never tried obfuscation with web application but you are showing to all that you know everything....

what a super funny...

 
Author
Posts: 3443
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
basvaraj, you will have to change your attitude. This will no take you anywhere. You haven't shown the obfuscation process ..
 
basvaraj lu
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i know ,i have sent something bad msg...
but whatever i asked he always discouraging me,he is thinking that nothing i know...i am getting irritate to read those type of msg for my question..he may tell some suggestion or else he no need to reply me..what to do ,tell me
 
Ulf Dittmer
Rancher
Posts: 43011
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You seem to confuse a request for more information with discouragement. If you don't provide necessary information about your problem, then people will not be able to help you. You'll notice that you have been asked multiple times to TellTheDetails, but you haven't done so, and also have not solved your problem - there's a connection here.

he is thinking that nothing i know


I have honestly no idea how you came to that conclusion; it's in any case incorrect.

you also do not know anything


If you had used the search functionality of this forum, you'd have discovered that I actually do know quite a bit about ProGuard, which is why I tried to help you. Your attitude doesn't motivate me to continue to do so, though.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!