-
-
Notifications
You must be signed in to change notification settings - Fork 68
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
base: dev
Are you sure you want to change the base?
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,6 +40,15 @@ 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 { | ||
# CODE-CHECK-WHITELIST=add-aliases | ||
colorecho "Installing Sage" | ||
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." | ||
} | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can you move your installation in a Like this one : https://github.com/ThePorgs/Exegol-images/blob/dev/sources/install/package_ad.sh#L6 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
# Package dedicated to attack crypto | ||
function package_crypto() { | ||
set_env | ||
|
@@ -49,6 +58,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." | ||
|
There was a problem hiding this comment.
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
For
add-aliases