select group_concat(table_name) from information_schema.tables where table_schema != 'mysql' AND table_schema != 'information_schema' AND table_schema != 'performance_schema' AND table_schema != 'sys';

'기타' 카테고리의 다른 글

WDK10 offline installer  (0) 2019.05.31
IDA struct gdb에 적용하기(gdb add struct)  (1) 2019.05.06
ocr 숫자  (0) 2018.09.19
gcc mips => asm  (0) 2018.09.18
라즈베리파이 IP 확인하기  (1) 2017.05.29

'기타' 카테고리의 다른 글

sqli information schema  (0) 2019.09.15
IDA struct gdb에 적용하기(gdb add struct)  (1) 2019.05.06
ocr 숫자  (0) 2018.09.19
gcc mips => asm  (0) 2018.09.18
라즈베리파이 IP 확인하기  (1) 2017.05.29

IDA에서 Local Types에 들어가서 추출할 struct 드래그 -> 우클릭 -> Export to header file

저런식으로 뺀 다음에 보면 header 파일 형식으로 나옴

저거를 리눅스에 옮기고 gcc 돌려서 나오는 에러 해결(저 밑에 에러는 #include<stdint.h> 추가)

요런식으로 include "test.h" 랑 밑에 gdb에서 쓸 struct들을 struct 이름 아무거나; 식으로 쫙 정의해논다음
gcc test.c -o test.o -g -c  로 컴파일

symbol-file test.o 명령으로 위에서 컴파일 한 거 불러오면 그 뒤로는 print 명령에서 struct 형식으로 볼 수 있음

 

'기타' 카테고리의 다른 글

sqli information schema  (0) 2019.09.15
WDK10 offline installer  (0) 2019.05.31
ocr 숫자  (0) 2018.09.19
gcc mips => asm  (0) 2018.09.18
라즈베리파이 IP 확인하기  (1) 2017.05.29

+ Recent posts