Server : Apache/2 System : Linux server1.tkcorporation.co.th 2.6.32-042stab145.3 #1 SMP Thu Jun 11 14:05:04 MSK 2020 i686 User : ifixit ( 537) PHP Version : 5.3.29 Disable Function : exec,system,passthru,shell_exec,escapeshellarg,escapeshellcmd,proc_close,proc_open,dl,popen,show_source Directory : /home/ifixit/public_html/assets/PHPMailer/test/ |
#!/usr/bin/env bash # Run the fake pop server from bash # Idea from http://blog.ale-re.net/2007/09/ipersimple-remote-shell-with-netcat.html # Defaults to port 1100 so it can be run by unpriv users and not clash with a real server # Optionally, pass in in a port number as the first arg mkfifo fifo nc -l ${1:-1100} <fifo |bash ./fakepopserver.sh >fifo rm fifo