mirror of
https://github.com/mubix/kaliwiki.git
synced 2025-10-29 16:59:26 +00:00
55 lines
1.9 KiB
Markdown
55 lines
1.9 KiB
Markdown
# pdf-parser
|
|
|
|
Notes
|
|
-------
|
|
|
|
Help Text
|
|
-------
|
|
```
|
|
Usage: pdf-parser [options] pdf-file|zip-file|url
|
|
pdf-parser, use it to parse a PDF document
|
|
|
|
Options:
|
|
--version show program's version number and exit
|
|
-h, --help show this help message and exit
|
|
-s SEARCH, --search=SEARCH
|
|
string to search in indirect objects (except streams)
|
|
-f, --filter pass stream object through filters (FlateDecode,
|
|
ASCIIHexDecode, ASCII85Decode, LZWDecode and
|
|
RunLengthDecode only)
|
|
-o OBJECT, --object=OBJECT
|
|
id of indirect object to select (version independent)
|
|
-r REFERENCE, --reference=REFERENCE
|
|
id of indirect object being referenced (version
|
|
independent)
|
|
-e ELEMENTS, --elements=ELEMENTS
|
|
type of elements to select (cxtsi)
|
|
-w, --raw raw output for data and filters
|
|
-a, --stats display stats for pdf document
|
|
-t TYPE, --type=TYPE type of indirect object to select
|
|
-v, --verbose display malformed PDF elements
|
|
-x EXTRACT, --extract=EXTRACT
|
|
filename to extract malformed content to
|
|
-H, --hash display hash of objects
|
|
-n, --nocanonicalizedoutput
|
|
do not canonicalize the output
|
|
-d DUMP, --dump=DUMP filename to dump stream content to
|
|
-D, --debug display debug info
|
|
-c, --content display the content for objects without streams or
|
|
with streams without filters
|
|
--searchstream=SEARCHSTREAM
|
|
string to search in streams
|
|
--unfiltered search in unfiltered streams
|
|
--casesensitive case sensitive search in streams
|
|
--regex use regex to search in streams
|
|
|
|
|
|
```
|
|
|
|
Example Usage
|
|
-------
|
|
|
|
Links
|
|
-------
|
|
[1] http://blog.didierstevens.com/programs/pdf-tools/
|