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

feat : add sage package #397

Open
wants to merge 3 commits into
base: dev
Choose a base branch
from
Open
Changes from 1 commit
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
9 changes: 9 additions & 0 deletions sources/install/package_crypto.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,14 @@ function install_rsacracker() {
add-to-list "RsaCracker,https://github.com/skyf0l/RsaCracker,Powerful RSA cracker for CTFs. Supports RSA - X509 - OPENSSH in PEM and DER formats."
}

function install_sage {
colorecho "Installing Sage"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you'll need to add a CCC exclusion here as per https://exegol.readthedocs.io/en/latest/community/contributors.html#function-structure
image
For add-aliases

fapt sagemath
add-history sage
add-test-command "sage --help"
add-to-list "sage,https://www.sagemath.org,SageMath is a free open-source mathematics software system licensed under the GPL."
}

# Package dedicated to attack crypto
function package_crypto() {
set_env
Expand All @@ -49,6 +57,7 @@ function package_crypto() {
install_rsactftool # attack rsa
install_tls-map # CLI & library for mapping TLS cipher algorithm names: IANA, OpenSSL, GnuTLS, NSS
install_rsacracker # Powerful RSA cracker for CTFs. Supports RSA, X509, OPENSSH in PEM and DER formats.
install_sage # SageMath is a free open-source mathematics software system.
end_time=$(date +%s)
local elapsed_time=$((end_time - start_time))
colorecho "Package crypto completed in $elapsed_time seconds."
Expand Down