Optional Parameters in C / C++


Recently, while developing a function to help me create logs to keep track of my program for debugging purposes, I came across a need to  specify an undefined amount of parameters so that I can call functions such as CreateLog(“Function Entry: Install”, “Success”, “Remark”, “More Remark”).  Therefore, I have searched online to see whether this can be done.  To my amazement, this was in fact an easy task.  By using the __VA_ARGS__ option and vsprintf function, it can be accomplished.  I have yet the time to tidy the codes for this post but at the very least an article to help out.

If you are not sure what I meant by Optional Parameters, see here.

Article: http://www.lysator.liu.se/c/c-faq/c-7.html

What’s the difference between AppData\Local and AppData\Roaming?

User Account Control Data Redirection


Familiarizing your applications with UAC.  It has become an important piece of information for my future projects.  Data redirection is when Windows redirect the data your application writes to a different directory called VirtualStore.  Something along the lines mentioned, for more please visit the article link below.

Source: http://windowsteamblog.com/windows/b/developers/archive/2009/08/04/user-account-control-data-redirection.aspx

Escalating UAC privileges in C / C++ applications using Visual Studio


To set this linker option in the Visual Studio development environment

  1. Open the project’s Property Pages dialog box. For details, see How to: Open Project Property Pages.
  2. Expand the Configuration Properties node.
  3. Expand the Linker node.
  4. Select the Manifest File property page.
  5. Modify the Enable User Account Control (UAC), UAC Execution Level, and UAC Bypass UI Protection properties.

To set this linker option programmatically

Source: http://msdn.microsoft.com/en-us/library/bb384691.aspx

How User Account Control (UAC) Affects Your Application


There is a need for me recently to run applications with privileges for the registry hive and I came across an article on UAC by MSDN.  The image below depicts how UAC process flow works.

Article: http://msdn.microsoft.com/en-us/library/bb384608.aspx

C vs C++ where Exploit, Game Hack and Malware are concerned


On the contrary of comparing which language is best used in the idea of creating exploits, game hacks and malwares, 01blasphemer has pointed some of the reasons why the C language is at advantage in HackForums. Read the rest of this entry »

10-year-old hacker finds zero-day flaw in games | iOS & Android


LAS VEGAS–A 10-year-old hacker who goes by the pseudonym CyFi revealed today at DefCon 19 a zero-day exploit in games on iOS and Android devices that independent researchers have confirmed as a new class of vulnerability. The girl from California first discovered the flaw around January 2011 because she “started to get bored” with the pace of farm-style games. Read the rest of this entry »

So You’re Sick Of Being A SKIDDIE? Let’s Hack For Real


This post below is an article written by michaeljay from HackForums, you can see the original post here.  I find it quite informative and it has quality over other similar threads.

Then what can you do about it?

Sick of just being able to push buttons and not know what you’re doing? Tired of seeing error messages in aircrack and being frozen because you have no real idea of what you’re typing? I saw a thread here from someone saying he’s sick of being a skiddie, so I figured I’d write this post up to explain how I went from being a skiddie to someone who knows his way around various protocols and techniques. Not that I consider myself a l337 hax0r, by any means. Most of the posters here would blow me away with their skill and knowledge. But I feel I’ve got some stuff to share, and my girlfriend is doing her own thing tonight, so I’m going to write this post up for you. For good or for evil. Read the rest of this entry »

The PE File Format


A very good article to understand on how the PE file format works B. Luevelsmeyer.  Below are the contents included.  This article was given to me by a member by the handle mindlessdeath from HackForums. Read the rest of this entry »

The official way of writing a crypter in C | Source Code


mindlessdeath, a member from HackForums have posted a thread regarding how to write a crypter in C!  I find this source code a very good example for people that are trying to learn to write their own crypter.  Compared to any other source codes that are posted on the internet, the author of this source code gave a very detailed information on each line on what the statements does.  In order to use this source code without much trouble, there are some prerequisites that was mentioned by the author himself.  Read the rest of this entry »