forked from CovidVaccine19qr/pentesterhelper.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpop.js
More file actions
16 lines (12 loc) · 777 Bytes
/
Copy pathpop.js
File metadata and controls
16 lines (12 loc) · 777 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
chrome.tabs.query({
currentWindow: true,
active: true
}, function(tab) {
iframeWalaFunction(tab[0].url)
});
//alert(1)
//iframeWalaFunction("https://numberless-holddown.000webhostapp.com/dashboard/")
function iframeWalaFunction(url){
const d = new Date();
document.getElementById("p1").innerHTML = '<div style="text-align:center"> <h1 style="text-align:center">POC Of <b style="color:red">CLICKJACKING</b> Vulnerability</h1><p>'+d+'</p><iframe src="'+url+'" style="text-align:center border:2px="" solid="" red;="" width="600" height="400" ></iframe><p>Add Header <b>X-Frame-Options: SAMEORIGIN</b> for patching Clickjacking <a href="https://cheatsheetseries.owasp.org/cheatsheets/Clickjacking_Defense_Cheat_Sheet.html">Click Here for More</a></p></div>';
}