PHP 8.1.33
Preview: runfakepopserver.sh Size: 361 B
/home/jambtst2015/public_html/giraffeng.com/admin/mail_function/test/runfakepopserver.sh

#!/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

Directory Contents

Dirs: 0 × Files: 9

Name Size Perms Modified Actions
140 B lrw-r--r-- 2024-11-22 17:53:01
Edit Download
16.64 KB lrw-r--r-- 2025-11-02 16:12:33
Edit Download
2.93 KB lrw-r--r-- 2024-11-22 17:53:01
Edit Download
474 B lrw-r--r-- 2024-11-22 17:53:01
Edit Download
2.32 KB lrw-r--r-- 2024-11-22 17:53:01
Edit Download
51.00 KB lrw-r--r-- 2024-11-22 17:53:01
Edit Download
361 B lrw-r--r-- 2024-11-22 17:53:01
Edit Download
238 B lrw-r--r-- 2024-11-22 17:53:01
Edit Download
2.63 KB lrw-r--r-- 2024-11-22 17:53:01
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).