본문 바로가기

reversing/reversing

(33)
mips 특징 보호되어 있는 글입니다.
chroot qemu static 환경변수 설정 보호되어 있는 글입니다.
유니콘[Unicorn] 활용 에뮬레이션 엔진인 Unicorn 활용단한 Shellcode나 특정 함수 퍼징 수행할때 사용The task is to call super_function in a way that it will return 1. 1234567891011121314151617181920212223242526272829303132333435int strcmp(char *a, char *b){ //get length int len = 0; char *ptr = a; while(*ptr) { ptr++; len++; } //comparestrings for(int i=0; i
디바이스 동적분석 환경 구축 [1] - Pro1 보호되어 있는 글입니다.
SCTF Rev[100] 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109#!/usr/bin/env python import gdbimport time gdb.execute("set pagination off") heap_bp = [0x401773] circle = {'d':0x60764C, 'f':0x60764D ,'j':0x60764E, 'k':0x60764F} """d_flag = '$..
GO 언어 리버싱 보호되어 있는 글입니다.
python gdb 백업 d = subprocess.Popen("gdb -ex 'py rax = " + str(i) + "' -x ./gg.py ", shell=True, stdout=subprocess.PIPE).stdout.read().strip() #gg.py 파일import gdb class MyBreakpoint(gdb.Breakpoint): def stop (self): return True gdb.execute('file ./OS.BIN')gdb.execute("set environment LD_PRELOAD /home/sudhakar/tools/preeny/x86_64-linux-gnu/desleep.so")MyBreakpoint("*0x400a62")gdb.execute("run")gdb.execute('set ..
gdbserver script 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253#!/usr/bin/python import subprocessimport reimport sysimport os#gdbserver --attach :55555 1299 def execute(cmd) : fd = subprocess.Popen(cmd, shell=True, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE) return fd def get_pid(proc): fd = execute("/bin/ps -x") pslist= fd.stdout.rea..