BOLO: Reverse Engineering — Part 1 (Basic Programming Concepts)

Daniel A. Bloom
Apr 16, 2018 · 11 min read
Image for post
Image for post
Reverse Engineering

Preface


Variable Initiation

Image for post
Image for post
Basic Variables
Image for post
Image for post
Initiating Variables
Image for post
Image for post
Initializing Variables
Image for post
Image for post
C++ String Initiation

Basic Output

Image for post
Image for post
Basic Output
Image for post
Image for post
String Literal Output
Image for post
Image for post
Variable Output

Mathematical Functions

Image for post
Image for post
Mathematical Functions Code
Image for post
Image for post
Variable Setting
Image for post
Image for post
Addition
Image for post
Image for post
Subtraction
Image for post
Image for post
Multiplication
Image for post
Image for post
Division
Image for post
Image for post
Bitwise AND
Image for post
Image for post
Bitwise OR
Image for post
Image for post
Bitwise XOR
Image for post
Image for post
Bitwise NOT
Image for post
Image for post
Bitwise Right-Shift
Image for post
Image for post
Bitwise Left-Shift

Function Calls

Image for post
Image for post
Calling Functions
Image for post
Image for post
Calling Functions Without Parameters
Image for post
Image for post
The newfunc() Function Code
Image for post
Image for post
The newfunc() Function
Image for post
Image for post
The newfuncret() Function Code
Image for post
Image for post
The newfuncret() function
Image for post
Image for post
Calling a Function with Parameters in C++
Image for post
Image for post
Calling a Function with Parameters
Image for post
Image for post
The funcparams() Function Code
Image for post
Image for post
The funcparams() Function

Loops

Image for post
Image for post
For Loop Code
Image for post
Image for post
A graphical Overview of the For Loop
Image for post
Image for post
Detailed For Loop
Image for post
Image for post
While Loop Code
Image for post
Image for post
While Loop

If Statements

Image for post
Image for post
IF Statement Code
Image for post
Image for post
IF Statement Assembly Graph

Switch Statements

Image for post
Image for post
Switch Statement Code
Image for post
Image for post
Switch Case Assembly Graph
Image for post
Image for post
The First 2 Graph Sections
Image for post
Image for post

User Input

Image for post
Image for post
User Input Code
Image for post
Image for post
C++ cin
Image for post
Image for post
The C++ cin Function Upclose
Image for post
Image for post
User Input printf Statement

Thanks!

InfoSec Write-ups

A collection of write-ups from the best hackers in the…

Daniel A. Bloom

Written by

Daniel Bloom is a young, self taught, entrepreneur and the Founder of Bloom Cyber Defense, LLC — http://bcdefense.com — Twitter: @bcdannyboy

InfoSec Write-ups

A collection of write-ups from the best hackers in the world on topics ranging from bug bounties and CTFs to vulnhub machines, hardware challenges and real life encounters. In a nutshell, we are the largest InfoSec publication on Medium. Maintained by Hackrew

Daniel A. Bloom

Written by

Daniel Bloom is a young, self taught, entrepreneur and the Founder of Bloom Cyber Defense, LLC — http://bcdefense.com — Twitter: @bcdannyboy

InfoSec Write-ups

A collection of write-ups from the best hackers in the world on topics ranging from bug bounties and CTFs to vulnhub machines, hardware challenges and real life encounters. In a nutshell, we are the largest InfoSec publication on Medium. Maintained by Hackrew

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch

Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore

Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store