/ CTF / HackTheBox Labs / El Mundo.md
El Mundo.md
1  Category: #pwn 
2  Rated Difficulty: #VeryEasy 
3  Personal Difficulty: #VeryEasy 
4  
5  It showed me the buffer and seems like there is 8\*7 bytes to fill with junk and then I'll get to there ret address.
6  
7  Used the script to make the payload and realised that there is a function in pwn module in python called [p64](https://docs.pwntools.com/en/stable/util/packing.html#pwnlib.util.packing.p64) that will turn pack its parameter into the endianness you want. Run the script and got the flag