JieJiSS’ Blog

Boot an Arch Linux RISC-V using qemu-system

TL;DR This approach requires you to be on a non-RISC-V Arch Linux (x86_64 or aarch64, etc.) machine, because we use pacstrap and pacman . 1 2 3 4 5 6 7 # pacman -Syu then reboot is recommended before this sudo pacman -S arch-install-scripts git qemu-img qemu-system-riscv riscv64-linux-gnu-gcc git clone https://github.com/CoelacanthusHex/archriscv-scriptlet.git cd archriscv-scriptlet ./mkrootfs ./mkimg […]

Boot an Arch Linux RISC-V using qemu-system Read More »

ACTF2022 safer-tg-bot-{1,2} WP

safer-telegram-bot-1 Search for flag1 in the source code 1 const user1 = createUser(~~( 1 + Math .random() * 1000000 ), “test” , fs.readFileSync(__dirname + “/flag1.txt” , “utf8” )); Search for user1.flag 1 2 3 4 5 6 7 8 9 10 11 12 13 bot.on( “callback_query” , async (query) => { const callbackData = query.data

ACTF2022 safer-tg-bot-{1,2} WP Read More »