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

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

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

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

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

श्रेणियाँ

सभी श्रेणियाँ देखें
Loading categories
rop-tool — बाइनरी एक्सप्लॉइट लिखने में मदद करने वाला एक उपकरण | Kitploit
उपकरण/GitHubGitHub/t00sh/rop-tool
शोषणरिवर्स इंजीनियरिंगडीबगर्सबाइनरी विश्लेषणपेलोड डेवलपमेंटबाइनरी शोषण
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 चंक के अनुरूप है, और हीप को heap फ़ंक्शन (free, malloc, realloc, calloc) के प्रत्येक निष्पादन के बाद डंप किया जाता है

  • addr: मैलोक चंक का वास्तविक पता है

  • usr_addr: malloc फ़ंक्शन द्वारा उपयोगकर्ता को लौटाया गया पता है

  • size: malloc चंक का आकार है

  • flags: P का अर्थ PREV_INUSE, M का अर्थ IS_MAPPED और 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 license

लेखक

Tosh (tosh at t0x0sh . org)

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