简体   繁体   English

如何使用wget解决TYPO3登录掩码?

[英]How can I get around a TYPO3 login mask with wget?

I've tried fetching sites from a TYPO3 page using wget following this answer . 我已经尝试使用wget从TYPO3页面获取网站,并遵循以下答案

But it did not work, since I do not see a target for the login form. 但这没有用,因为我看不到登录表单的目标。

It calls TYPO3FrontendLoginFormRsaEncryption.submitForm() as onsubmit . 它将TYPO3FrontendLoginFormRsaEncryption.submitForm()称为onsubmit

I can't show you the website, but I figure this should be common with TYPO3 pages. 我无法向您显示该网站,但是我认为这在TYPO3页面中应该很常见。

Is there a way to get behind the login form? 有什么方法可以落后于登录表单?

For one time access just login from the computer and then use the cookie you get from the same computer / IP address in the script. 一次访问仅需从计算机登录,然后使用从脚本中同一计算机/ IP地址获得的cookie。 You can get them with browser developer tools. 您可以使用浏览器开发人员工具获得它们。 Depending on the security settings, you might need to send also the same user agent header as browser you used to login, which you can check with developer tools as well. 根据安全性设置,您可能还需要发送与登录时使用的浏览器相同的用户代理标头,也可以使用开发人员工具进行检查。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM