Rows:
| CHALLENGE | AUTHORS | SOLVES (CURRENT) | SOLVE RATE (AT CONTEST TIME) |
|---|---|---|---|
AlpacaHack 2100Misc | 1645 solves | - | |
WelcomeMisc | 1546 solves | - | |
a fact of CTFCrypto | 883 solves | - | |
Simple LoginWeb | 612 solves | Top 28% = 84/300 users | |
EmojifyWeb | 597 solves | - | |
569 solves | - | ||
510 solves | Top 73% = 683/928 teams | ||
super-tomatoCrypto | 392 solves | - | |
hit-and-missMisc | 388 solves | - | |
echoPwn | 357 solves | Top 32% = 56/174 users | |
Xmas LoginWeb | 355 solves | - | |
346 solves | - | ||
Alpaca BankWeb | 332 solves | - | |
328 solves | - | ||
size limitCrypto | 320 solves | - | |
Encoding BasicsMisc Crypto | 318 solves | - | |
314 solves | - | ||
🐈Web | 312 solves | - | |
BarsWeb | 301 solves | - | |
108Misc | 296 solves | - |
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