Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren0
Is there any way to set CORS policy to null when loading images in sololearn? can javascript do it?
Server sided programming
2 Antworten
+ 20
No.... To bypass protection upload a php script to a server containing the following line :
echo file_get_contents($_GET["dat"]);
and then do AJAX with JS:
var aj = new XMLHttpRequest();
aj.open("GET","link-to-server-file?dat=link-of-victim-site");
aj.send();
aj.onload = function() {
alert(this.responseText);
};
+ 1
looks like many people struggle with this, thank You,Valentine Hacker . I was thinking more of python or node solution but it looks like a lot of easier things can be done with just php. Am still learning...