Endianness Explained. Little-Endian and Big-Endian for 32 and 64 bits - Binary Exploitation PWN101

  Рет қаралды 2,975

RazviOverflow

2 жыл бұрын

Endianness explained in detail, from a pwn (binary exploitation) perspective. Why is it necessary and how does it work. Byte ordering examples for both 32 and 64 bits are shown in form of theory and practice, debugging compiled C code to see how bytes of variables are actually arranged in memory. Keep in mind that type of the variable (short, int, int64, long long, etc...) defines how many bytes are to be allocated and write into memory for that particular variable and hence how many bytes have to be swapped (Endianness).
Pwntools' packing: docs.pwntools.com/en/stable/util/packing.html
Python's Struct: docs.python.org/3/library/struct.html
NUXI problem: www.reddit.com/r/learnprogramming/comments/526vti/how_did_the_nuxi_problem_arise/
Endianness:
en.wikipedia.org/wiki/Endianness
betterexplained.com/articles/understanding-big-and-little-endian-byte-order/
00:00 - Intro
00:17 - p32 and p64 from pwntools
00:25 - Python's struct
00:50 - Theory
02:39 - Most and least significant bytes (MSB & LSB)
03:18 - Little Endian and Big Endian
07:08 - Practice and examples
07:30 - 32 bits
11:58 - 64 bits
16:27 - Final thought
17:12 - Outro[*]
Exploit code, not people.
Twitter: @Razvieu
*Outro track: Etsu - Selcouth
GG

Пікірлер: 8
@thechileanreawakening581
@thechileanreawakening581 Жыл бұрын
such a complex matter, thanks. I will check your videos more often...
@RazviOverflow
@RazviOverflow Жыл бұрын
Thank you, glad it helped!
@N0RT0X
@N0RT0X 8 ай бұрын
Mil gracias por esta serie. Eternamente agradecido
@RazviOverflow
@RazviOverflow 8 ай бұрын
Me alegro de que te sea útil :)
@kushagrasingh467
@kushagrasingh467 Жыл бұрын
this was all I needed !!! great explanation. Thanks
@RazviOverflow
@RazviOverflow Жыл бұрын
Glad to help :)
@Принуждениекмиру-ь2ц
@Принуждениекмиру-ь2ц Жыл бұрын
D'you know why python is garbage?
@kampet3438
@kampet3438 Жыл бұрын
Depends on the use case. But generally its not Who says that?
Зу-зу Күлпаш 2. Бригадир.
43:03
ASTANATV Movie
Рет қаралды 452 М.
Win This Dodgeball Game or DIE…
00:36
Alan Chikin Chow
Рет қаралды 45 МЛН
Apple designers updating the iPhone design 😂
0:13
Createwithfid
Рет қаралды 1,2 МЛН
What other buttons does this remote need?
0:32
MarryLOL
Рет қаралды 477 М.
#ipl #iphone #россия #aquarium
0:12
ТУНИКАФОН - TUNIKAFON
Рет қаралды 2,2 МЛН
Apple-Designer aktualisieren das iPhone-Design 😂
0:13
Abuloris
Рет қаралды 699 М.