mirror of
https://github.com/zardus/ctf-tools
synced 2024-12-13 06:22:34 +00:00
6 lines
203 B
Bash
Executable file
6 lines
203 B
Bash
Executable file
#!/bin/bash -e
|
|
|
|
RESULT=$(./bin/yafu 'factor(10)' | grep "^P" | tr -d '\n')
|
|
[ "$RESULT" == "P1 = 2P1 = 5" ] || exit 1
|
|
|
|
./bin/yafu 'factor(427836528347651349523452345)' | grep "^P" | grep -q 3290292219611
|