【发布时间】:2020-09-10 03:35:46
【问题描述】:
所以我用python -m SimpleHTTPServer 安装了一个http 服务器,我得到了:
Serving HTTP on 0.0.0.0 port 8000 ...
但是当我尝试下载时
wget http://192.168.100.65:8000/tmp/postgres_default_pass.txt
我明白了:
192.168.100.74 - - [09/Sep/2020 23:32:30] code 404, message File not found
192.168.100.74 - - [09/Sep/2020 23:32:30] "GET /tmp/postgres_default_pass.txt HTTP/1.1" 404 -
在 wget 机器中:
Connecting to 192.168.100.65:8000... connected.
HTTP request sent, awaiting response... 404 File not found
2020-09-09 23:32:31 ERROR 404: File not found.
但是文件存在,做一个ls我可以找到文件。
ls
hsperfdata_kali
postgres_default_pass.txt
sqlmaprgl22hl623598
【问题讨论】:
标签: python wget simplehttpserver