Click here to Skip to main content
15,867,756 members
Articles / Programming Languages / Perl

Basic x86-32bit Formatted String Exploits in Linux - Part 1

Rate me:
Please Sign up or sign in to vote.
5.00/5 (3 votes)
29 Feb 2020CPOL26 min read 24.3K   7  
A basic formatted string exploit shows you how small errors in programming with the printf function can be a lethal weapon for hackers looking to compromise a system.
In this article, we will be focusing solely on a 32bit exploit done on an x86 CPU using a simple exploit available to us by programmer error in the printf function. This article is divided into two parts: Changing execution flow within our program, and executing payloads in environment variables using destructors.

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Germany Germany
I am an avid programmer, my primary field has been .NET development on ERP systems. I branched out into PHP, Javascript and web development and now into Cyber-security.

Comments and Discussions