Latest posts

  • Gradient Descent Simply Explained (with Example)

    So… I’ll try to explain here the concept of gradient descent as simple as possible in order to provide some insight of what’s happening from a mathematical perspective and why the formula works. I’ll try to keep it short and...


  • Bypassing ASLR and DEP - Getting Shells with pwntools

    Today, I’d like to take some time and to present a short trick to bypass both ASLR (Address Space Layout Randomization) and DEP (Data Execution Prevention) in order to obtain a shell in a buffer-overflow vulnerable binary. I’ve seen this...


  • C# Making a Neural Network that plays Flappy Bird

    All right, people; now that I’m done with the projects & finals for…a couple of days…I thought it would be a good idea to keep an old promise and finally publish this article too. It’s about how to make a...


  • C# Naive Bayes Basic OCR (w/ Example)

    Hello again; I’m back - once again sacrificing my time for homework so I can publish something that I find more interesting. So if anyone is still reading this: the whole article is about OCR (which stands for Optical Character...


  • C# Prevent Decompilation by Decrypting Source at Runtime

    Hello world! Today we continue the “Trolling the Decompiler” series (first part here: Prevent Reflector from Decompiling) but now with a more serious approach - this one should work on any decompiler. The point is: it is rather difficult to...


  • Hamming Error Correction - with Example

    This article will focus on Hamming codes - mainly, this represents an attempt to explain a little bit better how this method can help in detecting and correcting… 1 bit errors. This method is not really useful at “higher level”...


  • Virtual Piano Player in C#

    Short Announcement (skip this) Hello again, Unfortunately my summer holiday’s over… NOOOOOooo!! Ahem… so tomorrow I’ll start the 2nd year at the Faculty of Automatic Control & Computer Science. This means going back to the traditional 5 hours of sleep/night...


  • C# Send Data Between Processes (w/ Memory Mapped File)

    If you’re reading this right now you’re probably developing some application that has 2 or more processes and you want those processes to share some data with each other. There are multiple ways to pass data between processes (IPC), each...


  • Approximating Integrals with the Gaussian Quadrature (w/ example)

    This is more like a memory dump so I will have a backup in case I’ll ever need it again. And if someone else finds this information useful, the better it is. Intro The Gaussian Quadrature is a method used...


  • C# Minecraft Pixel Art Generator

    Good morning class, (see what I did there:P ?) Today we will discuss a very important subject: creating pixel art in Minecraft from a given image.     Ok guys, so I saw people creating pixel art in Minecraft (trying...


  • Matlab/Octave Lagrange Interpolation Polynomial

    Ok, I’ve been missing for a few days…months…almost a year. Ran out of ideas and time for new articles (thanks to the university) so I’ll publish some stuff related to numerical methods, starting with a basic interpolation method using the...


  • C# Inject a Dll into a Process (w/ CreateRemoteThread)

    Since I’ve been asked if this is possible - well…you can do Dll Injection using C# but the injected Dll must be written in a language that doesn’t depend on a CLR (C/C++ would be a good option here, but...