Skip to content
KitploitKITPLOIT
도구블로그
제출
도구블로그
제출

해킹, 침투 테스트 및 사이버 보안 도구를 당신의 보안 무기고에!

Kitploit은 해킹, 사이버 보안 및 침투 테스트 도구 디렉토리입니다. 최신 프로젝트 업데이트를 발견하여 취약점을 찾고, 시스템을 분석하고, 테스트를 자동화하고, 보안을 강화하세요.

··피드·문의·개인정보·© 2026 Kitploit

도구 디렉토리

카테고리

모든 카테고리 보기
Loading categories
rop-tool — 바이너리 익스플로잇 작성을 도와주는 도구 | Kitploit
도구/GitHubGitHub/t00sh/rop-tool
ExploitationReverse EngineeringDebuggersBinary AnalysisPayload DevelopmentBinary Exploitation
GitHubt00sh/rop-tool

rop-tool

바이너리 익스플로잇 작성을 도와주는 도구

저장소 보기
6121047년 전Kitploit 검토 완료

인기

모두 보기 →

커뮤니티에서 가장 많이 사용되는 도구를 찾아보세요.

모든 도구 탐색

도구 컬렉션을 둘러보세요

모든 도구 보기 →
공유

rop-tool v2.4.2

바이너리 익스플로잇 작성을 돕는 도구

옵션

root@kitploit:~
rop-tool v2.4.2
Help you make binary exploits.

Usage: rop-tool <cmd> [OPTIONS]

Commands :
   gadget        Search gadgets
   patch         Patch the binary
   info          Print info about binary
   heap          Display heap structure
   disassemble   Disassemble the binary
   search        Search on binary
   help          Print help
   version       Print version

Try "rop-tool help <cmd>" for more informations about a command.

가젯 명령어

root@kitploit:~
Usage : rop-tool gadget [OPTIONS] [FILENAME]

OPTIONS:
  --arch, -A               Select an architecture (x86, x86-64, arm, arm64)
  --all, -a                Print all gadgets (even gadgets which are not uniq)
  --depth, -d         [d]  Specify the depth for gadget searching (default is 5)
  --flavor, -f        [f]  Select a flavor (att or intel)
  --no-filter, -F          Do not apply some filters on gadgets
  --help, -h               Print this help message
  --no-color, -N           Do not colorize output

검색 명령어

root@kitploit:~
Usage : rop-tool search [OPTIONS] [FILENAME]

