diff --git a/rev/bit_o_asm3/disassembler-dump0_c.txt b/rev/bit_o_asm3/disassembler-dump0_c.txt new file mode 100644 index 0000000..48a29f5 --- /dev/null +++ b/rev/bit_o_asm3/disassembler-dump0_c.txt @@ -0,0 +1,14 @@ +<+0>: endbr64 +<+4>: push rbp +<+5>: mov rbp,rsp +<+8>: mov DWORD PTR [rbp-0x14],edi +<+11>: mov QWORD PTR [rbp-0x20],rsi +<+15>: mov DWORD PTR [rbp-0xc],0x9fe1a +<+22>: mov DWORD PTR [rbp-0x8],0x4 +<+29>: mov eax,DWORD PTR [rbp-0xc] +<+32>: imul eax,DWORD PTR [rbp-0x8] +<+36>: add eax,0x1f5 +<+41>: mov DWORD PTR [rbp-0x4],eax +<+44>: mov eax,DWORD PTR [rbp-0x4] +<+47>: pop rbp +<+48>: ret diff --git a/rev/bit_o_asm3/solve.sh b/rev/bit_o_asm3/solve.sh new file mode 100755 index 0000000..5833987 --- /dev/null +++ b/rev/bit_o_asm3/solve.sh @@ -0,0 +1,4 @@ +#!/usr/bin/env bash + +echo "picoCTF{$(( (16#4 * 16#9fe1a) + 16#1f5 ))}" +