How to conduct buffer overflow in PHP/Python?

FbGT

New Member
Here is an example in c:\[code\]#include <stdio.h>#include <string.h>void bad() { printf("Oh shit really bad~!\r\n");}void foo() { char overme[4] = "WOW"; *(int*)(overme+8) = (int)bad;}int main() { foo();}\[/code\]
 
Back
Top