OSX Cracking (Dash)

This is intended to be an educational exploration of some cracking concepts. If you enjoy the software target, please support the original authors by purchasing it. Dash is an offline documentation browser. It has no copy protection which makes it an ideal target for learning cracking. It has an offline license authentication scheme that uses a license file. You can »

C fgetln and strcpy

This is a continuation of the exploring C articles I started here. This will focus on a quirk that caused me some debugging pain. In fairness, this is documented on the man-page of fgetln: This line is not a C string as it does not end with a terminating NULL character. A simple implementation of fgetln to iterate through every »

Debugging Running Processes with GDB

This is a continuation of the exploring C articles I started here. This one will focus less on C and more on some obscure commands in GDB. When compiling a program with gcc or clang, you can pass the -g switch to produce a dsym file along with a debugging version of your program. This allows you to see the »

C Multi-Level Pointers

I feel like I have read a lot of anti-C articles recently. Don't worry, I'm not going to sit here and claim C is the greatest language ever invented. However, at this point, it has taken the unfairly assigned mantel of all the worst things about unprotected programming. I thought it might be fun to take a break from that »

Launch Starcraft: Remastered on Mac Without Battle.net

Open the terminal and enter the following commands: $ cd /Applications/Starcraft/Starcraft.app/Contents/MacOS $ ./StarCraft -launch The first one changes to the install directory of Starcraft. The second one launches the game with the -launch parameter, which bypasses opening Battle.net. »