当前位置: 动力学知识库 > 问答 > 编程问答 >

javascript - How to create input text box for xss redirection

问题描述:

I want to create a simple text box for redirecting to a website. It is part of the xss which I want to implement.

parent.location.href = "https://www.google.com";

Is the code which I want to redirect but I just want to make the text box like below, and if he enters the correct or wrong text it should redirect to the website. I have only included ok but can we use cancel only so that redirection performs well?

分享给朋友:
您可能感兴趣的文章:
随机阅读: