Server
Public to the World
ngrok http <PORT>ngrok tcp <PORT>With tcp I can use the IP (nslookup).
ssh -R 80:localhost:<PORT> serveo.netPython
python -m SimpleHTTPServer <PORT>python3 -m http.server <PORT>Download uploadserver:
pip3 install uploadserverRun:
python3 -m uploadserverCreate self-signed certificate:
mkdir https && cd https
openssl req -x509 -out server.pem -keyout server.pem -newkey rsa:2048 -nodes -sha256 -subj '/CN=server'
python3 -m uploadserver 443 --server-certificate ./server.pemSMB
impacket-smbserver -smb2support <NAME_SHARE> <PATH>You can add authentication with:
-user <USER> -password <PASS>You can access it in Windows with:
\\<OUR_IP>\<NAME_SHARE>\<FILE>move <FILE_IN_WINDOWS> \\<OUR_IP>\<NAME_SHARE>FTP
Allows anonymous authentication by default.
Download twisted:
sudo pip3 install twistedRun:
sudo python3 -m twisted ftp -p 21 -r .Download pyftpdlib:
sudo pip3 install pyftpdlibRun:
sudo python3 -m pyftpdlib --port 21 [--write]ftp://<IP>/ftp://<USER>:<PASS>@<IP>/PHP
sudo php -S 0.0.0.0:<PORT>File index.php is the default.
Ruby
ruby -run -ehttpd . -p<PORT>npm
Via Node Package Manager, the package manager for JavaScript Node.js
npm install http-server -gRun:
http-server -p <PORT>WebDAV
Download:
sudo pip3 install wsgidav cherootRun:
sudo wsgidav --host=0.0.0.0 --port=80 --root=<PATH> --auth=anonymousSupporting collaborative content creation.
Last updated
Was this helpful?