PHP Classes

File: phpmailer/test/runfakepopserver.sh

Recommend this page to a friend!
  Classes of Laudir Bispo   PHP Real Estate Website   phpmailer/test/runfakepopserver.sh   Download  
File: phpmailer/test/runfakepopserver.sh
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Real Estate Website
Manage the properties of a real estate business
Author: By
Last change:
Date: 3 years ago
Size: 359 bytes
 

Contents

Class file image Download
#!/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 a port number as the first arg mkfifo fifo nc -l ${1:-1100} <fifo |bash ./fakepopserver.sh >fifo rm fifo