#script-runner #scripting-engine #ctf #challenge #rune #script

bin+lib ret2script

Checker script runner for Ret2Shell - A feature-riches CTF challenge platform

26 stable releases

new 1.7.0 Jan 16, 2025
1.6.2 Dec 4, 2024
1.6.1 Nov 12, 2024
1.5.9 Jul 27, 2024

#471 in Development tools

Download history 43/week @ 2024-09-25 20/week @ 2024-10-02 2/week @ 2024-10-09 89/week @ 2024-10-16 169/week @ 2024-10-23 20/week @ 2024-10-30 242/week @ 2024-11-06 122/week @ 2024-11-13 18/week @ 2024-11-20 140/week @ 2024-12-04 52/week @ 2024-12-11 13/week @ 2024-12-18 21/week @ 2024-12-25 44/week @ 2025-01-01 316/week @ 2025-01-08

395 downloads per month

MIT license

42KB
903 lines

Ret2Script

Ret2Script is the scripting engine that wraps Rune, just for Ret 2 Shell challenge platform checks.

Usage

# Install
$ cargo install ret2script
# Check flag using ./checker/main.rx
$ ret2script check ./checker/main.rx --flag 'flag{Y0u-5@1d_rIgHt-6uT-yOu_shou1d-PI@Y-geNsHIn-1mpact2}'
# Generate dynamic environment varibles using ./checker/main.rx
$ ret2script environ ./checker/main.rx

Dependencies

~21–33MB
~612K SLoC