Skip to content
KitploitKITPLOIT
उपकरणब्लॉग
जमा करें
उपकरणब्लॉग
जमा करें

हैकिंग, पेनटेस्ट और साइबर सुरक्षा उपकरण आपके सुरक्षा शस्त्रागार के लिए!

Kitploit हैकिंग, साइबर सुरक्षा और पेंटेस्टिंग टूल्स की एक निर्देशिका है। कमजोरियों को खोजने, सिस्टम का विश्लेषण करने, परीक्षण को स्वचालित करने और अपनी सुरक्षा को मजबूत करने के लिए नवीनतम प्रोजेक्ट अपडेट खोजें।

··फ़ीड·संपर्क·गोपनीयता·© 2026 Kitploit

टूल निर्देशिका

श्रेणियाँ

सभी श्रेणियाँ देखें
Loading categories
heaptrace — pwn और डिबगिंग के लिए हीप संचालन को विज़ुअलाइज़ करने में मदद करता है। | Kitploit
उपकरण/GitHubGitHub/arinerron/heaptrace
मेमोरी फोरेंसिकडीबगर्सCTFबाइनरी विश्लेषण
GitHubarinerron/heaptrace

heaptrace

pwn और डिबगिंग के लिए हीप संचालन को विज़ुअलाइज़ करने में मदद करता है।

रिपॉजिटरी देखें
330193 साल पहलेKitploit द्वारा समीक्षित

सबसे लोकप्रिय

सभी देखें →

हमारे समुदाय द्वारा सबसे अधिक उपयोग किए जाने वाले उपकरण खोजें।

सभी उपकरण खोजें

हमारे उपकरणों का संग्रह ब्राउज़ करें

सभी उपकरण देखें →
साझा करें

परिचय

heaptrace एक हीप डीबगर है जो ELF64 (x86_64) बाइनरी में glibc हीप ऑपरेशनों को ट्रैक करता है। इसका उद्देश्य बाइनरी को डीबग करते समय या हीप पाउन करते समय हीप ऑपरेशनों को विज़ुअलाइज़ करने में मदद करना है।

screenshot.png

  • पतों को आसानी से समझने वाले प्रतीकों से बदलता है
  • हीप भ्रष्टाचार और मेमोरी लीकेज समस्याओं का पता लगाता है
  • किसी भी बिंदु पर gdb में डीबग कर सकता है (--break)
  • ASLR या कंपाइलर सेटिंग्स की परवाह किए बिना सभी ELF64 (x86_64) बाइनरी का समर्थन करता है (स्ट्रिप्ड बाइनरी सहित)

heaptrace और valgrind में क्या अंतर है?

स्थापना

आधिकारिक रिलीज़

.deb और .rpm रिलीज़ फाइलें और एक पूर्व-संकलित बाइनरी देखें रिलीज़ पेज पर।

Ubuntu PPA

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

Arch User Repository (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.

  • उदाहरण के लिए, यदि आप ऑपरेशन #3 पर स्वचालित रूप से gdb संलग्न करना चाहते हैं, तो आप heaptrace --break=3 ./my-binary निष्पादित करेंगे। कृपया इस आर्गुमेंट का उपयोग करने के तरीके के बारे में अधिक जानकारी के लिए विकी दस्तावेज़ीकरण देखें।
  • स्ट्रिप्ड बाइनरी को डीबग करने के लिए -s/--symbol आर्गुमेंट का उपयोग कैसे करें, जिसमें heaptrace स्वचालित रूप से फ़ंक्शन की पहचान करने में विफल रहा, इस बारे में अधिक जानकारी के लिए विकी दस्तावेज़ीकरण देखें।
  • आउटपुट से ANSI रंग कोड हटाने के लिए $NO_COLOR आर्गुमेंट सेट करें। यह विकल्प अभी भी विकास में है और जल्द ही एक आर्गुमेंट में परिवर्तित हो जाएगा।

समर्थन

यदि आपको कोई बग अनुभव होता है या कोई प्रतिक्रिया है, तो मैं मदद करने में खुश हूँ। कृपया GitHub Issues पेज देखें।

टूल डाउनलोड करें