Tearing apart printf()

( Original text ) If ‘Hello World’ is the first program for C students, then printf() is probably the first function. I’ve had to answer questions about printf() many times over the years, so I’ve finally set aside time for an informal writeup. The common questions fit roughly in to two forms: Easy: How does printf […]

Read More

C++ Core Guidelines: Definition of Concepts, the Second

Let’s assume; I defined the is_contiguous trait. In this case, I can use it to distinguish a random access iterator RA_iter from a contiguous iterator Contiguous_iter. template<typename I> // iterator providing random access concept bool RA_iter = …; template<typename I> // iterator providing random access to contiguous data concept bool Contiguous_iter = RA_iter<I> && is_contiguous<I>::value; // using is_contiguous trait   […]

Read More

Undetectable C# & C++ Reverse Shells

Index Attacks list: Open a simple reverse shell on a target machine using C# code and bypassing AV solutions. Open a reverse shell with a little bit of persistence on a target machine using C++ code and bypassing AV solutions. Open C# Reverse Shell via Internet using Proxy Credentials. Open Reverse Shell via C# on-the-fly compiling […]

Read More