2022-03-30 00:35:29 +02:00
2022-03-29 03:56:59 +02:00
2022-03-30 00:23:58 +02:00
2022-03-29 03:56:27 +02:00
2022-03-30 00:35:29 +02:00

Intro

Solana CTF Solve

Prerequisites

sudo apt -y install pkg-config build-essential

Installing solana

sh -c "$(curl -sSfL https://release.solana.com/v1.10.5/install)"

Build the CTF

cd ctf && cargo build-bpf

Check project dependencies

cd solution && cargo check && cd ..

Solana binary

mkdir -p solution/target/deploy/ && cp ctf/target/deploy/ctf_solana.farm.so solution/target/deploy/ctf_solana_farm.so

Executing poc

cd ctf && cargo run --bin main

Environment

Rustc 1.59.0 Solana 1.10.5 Vscode Extension: rust-analyzer

Description
A job interview challenge about Solana
Readme 583 KiB
Languages
Rust 100%