Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New tool - Peepdf #140

Merged
merged 2 commits into from
Apr 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions sources/assets/zsh/aliases.d/peepdf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
alias peepdf="python2 /opt/tools/peepdf/peepdf.py"
10 changes: 9 additions & 1 deletion sources/install/package_forensic.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ function package_forensic() {
install_volatility2 # Memory analysis tool
install_volatility3 # Memory analysis tool v2
install_trid # filetype detection tool
# install_peepdf # PDF analysis FIXME
install_peepdf # PDF analysis
install_jadx # Dex to Java decompiler
}

Expand Down Expand Up @@ -79,6 +79,14 @@ function install_trid() {
add-to-list "trid,https://mark0.net/soft-trid-e.html,File identifier"
}

function install_peepdf() {
colorecho "Installing peepdf"
git -C /opt/tools clone --depth=1 https://github.com/jesparza/peepdf
add-aliases peepdf
add-test-command "peepdf --help"
add-to-list "peepdf,https://github.com/jesparza/peepdf,peepdf is a Python tool to explore PDF files in order to find out if the file can be harmful or not."
}

function install_jadx() {
colorecho "Installing jadx"
git -C /opt/tools/ clone --depth=1 https://github.com/skylot/jadx.git
Expand Down