qtjava.blogspot.com
quangntenemy teaches Java: String manipulation
http://qtjava.blogspot.com/2007/12/string-manipulation.html
Public Object combine(Object hacker, Object java) { return new Pwnage(); }. Saturday, 22 December 2007. Guys, have you all been waiting for my next lesson? Today I'll show you how to do a very trivial task in challenge solving - string manipulation. With Java everything is easy :). Get the length of a string:. Int len = str.length();. Access the nth character of a string:. Char c = str.charAt(index);. Note that in Java indices start at 0. Create a String from a char array:. Byte[] b = str.getBytes();.
qtjava.blogspot.com
quangntenemy teaches Java: November 2007
http://qtjava.blogspot.com/2007_11_01_archive.html
Public Object combine(Object hacker, Object java) { return new Pwnage(); }. Wednesday, 28 November 2007. Basic IO and Dictionary Attack. Now that you have known enough Java to write simple programs that do the calculation for you, let's get to know some basic input/output. Today I'll show you how to read data from text files to write a simple dictionary attack program. Here's how you read a text file:. You need to import this package for the IO classes. Import java.io.*;. So just use this throws clause.
qtjava.blogspot.com
quangntenemy teaches Java: Java basics: data types and operators
http://qtjava.blogspot.com/2007/11/java-basics-data-types-and-operators.html
Public Object combine(Object hacker, Object java) { return new Pwnage(); }. Saturday, 17 November 2007. Java basics: data types and operators. Hey guys, today I'll give you a quick view of Java data types and operators. In Java, there are 3 main data types: primitive, object and array. Primitive: byte, short, int, long, float, double, char and boolean. You can declare a primitive variable like this:. Int a = 1337;. Double b = 13.37;. Char c = '$';. Boolean d = true;. Object o = new Object();. A[1] = 37;.
qtjava.blogspot.com
quangntenemy teaches Java: Hello world!
http://qtjava.blogspot.com/2007/11/hello-world.html
Public Object combine(Object hacker, Object java) { return new Pwnage(); }. Thursday, 15 November 2007. Today I will teach you how to write your first program in Java, compile it, and then decompile with jad. Open your favourite text editor, and type (or copy&paste) the following code:. Public class Hello {. Public static void main(String[] args) {. System.out.println("Hello world! Of course, the program will run and output "Hello world! Jad home page: http:/ www.kpdus.com/jad.html. A young tiger and pen...
qtjava.blogspot.com
quangntenemy teaches Java: February 2008
http://qtjava.blogspot.com/2008_02_01_archive.html
Public Object combine(Object hacker, Object java) { return new Pwnage(); }. Wednesday, 27 February 2008. No Java lesson for today, as I'm a bit busy (lazy :P). Instead I'll show you some cool tricks with Jad. Sometimes when you try to decompile a class you see an error message saying "Class file version mismatch". But you can still go on and force Jad to decompile it using the -debug option:. Jad -debug Test.class. But this one is much cooler:. Jad -r quangntenemy* /*.class. Subscribe to: Posts (Atom).
qtjava.blogspot.com
quangntenemy teaches Java: Java control structures
http://qtjava.blogspot.com/2007/11/java-control-structures.html
Public Object combine(Object hacker, Object java) { return new Pwnage(); }. Tuesday, 20 November 2007. Hey guys, today's lesson will be about Java control structures. Just like other languages, Java has support for if-then-else, switch case, for loop and while loop. Here is an example of an if-then-else:. System.out.println("Too low! Else if (x = 1338) {. System.out.println("Too high! System.out.println("You got it! Can you interpret the example? A few things you should remember:. The for loop is usually...
qtjava.blogspot.com
quangntenemy teaches Java: Basic IO & Dictionary Attack
http://qtjava.blogspot.com/2007/11/basic-io-dictionary-attack.html
Public Object combine(Object hacker, Object java) { return new Pwnage(); }. Wednesday, 28 November 2007. Basic IO and Dictionary Attack. Now that you have known enough Java to write simple programs that do the calculation for you, let's get to know some basic input/output. Today I'll show you how to read data from text files to write a simple dictionary attack program. Here's how you read a text file:. You need to import this package for the IO classes. Import java.io.*;. So just use this throws clause.
qtjava.blogspot.com
quangntenemy teaches Java: BF it!
http://qtjava.blogspot.com/2007/11/bf-it.html
Public Object combine(Object hacker, Object java) { return new Pwnage(); }. Friday, 23 November 2007. If you have been following my guide until now, probably you have known enough to start working with basic challenges. Let's get to some cracking. Today, I'll show you how to code a brute-force program. I created this little crackme so we can have something to play with: CrackMe1. Download the file and decompile it with jad, you'll see the code:. Source File Name: CrackMe1.java. Import java.io.*;. Public ...
quangntenemy.blogspot.com
Everlasting Wanderer: May 2014
http://quangntenemy.blogspot.com/2014_05_01_archive.html
Setting out on a new journey to find the meaning of life. Tuesday, May 13, 2014. ASIS CTF Quals 2014. With a lot of interesting steganos has ended. Too bad the event took place on workdays, so our team didn't have much time for it (probably many other teams shared the same problem). We ended up at #10, which wasn't too bad :P Below you can find write-ups for a few challs I solved. The file was actually an amazing image of the once popular NES game Battle City. Web 75: Hidden flag. At one point, some memb...