This commit is contained in:
louiscklaw
2025-01-31 19:51:47 +08:00
parent 118e4a5f39
commit 866bfd3b42
189 changed files with 43536 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
#!/usr/bin/env bash
set -ex
# python ./NetworkApplications.py -h
# test web
# python ./NetworkApplications.py w
# curl http://localhost:8080/index.html
# test ParisTraceroute
# sudo su
# python ./NetworkApplications.py pt www.google.com
# test ping
# python ./NetworkApplications.py p www.google.com
# test traceroute
# traceroute -I www.google.com
# paris-traceroute -I www.google.com
# python ./NetworkApplications.py t www.google.com
# test proxy
# python ./NetworkApplications.py x
# curl neverssl.com --proxy 127.0.0.1:8000
# curl http://neverssl.com --proxy 127.0.0.1:8000
# curl https://neverssl.com:443 --proxy 127.0.0.1:8000
# utils
# gethostbyname
# python ./NetworkApplications.py p localhost