Rows:
| CHALLENGE | AUTHORS | SOLVES (CURRENT) | SOLVE RATE (AT CONTEST TIME) |
|---|---|---|---|
WelcomeMisc | 1244 solves | - | |
AlpacaHack 2100Misc | 669 solves | - | |
Simple LoginWeb | 510 solves | Top 28% = 84/300 users | |
a fact of CTFCrypto | 465 solves | - | |
EmojifyWeb | 323 solves | - | |
echoPwn | 311 solves | Top 32% = 56/174 users | |
299 solves | - | ||
269 solves | - | ||
246 solves | Top 15% = 71/458 users | ||
qrimeCrypto | 229 solves | Top 38% = 91/239 users | |
hit-and-missMisc | 213 solves | - | |
Country DBWeb | 205 solves | Top 33% = 246/729 teams | |
size limitCrypto | 192 solves | - | |
191 solves | - | ||
191 solves | - | ||
Alpaca BankWeb | 188 solves | - | |
inboundPwn | 187 solves | Top 28% = 57/197 users | |
Safe PrimeCrypto | 164 solves | - | |
Fully Padded RSACrypto | 161 solves | - | |
masking tapeRev | 160 solves | Top 19% = 61/316 users |
Rows:
フラグを出力するアセンブリです🤖
f(char*):
push rbp
mov rbp, rsp
mov QWORD PTR [rbp-24], rdi
mov DWORD PTR [rbp-4], 0
jmp .L2
.L4:
mov eax, DWORD PTR [rbp-4]
movsx rdx, eax
mov rax, QWORD PTR [rbp-24]
add rax, rdx
movzx eax, BYTE PTR [rax]
cmp al, 64
jle .L3
mov eax, DWORD PTR [rbp-4]
movsx rdx, eax
mov rax, QWORD PTR [rbp-24]
add rax, rdx
movzx eax, BYTE PTR [rax]
cmp al, 90
jg .L3
mov eax, DWORD PTR [rbp-4]
movsx rdx, eax
mov rax, QWORD PTR [rbp-24]
add rax, rdx
movzx eax, BYTE PTR [rax]
movsx eax, al
lea edx, [rax-65]
mov eax, DWORD PTR [rbp-4]
add eax, 13
add eax, edx
movsx rdx, eax
imul rdx, rdx, 1321528399
shr rdx, 32
sar edx, 3
mov ecx, eax
sar ecx, 31
sub edx, ecx
imul ecx, edx, 26
sub eax, ecx
mov edx, eax
mov eax, edx
lea ecx, [rax+65]
mov eax, DWORD PTR [rbp-4]
movsx rdx, eax
mov rax, QWORD PTR [rbp-24]
add rax, rdx
mov edx, ecx
mov BYTE PTR [rax], dl
.L3:
add DWORD PTR [rbp-4], 1
.L2:
mov eax, DWORD PTR [rbp-4]
movsx rdx, eax
mov rax, QWORD PTR [rbp-24]
add rax, rdx
movzx eax, BYTE PTR [rax]
test al, al
jne .L4
nop
nop
pop rbp
ret
.LC0:
.string "Alpaca{%s}\n"
main:
push rbp
mov rbp, rsp
sub rsp, 16
mov DWORD PTR [rbp-7], 1197424961
mov DWORD PTR [rbp-4], 4672071
lea rax, [rbp-7]
mov rdi, rax
call f(char*)
lea rax, [rbp-7]
mov rsi, rax
mov edi, OFFSET FLAT:.LC0
mov eax, 0
call printf
mov eax, 0
leave
ret