Check These Out
You must have PHP 5.4.0 or later to be able to run the built in server.
This web server is designed for developmental purposes only, and should not be used in production.
URI requests are served from the current working directory where PHP was started, unless the -t option is used to specify an explicit document root. If a URI request does not specify a file, then either index.php or index.html in the given directory are returned. If neither file exists, then a 404 response code is returned.
If a PHP file is given on the command line when the web server is started it is treated as a "router" script. The script is run at the start of each HTTP request. If this script returns FALSE, then the requested resource is returned as-is. Otherwise the script's output is returned to the browser.
Standard MIME types are returned for files with extensions: .css, .gif, .htm, .html, .jpe, .jpeg, .jpg, .js, .png, .svg, and .txt. The .htm and .svg extensions are recognized from PHP 5.4.4 onwards.
More information here: http://php.net/manual/en/features.commandline.webserver.php
Use this command to find out a list of committers sorted by the frequency of commits.
shuf is in the coreutils package
If you want to check that the spoof worked, type the same command as earlier:
$ifconfig en1 | grep ether
Now you will see:
$ether 00:e2:e3:e4:e5:e6
For the wired ethernet port:
$sudo ifconfig en0 ether 00:e2:e3:e4:e5:e6
swap out "80" for your port of interest. Can use port number or named ports e.g. "http"
host B (you) redirects a modem port (62220) to his local ssh.
host A is a remote machine (the ones that issues the ssh cmd).
once connected port 5497 is in listening mode on host B.
host B just do a
ssh 127.0.0.1 -p 5497 -l user
and reaches the remote host'ssh. This can be used also for vnc and so on.
swap out "80" for your port of interest. Can use port number or named ports e.g. "http"