Skip to content
KitploitKITPLOIT
ツールブログ
提出
ツールブログ
提出

ハッキング、侵入テスト、サイバーセキュリティツールをあなたのセキュリティアーセナルに!

Kitploitはハッキング、サイバーセキュリティ、ペネトレーションテストのツールディレクトリです。最新のプロジェクトアップデートを見つけて、脆弱性の発見、システム分析、テストの自動化、セキュリティの強化を行いましょう。

··フィード·お問い合わせ·プライバシー·© 2026 Kitploit

ツールディレクトリ

カテゴリ

すべてのカテゴリを見る
Loading categories
heapinspect — 🔍CTF pwn向けヒープ解析ツール。 | Kitploit
ツール/GitHubGitHub/matrix1001/heapinspect
エクスプロイトデバッガCTFバイナリ解析
GitHubmatrix1001/heapinspect

heapinspect

🔍CTF pwn向けヒープ解析ツール。

リポジトリを見る
2252055年前Kitploit レビュー済み

人気

すべて見る →

コミュニティで最も使われているツールを見つけましょう。

すべてのツールを探索

ツールコレクションを閲覧

すべてのツールを見る →
共有

HeapInspect

Pwnning is an art.

HeapInspectは、heapをより美しくするために設計されています。

現在、このツールはnadbgのプラグインです。試してみてください!

機能

  • gdbやその他の要件が不要
  • マルチglibc対応
    • 2.19, 2.23-2.27 (現在テスト済み)
    • 32ビットと64ビットの両方
  • ヒープ表示のための優れたUI
    • HeapShower (詳細)
    • PrettyPrinter (カラフル、概要)
  • Heapdiff (作業中)
  • 破損検出とエクスプロイト解析 (作業中)
  • gdbもサポート
  • Python2 & Python3 互換

使い方

クイックショット

このツールの簡単な使い方。

pp1

pp2

raw1

rela1

また、gdbプラグインとしても使用でき、pwndbgや他のプラグインがヒープ解析に失敗した場合に非常に便利です。

root@kitploit:~
sed -i "1i source `pwd`/gdbscript.py" ~/.gdbinit # alternatively, you can add that line manually

注意

gdb1

gdb2

gdb3

基本

非常に簡単に使用できます。後日パッケージ化する予定です。

root@kitploit:~
from heapinspect.core import *
hi = HeapInspector(1234)       #pid here
hs = HeapShower(hi)

print(hs.fastbins)
print(hs.smallbins)
print(hs.largebins)
print(hs.unsortedbins)
print(hs.tcache_chunks)

hs.relative = 1              #relative mode, check Quick shot
print(hs.fastbins)

sleep(10)
#now assume that the heap state has changed
hs.update()                  #use this to refresh

pp = PrettyPrinter(hi)
print(pp.all)                #pretty printer
pp.update()                  #use this to update

テスト

いくつかのテストケースがあります。

root@kitploit:~
heapinspect/tests/ $ python test.py  #this will run all test cases for you to check this tool.

......
......

test case unsortedbins64 at test/testcases/libc-2.27/64bit
pid:6704
=========================           fastbins           =========================
=========================         unsortedbins         =========================
chunk(0x7f9aae2e6720): prev_size=0x0      size=0xb1     fd=0x7f9aacdfbca0  bk=0x7f9aae2e6880
chunk(0x7f9aae2e6880): prev_size=0x0      size=0xb1     fd=0x7f9aae2e6720  bk=0x7f9aacdfbca0
=========================          smallbins           =========================
=========================          largebins           =========================
=========================            tcache            =========================
tcache[9]:
chunk(0x7f9aae2e6670): prev_size=0x0      size=0xb1     fd=0x7f9aae2e65d0  bk=0x0
chunk(0x7f9aae2e65c0): prev_size=0x0      size=0xb1     fd=0x7f9aae2e6520  bk=0x0
chunk(0x7f9aae2e6510): prev_size=0x0      size=0xb1     fd=0x7f9aae2e6470  bk=0x0
chunk(0x7f9aae2e6460): prev_size=0x0      size=0xb1     fd=0x7f9aae2e63c0  bk=0x0
chunk(0x7f9aae2e63b0): prev_size=0x0      size=0xb1     fd=0x7f9aae2e6310  bk=0x0
chunk(0x7f9aae2e6300): prev_size=0x0      size=0xb1     fd=0x7f9aae2e6260  bk=0x0
chunk(0x7f9aae2e6250): prev_size=0x0      size=0xb1     fd=0x0             bk=0x0

ドキュメント

詳細なdocstringがソースコードに記述されています。

docsにsphinxドキュメントを作成しました。ブラウザでdocs/build/html/index.htmlを開いてください。

開発ログ

2020/5/11 Version 0.1.4

  • Python3対応

2018/12/10 Version 0.1.3

  • gdbサポート追加

2018/11/6 version 0.1.2

ドキュメント更新。

  • sphinxドキュメント更新
  • ファイル構造の再編

2018/11/5 version 0.1.1

機能的な更新ではありません。

  • PEP8
  • docstrings
  • パフォーマンス更新

2018/10/31 version 0.1.0

初回リリース

  • 改善されたコマンドラインオプション

2018/10/30 version 0.0.8

次のバージョンはリリースになります。

  • CRLF to LF
  • コードの洗練
  • READMEの洗練
  • プリティプリンタ

2018/10/29 version 0.0.7

  • 自動テスト
  • コードの洗練

2018/10/27 version 0.0.6

これは安定版ではありません。異なるglibcによるバグを修正しようとしています。テストの協力が必要です。

  • マルチlibc対応追加
  • x86対応追加

2018/10/26 version 0.0.5

次バージョンではマルチlibc対応を追加します。後日、heapdiffとヒープチェックを追加予定。

  • HeapShower
  • 相対ヒープ・libcオフセット表示
  • 検索ループのバグ修正
  • binsはglibcの方式に従い、fdではなくbkから検索するようになりました

2018/10/24 version 0.0.4

  • HeapRecoder。後日heapdiffを作成予定
  • smallbins and largebins

2018/10/23 version 0.0.3

  • fastbinプロトタイプ
  • unsortedbinプロトタイプ
  • binsプロトタイプ
  • tcacheプロトタイプ

2018/10/22 version 0.0.2

  • c構造体を扱うC_Structを追加

2018/10/19 version 0.0.1

  • class HeapInspectorを追加
  • arenaのより多くの情報を解析しようとしています

2018/10/18 version 0.0.0

  • proc_utilにclass Procを追加
  • test.pyでの実験的テスト
ツールをダウンロード