Java 0-day Vulnerability 2

Another Java 0-day vulnerability. It's being exploited in the wild. Just like last time. Repeat after me, turn off Java in all your browsers. If you're looking for the weaponized exploit, it is available for download here: Java malware. Read more »

Java Applets

The first applets to discover are the Demo Applets. If you have installed the JDK, they can be found in demo/applets. Note that the JDK 7 distributes the demos in a separate package. Alphabetically, we can start with Animator example 1. If you want to run it natively instead of in a browser for now, ... Read more »

Java Development

Check out the Development tag for another article on Java.

While most of this site is about exploiting Java, remember that exploiting Java sometimes requires advanced knowledge of Java. Let's take a quick look at a snippet of code.

 class j4vaThrow { void printJohn() { String name = "Peter"; String age = "48"; ...
Read more »

Java File.delete

Here we have another easy Java tutorial. You want to delete a file. Easy, right?
 import; class j4vaDelete { void deleteJohn() { String filename="john.txt"; File file = new File(filename); if(file.exists()){ file.delete(); } } // public public static void main(String [] args) { j4vaDelete a = new j4vaDelete(); a.deleteJohn(); } } 

Well, it never is just that ... Read more »