0

Please write a simple python code which contains buffer overflow

3rd Feb 2019, 9:00 PM
Omar
Omar - avatar
3 Answers
+ 1
You can't write buffer overflow in python : you have to write it using c modules. Do you really know what a buffer overflow is?
3rd Feb 2019, 10:26 PM
Théophile
Théophile - avatar
+ 1
So you can't do that in python because lists are quite infinite. To write a buffer-overflow, you have to learn assembly to understand how a program actually works (in buffer-overflow : stack and instruction pointer, you'll see). The goal is to overwrite the return address of a function to execute the code you want.
5th Feb 2019, 12:05 PM
Théophile
Théophile - avatar
0
When u determine a specific number of inputs and the user input more than this number...buffer.overflow occurs....that is all what i know
4th Feb 2019, 10:55 PM
Omar
Omar - avatar