HTTP is a RESTful protocol with a uni-directional communication. This means the client needs to poll to get updates from
Continue readingCategory: Computer
HTTP hacking – Vote counter (Example 2)
I have acted like they would have been more intelligent to make it harder to hack their counter. 🙂 But
Continue reading(Un)pack and (De)compress a directory (Linux)
Pack tar -cvf archive.tar /path/to/folder Compress gzip archive.tar bzip2 archive.tar Pack & Compress tar -czvf archive.tar.gz /path/to/folder tar -cjvf archive.tar.bz2
Continue readingBit operations (C++)
Set a bit value |= 1
Continue readingAssembly of compiled C-Code (Example)
DWORD … 4 Byte (on x86) For a basic assembly instruction: Link
Continue readingMemory Management (Basics)
Process Each process is running on its own virtual address space. The MMU does the necessary translation from/to the physical
Continue readingCoredump analysing with GDB
Load coredump with GDB Analysis of threads Analysis of stacktrace Analysis of functions/variables Details to typical constructs Analysis of memory
Continue readingCommon mistakes (C++)
The following list shows a few common mistakes you will find in code you will have to review before its
Continue readingMessage exchange pattern
There are three major ways for a message exchange: Fire-And-Forget, Reply-Response and Request-Callback. Fire-And-Forget (one-way) A Client sends a message
Continue readingThreading – Mutex vs. Atomic (C++)
Since C++11 you can use std::thread, std::mutex and std::atomic for your multithreaded projects. The biggest problem with multithreading is the
Continue reading