pwncollege / ctf-archive

This is a comprehensive collection of challenges from past CTF competitions. The challenges are stored with REHOST details and can be run on pwn.college website.
https://pwn.college/ctf-archive/
15 stars 2 forks source link

Install SageMath for Challenge Environment #7

Closed prathamgupta36 closed 3 months ago

prathamgupta36 commented 3 months ago

This challenge requires sage math to run the given files, after installing sage math in the environment by using sudo apt install sagemath-jupyter the challenge works but looking for a better dynamic solution

zardus commented 3 months ago

You can add this as a PR against the dojo itself; we can just install sage into the standard container

On Tue, May 28, 2024 at 10:59 AM Pratham Gupta @.***> wrote:

This challenge https://urldefense.com/v3/__https://github.com/pwncollege/ctf-archive/tree/main/0ctf2019/babyrsa__;!!IKRxdwAv5BmarQ!bm0BMW5BXaQN-g5AvwTdKyFEUraMcbAIOtpmR24GS_-c-Ey5M1ERxf8FVblb7hbhqE66XdFN6Bqv04UzbkKJ9C2xnnSw$ requires sage math to run the given files, after installing sage math in the environment by using sudo apt install sagemath-jupyter the challenge works but looking for a better dynamic solution

— Reply to this email directly, view it on GitHub https://urldefense.com/v3/__https://github.com/pwncollege/ctf-archive/issues/7__;!!IKRxdwAv5BmarQ!bm0BMW5BXaQN-g5AvwTdKyFEUraMcbAIOtpmR24GS_-c-Ey5M1ERxf8FVblb7hbhqE66XdFN6Bqv04UzbkKJ9FdogKaX$, or unsubscribe https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AA2LHF54MQHLJLJXKMOXEITZETAW7AVCNFSM6AAAAABINNEVQKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGMZDCNRTGE3DGMY__;!!IKRxdwAv5BmarQ!bm0BMW5BXaQN-g5AvwTdKyFEUraMcbAIOtpmR24GS_-c-Ey5M1ERxf8FVblb7hbhqE66XdFN6Bqv04UzbkKJ9JTjriit$ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

prathamgupta36 commented 3 months ago

I added the sage file and it is moved to the location where I found it after installation using the .init file

prathamgupta36 commented 3 months ago

how do I add sage to the standard container? There seem to be a good amount of challenges using sage

prathamgupta36 commented 3 months ago

Added PR to dojo for sagemath