← 대시보드 PHP shell_exec() SecuLab PRAC
명령어 실행함수 shell_exec() - 변수에 저장하고 출력 필요
total 124 drwxrwxr-x 2 1000 1000 4096 Jun 18 03:40 . drwxrwxr-x 6 1000 1000 4096 Jun 20 08:18 .. -rw-rw-r-- 1 1000 1000 185 Jun 20 08:18 basic.php -rw-rw-r-- 1 1000 1000 15336 Jun 20 08:18 double_extension.php -rw-rw-r-- 1 1000 1000 408 Jun 20 08:18 exec.php -rw-rw-r-- 1 1000 1000 173 Jun 20 08:18 file_lab10.php -rw-rw-r-- 1 1000 1000 195 Jun 20 08:18 file_lab2.php -rw-rw-r-- 1 1000 1000 191 Jun 20 08:18 file_lab3.php -rw-rw-r-- 1 1000 1000 209 Jun 20 08:18 file_lab4.php -rw-rw-r-- 1 1000 1000 165 Jun 20 08:18 file_lab5.php -rw-rw-r-- 1 1000 1000 176 Jun 20 08:18 file_lab7.php -rw-rw-r-- 1 1000 1000 182 Jun 20 08:18 file_lab8.php -rw-rw-r-- 1 1000 1000 159 Jun 20 08:18 file_lab9.php -rw-rw-r-- 1 1000 1000 14488 Jun 20 08:18 jsdisable.php -rw-rw-r-- 1 1000 1000 13134 Jun 20 08:18 mimetype.php -rw-rw-r-- 1 1000 1000 176 Jun 20 08:18 one-cookie.php -rw-rw-r-- 1 1000 1000 11188 Jun 20 08:18 override.php -rw-rw-r-- 1 1000 1000 248 Jun 20 08:18 passthru.php -rw-rw-r-- 1 1000 1000 276 Jun 20 08:18 shell_exec.php -rw-rw-r-- 1 1000 1000 201 Jun 20 08:18 system.php