https://github.com/xpaw/dumpstrings
macho-strings will programmatically read an Mach-O binary's string sections within a given binary. This is meant to be much like the strings UNIX utility, however is purpose built for Mach-O binaries.
https://github.com/xpaw/dumpstrings
Last synced: 9 months ago
JSON representation
macho-strings will programmatically read an Mach-O binary's string sections within a given binary. This is meant to be much like the strings UNIX utility, however is purpose built for Mach-O binaries.
- Host: GitHub
- URL: https://github.com/xpaw/dumpstrings
- Owner: xPaw
- License: mit
- Created: 2020-02-07T11:31:24.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-08-12T08:05:41.000Z (over 1 year ago)
- Last Synced: 2025-04-16T03:55:41.893Z (9 months ago)
- Language: Go
- Homepage:
- Size: 767 KB
- Stars: 12
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DumpStrings
The better `strings` utility for the reverse engineer.
`DumpStrings` will programmatically read an Macho-O (MacOS), ELF (Linux), and PE (Windows) binary's string sections within a given binary.
This is meant to be much like the `strings` UNIX utility, however is purpose built for Mach-O binaries.
This means that you can get suitable information about the strings within the binary.
This utility also has the functionality to 'demangle' C++ symbols, iterate linked libraries.
This can prove extremely useful for quickly grabbing strings when analysing a binary.
# Building
```
git clone https://github.com/xPaw/DumpStrings
cd DumpStrings
go build
```
# Usage
```
Example: ./DumpStrings --binary=/bin/echo
-binary string
the path to the binary you wish to parse
-demangle
demangle C++ symbols into their original source identifiers (default true)
-min-length int
minimum length of a string (default 4)
-print-sections
print all the section names found in the binary
-sym-length int
maximum length of a string to filter out when the string contains majority of non a-Z characters (default 10)
-target string
the target type of the binary (macho/elf/pe)
```