Can I access a page without a javaScript explorer?

So, I send a request by code fron a machine that dosen’t support javaScript.

The website is http://makina.free.nf/consulta.php
Is a simple php page that returns a JSON object.

<?php
$arr = array('a' => 1, 'b' => 2, 'c' => 3, 'd' => 4, 'e' => 5);
echo json_encode($arr);
?>

But the server returns this page:

<html>
<body>
<script type="text/javascript" src="/aes.js" ></script>
<script>
function toNumbers(d){var e=[];
d.replace(/(..)/g,function(d){e.push(parseInt(d,16))});return e}function toHex(){for(var d=[],d=1==arguments.length&&arguments[0].constructor==Array?arguments[0]:arguments,e="",f=0;f<d.length;f++) e+=(16>d[f]?"0":"")+d[f].toString(16);
return e.toLowerCase()}.
var a=toNumbers("f655ba9d09a112d4968c63579db590b4"), b=toNumbers("98344c2eee86c3994890592585b49f80"), c=toNumbers("1a02b3bc342529a22ea7236b229b307e");
document.cookie="__test="+toHex(slowAES.decrypt(c,2,a,b))+"; 
expires=Thu, 31-Dec-37 23:55:55 GMT; 
path=/";
location.href="http://makina.free.nf/consulta.php?i=1";
</script>
<noscript>
This site requires Javascript to work, please enable Javascript in your browser or use a browser with Javascript support
</noscript>
</body>
</html>

Is there a way to aford this?

Hi and welcome to the forum! Please read this article to learn more about the security system available on free hosting:

8 Likes

Solved. Thank you very much!!

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.