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

Add CyberChef #259

Merged
merged 18 commits into from
Oct 26, 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
Binary file modified sources/assets/firefox/places.sqlite
Binary file not shown.
2 changes: 1 addition & 1 deletion sources/install/package_base.sh
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ function package_base() {
DEBIAN_FRONTEND=noninteractive fapt macchanger # Macchanger
install_gf # wrapper around grep
install_firefox

cp -v /root/sources/assets/grc/grc.conf /etc/grc.conf # grc

# openvpn
Expand Down
21 changes: 20 additions & 1 deletion sources/install/package_misc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,24 @@ function install_yt-dlp() {
add-to-list "yt-dlp,https://github.com/yt-dlp/yt-dlp,A youtube-dl fork with additional features and fixes"
}

function install_cyberchef() {
# CODE-CHECK-WHITELIST=add-aliases,add-history
colorecho "Installing CyberChef"
local last_version
last_version=$(git ls-remote --tags --sort='v:refname' https://github.com/gchq/CyberChef.git | tail -n 1 | cut -d '/' -f 3 | cut -d '^' -f 1)

if [ -z "$last_version" ]; then
criticalecho-noexit "Latest version not found" && return
fi

mkdir /opt/tools/CyberChef
wget https://github.com/gchq/CyberChef/releases/download/"$last_version"/CyberChef_"$last_version".zip -O /tmp/CyberChef.zip
unzip -o /tmp/CyberChef.zip -d /opt/tools/CyberChef/
rm /tmp/CyberChef.zip
mv /opt/tools/CyberChef/CyberChef_"$last_version".html /opt/tools/CyberChef/CyberChef.html
add-test-command "file /opt/tools/CyberChef/CyberChef.html"
add-to-list "CyberChef,https://github.com/gchq/CyberChef/,The Cyber Swiss Army Knife"
}

# Package dedicated to offensive miscellaneous tools
function package_misc() {
Expand All @@ -176,4 +194,5 @@ function package_misc() {
install_objectwalker # Python module to explore the object tree to extract paths to interesting objects in memory
install_tig # ncurses-based text-mode interface for git
install_yt-dlp # A youtube-dl fork with additional features and fixes
}
install_cyberchef # A web based toolbox
}
3 changes: 2 additions & 1 deletion sources/install/package_most_used.sh
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,5 @@ function package_most_used() {
install_sqlmap # SQL injection scanner
install_netexec # Crackmapexec repo
install_sslscan # SSL/TLS scanner
}
install_cyberchef # A web based toolbox
}