OPTIONS:
  --all-string, -a    [n]  Search all printable strings of at least [n] caracteres. (default is 6)
  --byte, -b          [b]  Search the byte [b] in binary
  --dword, -d         [d]  Search the dword [d] in binary
  --help, -h               Print this help message
  --no-color, -N           Don't colorize output
  --qword, -q         [q]  Search the qword [q] in binary
  --raw, -r                Open file in raw mode (don't considere any file format)
  --split-string, -s  [s]  Search a string "splited" in memory (which is not contiguous in memory)
  --string, -S        [s]  Search a string (a byte sequence) in binary
  --word, -w          [w]  Search the word [w] in binary

패치 명령어

root@kitploit:~
Usage : rop-tool patch [OPTIONS] [FILENAME]

OPTIONS:
  --address, -a       [a]  Select an address to patch
  --bytes, -b         [b]  A byte sequence (e.g. : "\xaa\xbb\xcc") to write
  --filename, -f      [f]  Specify the filename
  --help, -h               Print this help message
  --offset, -o        [o]  Select an offset to patch (from start of the file)
  --output, -O        [o]  Write to an another filename
  --raw, -r                Open file in raw mode

정보 명령어

root@kitploit:~
Usage : rop-tool info [OPTIONS] [FILENAME]

OPTIONS:
  --all, -a                Show all infos
  --segments, -l           Show segments
  --sections, -s           Show sections
  --syms, -S               Show symbols
  --filename, -f      [f]  Specify the filename
  --help, -h               Print this help message
  --no-color, -N           Disable colors

디스어셈블 명령어

root@kitploit:~
Usage : rop-tool dis [OPTIONS] [FILENAME]

OPTIONS:
  --help, -h               Print this help message
  --no-color, -N           Do not colorize output
  --address, -a    <a>     Start disassembling at address <a>
  --offset, -o     <o>     Start disassembling at offset <o>
  --sym, -s        <s>     Disassemble symbol
  --len, -l        <l>     Disassemble only <l> bytes
  --arch, -A       <a>     Select architecture (x86, x86-64, arm, arm64)
  --flavor, -f     <f>     Change flavor (intel, att)

힙 명령어

root@kitploit:~
Usage : rop-tool heap [OPTIONS] [COMMAND]

OPTIONS:
  --calloc, -C             Trace calloc calls
  --free, -F               Trace free calls
  --realloc, -R            Trace realloc calls
  --malloc, -M             Trace malloc calls
  --dumpdata, -d           Dump chunk's data
  --output, -O             Output in a file
  --help, -h               Print this help message
  --tmp, -t        <d>     Specify the writable directory, to dump the library (default: /tmp/)
  --no-color, -N           Do not colorize output

힙 명령어 출력에 대한 간단한 설명

각 줄은 malloc 청크에 해당하며, 힙 함수(free, malloc, realloc, calloc)가 실행될 때마다 힙이 덤프됩니다.

  • addr: malloc 청크의 실제 주소

  • usr_addr: malloc 함수가 사용자에게 반환하는 주소

  • size: malloc 청크의 크기

  • flags: P는 PREV_INUSE, M은 IS_MAPED, A는 NON_MAIN_ARENA

기능

  • 문자열 검색, 가젯 검색, 패치, 정보, 힙 시각화, 디스어셈블
  • 컬러 출력
  • Intel 및 AT&T 플레이버
  • ELF, PE 및 MACH-O 바이너리 형식 지원
  • 빅 및 리틀 엔디언 지원
  • x86, x86_64, ARM, ARM64, MIPS, MIPS64 아키텍처 지원

예제

기본 가젯 검색

root@kitploit:~
rop-tool gadget ./program

AT&T 구문으로 모든 가젯 표시

root@kitploit:~
rop-tool gadget ./program -f att -a

RAW x86 파일에서 가젯 검색

root@kitploit:~
rop-tool gadget ./program -A x86

바이너리에서 '분할된' 문자열 검색

root@kitploit:~
rop-tool search ./program -s "/bin/sh"

바이너리에서 모든 문자열 검색

root@kitploit:~
rop-tool search ./program -a

오프셋 0x1000에서 바이너리 패치, "\xaa\xbb\xcc\xdd"로 작성하고 "patched"로 저장:

root@kitploit:~
rop-tool patch ./program -o 0x1000 -b "\xaa\xbb\xcc\xdd" -O patched

/bin/ls 명령의 힙 할당 시각화:

root@kitploit:~
rop-tool heap /bin/ls

주소 0x08048452에서 0x100 바이트 디스어셈블

root@kitploit:~
rop-tool dis /bin/ls -l 0x100 -a 0x08048452

스크린샷

root@kitploit:~
rop-tool gadget /bin/ls

스크린샷

root@kitploit:~
rop-tool search /bin/ls -a

스크린샷

root@kitploit:~
rop-tool search /bin/ls -s "/bin/sh\x00"

스크린샷

root@kitploit:~
rop-tool heap ./a.out

스크린샷

root@kitploit:~
rop-tool dis ./bin  # Many formats

스크린샷

컴파일

root@kitploit:~
git clone https://github.com/t00sh/rop-tool.git
cd rop-tool
sh scripts/set_env.sh
make

의존성

  • capstone

라이선스

  • GPLv3 라이선스

저자

Tosh (tosh at t0x0sh . org)

도구 다운로드