从外部网站获取文件计数
是否有任何类型的 javascript、coldfusion、php 等可以递归获取外部网站的所有公共文件以进行显示/计数?
Is there any type of javascript, coldfusion, php, etc that can recursively get all the public files of an external website for display/count?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
不,如果可能的话,这将是一个很快就会被修补的安全漏洞。您肯定不希望其他人对您的服务器具有相同的访问权限。
我可以读一下你的 .htaaccess 吗?不,先生,你可能不会。
=)
No, and if it was possible, it would be a security flaw that would quickly be patched. Surely you wouldn't want others the same access to your server.
May I read your .htaaccess please? No sir, you may not.
=)
仅当目录结构公开时,例如通过 Apache 的“目录没有索引页”。在这种情况下,您可以使用 XML 解析器并获取所有
标记的 href 并以这种方式递归。
但在大多数情况下,您将无法找到公开的目录。在这种情况下,您可能很难确定服务器类型并且获取文件结构也无济于事。
Only if the directory structure is exposed, say, through Apache's "directory does not have an index page". In that case, you can use an XML parser and get the href's of all of the
<a>
tags and recurse that way.In most cases, though, you'll not be able to find an exposed directory. In such a case, you might have difficulty determining the server type and getting the file structure is hopeless.