by@dnek_
WA
967ms
read a b;echo $[b%110<9?b/100%b:a%10];. $0
862 227 722 298 142 741 946 641 577 442 524 843 289 997 228 113 413 186 299 556 838 839 296 378 456 546 365 274 395 695 363 885 755 535 916 638 766 662 799 692 484 387 956 566 244 441 677 177 277 357 238 339 649 496 775 519 744 498 399 216 714 114 754 645
2 2 2 6 4 4 9 1 3 5 8 6 6 5 5 8 5 6 6 9 4 6 4 7 7 8 9 5 4 9 1 4
/code.bash: line 1: b%110<9?b/100%b:a%10: division by 0 (error token is "b:a%10")
10 execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffd95ea0680 /* 9 vars */) = 0 11 execve("/usr/bin/realpath", ["realpath", "/volume/CODE"], 0x55931df94d18 /* 9 vars */) = 0 11 +++ exited with 0 +++ 10 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=11, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 12 execve("/bin/cp", ["cp", "-f", "/volume/CODE", "/opt/jails/bash-pure/code.bash"], 0x55931df94d58 /* 9 vars */) = 0 12 +++ exited with 0 +++ 10 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=12, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 13 execve("/bin/cat", ["cat", "-"], 0x55931fb7c0d8 /* 9 vars */) = 0 14 execve("/usr/sbin/jk_chrootlaunch", ["jk_chrootlaunch", "-j", "/opt/jails/bash-pure", "-x", "/bin/bash", "/code.bash"], 0x55931fb7c1c0 /* 9 vars */) = 0 13 +++ exited with 0 +++ 10 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=13, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 14 execve("/bin/bash", ["/bin/bash", "/code.bash"], 0x7ffee171ba50 /* 9 vars */) = 0 14 +++ exited with 1 +++ 10 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=14, si_uid=0, si_status=1, si_utime=0, si_stime=1} --- 15 execve("/bin/rm", ["rm", "/opt/jails/bash-pure/code.bash"], 0x55931df94cb8 /* 9 vars */) = 0 15 +++ exited with 0 +++ 10 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=15, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 10 +++ exited with 0 +++