Skip to content
KitploitKITPLOIT
أدواتالمدونة
إرسال
أدواتالمدونة
إرسال

أدوات الاختراق واختبار الاختراق والأمن السيبراني لترسانتك الأمنية!

Kitploit هو دليل لأدوات الاختراق والأمن السيبراني واختبار الاختراق. اكتشف آخر تحديثات المشاريع للعثور على الثغرات وتحليل الأنظمة وأتمتة الاختبارات وتعزيز أمنك.

··الخلاصات·اتصال·الخصوصية·© 2026 Kitploit

دليل الأدوات

الفئات

عرض جميع الفئات
Loading categories
heaptrace — يساعد في تصور عمليات heap لـ pwn والتصحيح | Kitploit
أدوات/GitHubGitHub/arinerron/heaptrace
تحليل الذاكرة الجنائيمصممي الأخطاءCTFتحليل الملفات الثنائية
GitHubarinerron/heaptrace

heaptrace

يساعد في تصور عمليات heap لـ pwn والتصحيح

عرض المستودع
33019منذ 3 سنواتتمت المراجعة من قبل Kitploit

الأكثر شعبية

عرض الكل →

اكتشف الأدوات الأكثر استخدامًا من قبل مجتمعنا.

استكشف جميع الأدوات

تصفح مجموعتنا من الأدوات

عرض جميع الأدوات →
مشاركة

حول

heaptrace هو مصحح أخطاء الكومة (heap debugger) لتتبع عمليات كومة glibc في ثنائيات ELF64 (x86_64). الغرض منه هو المساعدة في تصور عمليات الكومة عند تصحيح الثنائيات أو القيام بـ heap pwn.

screenshot.png

  • يستبدل العناوين برموز سهلة الفهم
  • يكشف مشاكل تلف الكومة وتسرب الذاكرة
  • يمكن التصحيح باستخدام gdb في أي نقطة (--break)
  • يدعم جميع الثنائيات ELF64 (x86_64) بغض النظر عن إعدادات ASLR أو المترجم (بما في ذلك الثنائيات المجردة من الرموز)

كيف يختلف heaptrace عن valgrind؟

التثبيت

الإصدارات الرسمية

انظر ملفات الإصدارات .deb و .rpm، وثنائي مُجمّع مسبقًا في صفحة الإصدارات.

مستودع Ubuntu PPA

root@kitploit:~
$ sudo add-apt-repository ppa:arinerron/heaptrace
$ sudo apt-get update
$ sudo apt-get install heaptrace

مستودع أرش للمستخدم (PKGBUILD)

استخدم مساعد AUR المفضل لديك لتثبيت إحدى الحزمتين التاليتين:

  • heaptrace-git — حزمة المصدر (PKGBUILD)
  • heaptrace — حزمة ثنائية (PKGBUILD)
root@kitploit:~
$ trizen -S heaptrace-git
... OR ...
$ trizen -S heaptrace

التجميع من المصدر

root@kitploit:~
$ git clone https://github.com/Arinerron/heaptrace.git && cd heaptrace
$ make
$ sudo make install
...
$ heaptrace ./target

الاستخدام

يمكنك تحديد وسائط لـ heaptrace قبل تحديد اسم الثنائي:

root@kitploit:~
Usage:
  heaptrace [options...] <target> [args...]
  heaptrace [options...] --attach <pid>

Options:
  -p <pid>, --attach <pid>, --pid <pid>
	 Tells heaptrace to attach to the specified pid 
	 instead of running the binary from the `target` 
	 argument. Note that if you specify this argument 
	 you do not have to specify `target`.


  -b <expression>, --break=<expression>, --break-at=<expression>
	 Send SIGSTOP to the process when the specified 
	 `expression` is satisfied and attach the GNU debugger 
	 (gdb) to the process.

	 This argument supports complex expressions. Please 
	 See the documentation for more information: 
	 https://github.com/Arinerron/heaptrace/wiki/How-to-Create-Breakpoints


  -B <expression>, --break-after=<expression>
	 Similar to `--break`. Replaces the tracer 
	 process with gdb, but only after the heap function 
	 returns. See the documentation for more information: 
	 https://github.com/Arinerron/heaptrace/wiki/How-to-Create-Breakpoints


  -e <name=value>, --environ=<name=value>, --environment=<name=value>
	 Sets a single environmental variable. Useful for 
	 setting runtime settings for the target such as 
	 LD_PRELOAD=./libc.so.6 without having them affect 
	 heaptrace's runtime configuration. This option can 
	 be used multiple times.


  -s <sym_defs>, --symbols=<sym_defs>
	 Override the values heaptrace detects for the 
	 malloc/calloc/free/realloc/reallocarray symbols. 
	 Useful if heaptrace fails to automatically 
	 identify heap functions in a stripped binary. See 
	 the wiki for more info.


  -F, --follow-fork, --follow
	 Tells heaptrace to detach the parent and follow 
	 the child if the target calls fork(), vfork(), or 
	 clone().

	 The default behavior is to detach the child and 
	 only trace the parent.


  -G <path>, --gdb-path <path>
	 Tells heaptrace to use the path to gdb specified 
	 in `path` instead of /usr/bin/gdb (default).


  -w <width>, --width=<width>, --term-width=<width>
	 Force a certain terminal width.


  -o <file>, --output=<file>
	 Write the heaptrace output to `file` instead of 
	 /dev/stderr (which is the default output path).


  -v, --verbose
	 Prints verbose information such as line numbers in
	 source code given the required debugging info is
	 stored in the ELF.


  -V, --version
	 Displays the current heaptrace version.


  -h, --help
	 Shows this help menu.

  • على سبيل المثال، إذا أردت إرفاق gdb تلقائيًا عند العملية #3، فستنفذ heaptrace --break=3 ./my-binary. يُرجى الاطلاع على وثائق الويكي لمزيد من المعلومات حول كيفية استخدام هذه الوسيطة.
  • انظر وثائق الويكي لمزيد من المعلومات حول كيفية استخدام الوسيطة -s/--symbol لتصحيح الثنائيات المجردة من الرموز التي فشل heaptrace في التعرف التلقائي على وظائفها.
  • عيّن الوسيطة $NO_COLOR لإزالة رموز الألوان ANSI من المخرجات. هذا الخيار لا يزال قيد التطوير وسيتم تحويله إلى وسيطة قريبًا.

الدعم

يسعدني مساعدتك إذا واجهت خطأ أو كان لديك أي ملاحظات. يُرجى زيارة صفحة GitHub Issues.

تنزيل الأداة