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

bin+lib ret2script

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

25 stable releases

new 1.6.4 Jan 9, 2025
1.6.2 Dec 4, 2024
1.6.1 Nov 12, 2024
1.5.9 Jul 27, 2024

#483 in Development tools

Download history 53/week @ 2024-09-20 54/week @ 2024-09-27 4/week @ 2024-10-04 1/week @ 2024-10-11 129/week @ 2024-10-18 137/week @ 2024-10-25 12/week @ 2024-11-01 320/week @ 2024-11-08 54/week @ 2024-11-15 8/week @ 2024-11-22 105/week @ 2024-11-29 64/week @ 2024-12-06 26/week @ 2024-12-13 22/week @ 2024-12-20 20/week @ 2024-12-27 259/week @ 2025-01-03

355 downloads per month

MIT license

42KB
906 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
~606K SLoC