roaris / ctf-log

0 stars 0 forks source link

picoCTF: file-run1 (Reverse Engineering) #12

Open roaris opened 3 months ago

roaris commented 3 months ago

https://play.picoctf.org/practice/challenge/266

roaris commented 3 months ago

kali linuxなので、実行権限を付与して実行するだけ

$ file run
run: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=4d8e230e54db29e0879e7ed9f2b2231eb8c60032, for GNU/Linux 3.2.0, not stripped
$ ./run                                                                                                                                                                      
bash: ./run: Permission denied
$ ls -l run                                                                                                                               
-rw-r--r-- 1 roaris roaris 16736 Mar  5 23:08 run
$ chmod +x run
$ ls -l run
-rwxr-xr-x 1 roaris roaris 16736 Mar  5 23:08 run
$ ./run
The flag is: picoCTF{U51N6_Y0Ur_F1r57_F113_47cf2b7b}