Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
这里有 IP 摄像机问题。我知道 htaccess 用户名和密码。如何从该相机中检索文件列表。我不确定这是否是一个黑客问题,因为我知道用户名和密码,但如果是,请删除。提前致谢!
因为您提到了 .htaccess 文件,所以我假设您使用的是 http 协议,只有当网络服务器为它们提供服务时,您才能在该协议上获取文件列表(意思是“选项 + 索引”已设置)。如果服务器提供文件列表,您可以使用以下内容获取列表:
wget http://username:password@example.com/path/to/directory/
您必须将 wget 替换为您选择的程序。