How to conduct buffer overflow in PHP/Python?

后端 未结 6 668
梦谈多话
梦谈多话 2020-12-11 05:18

Here is an example in c:

#include 
#include 

void bad() {
    printf(\"Oh shit really bad~!\\r\\n\");
}

void foo() {
    cha         


        
6条回答
  •  北荒
    北荒 (楼主)
    2020-12-11 05:55

    Because php,python and every interpreted language first have to go through an interpreter and you dont have the full access to the memory this kind of languages will not let you to do some kind of games like the code you posted.

提交回复
热议问题