본문 바로가기

전체 글

(117)
PIE Stripped Binary를 gdb로 디버깅할 때 bp를 어떻게 걸까? 주소 0x0에다가 bp를 걸고 메모리 맵보고 각 섹션이 어떤 주소에 배치됐는지 확인하고 디버깅하면 된다. reverseengineering.stackexchange.com/questions/8724/set-a-breakpoint-on-gdb-entry-point-for-stripped-pie-binaries-without-disabling Set a breakpoint on GDB entry point for stripped PIE binaries without disabling ASLR Given a position-independent, statically-linked, stripped binary, there does not appear to be a way in GDB to set a breakp..
백준/ 바킹독님의 문제집/ 재귀함수가 뭔가요?(17478) 문제 설명 문제 해결 띄어쓰기 한 글자라도 틀리면 아예 틀렸다고 판정할만큼 까다롭다. 함수의 정의는 void func(int count)으로 해줬다.재귀 함수의 base condition은 count == N으로 설정했다.재귀식은 func(count + 1)로 설정하여 count를 차근차근 증가시키면된다. mask라는 함수를 만들어줬는데 count가 증가함에 따라서 "____"를 더 출력해주는 함수다. #include #include #include #include #include #include #include #include #include using namespace std; int N; void mask(int count) { for (int i = 0; i
Notion2Tistory 협업 도구로써, 메모 도구로써 Notion은 정말 좋은 도구이다. 블로그를 비록 Tistory로 운영하고 있지만 그래도 어떤 글을 작성할 때는 Notion으로 먼저 작성한다. 지금까지 Tistory로 글을 올릴 때 Notion을 보고 다시 재작성하여 올렸는데 Notion2Tistory를 처음으로 사용해봤다. 노션 페이지에 속성에 대한 정보를 게시하여 글을 올릴 때 태그나, 비밀글, 비밀번호 같은 속성도 설정할 수 있다고 한다. github.com/boltlessengineer/Notion2Tistory boltlessengineer/Notion2Tistory Notion2Tistory는 Notion 페이지를 Tistory 블로그 게시물로 업로드해주는 앱입니다. - boltlessengineer/Notio..