The ctfepi R package
Read briefings, download exhibits, open Marlow's notes, preview and submit flags, all from your R session. The commands are the same ones the site shows. Version 0.1.0.
Install, R 4.4 or later
> install.packages(c("httr2", "cli", "jsonlite", "openssl"))
> install.packages("https://ctf.xera.ac/downloads/ctfepi_latest.tar.gz", repos = NULL, type = "source")
Use
> library(ctfepi)
> ctf_login() # paste a token from your profile
> board(track = "E", status = "open")
> briefing("e2-leave-one-out")
> exhibits("e2-leave-one-out", dir = "case-e2") # checks every SHA-256
> hint("e2-leave-one-out") # Marlow's note
> preview_flag("e2-leave-one-out", "epi{...}") # what will be checked
> submit_flag("e2-leave-one-out", "epi{...}")
> leaderboard()
Downloads
SHA-256 checksums:
1a3a05ea5dba7454e143a5dffe0d0f6a68b7b55a603187ecc81ebc82ec795492 ctfepi_0.1.0.tar.gz 1a3a05ea5dba7454e143a5dffe0d0f6a68b7b55a603187ecc81ebc82ec795492 ctfepi_latest.tar.gz