Skip to content

Commit

Permalink
Merge pull request #259 from lap1nou/newtool-cyberchef
Browse files Browse the repository at this point in the history
Add CyberChef
  • Loading branch information
ShutdownRepo authored Oct 26, 2023
2 parents 8ba17c6 + 7e87d7b commit 50de017
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 3 deletions.
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
}

0 comments on commit 50de017

Please sign in to comment.