Closed jaikishantulswani closed 5 years ago
Yes, that can be a possibility. It depends on how the server is configured.
so should we have to add http header i.e X-Forwarded-For / X-Forwarded-Host during the request to access the host?
If you use burp you can add the IP and hostname here:
If you want it system-wide, you need to edit your hostfile (/etc/hosts
or c:\Windows\System32\Drivers\etc\hosts
).
@vincentcox Thank You :+1:
No problem. I'll close this issue, but if you have any further questions feel free to re-open this or create a new issue. Have a nice day! 🙌
Hello @vincentcox , Is there any other way to do this as I have to resolve a bunch of domains with status 403 ?
There will be a new updated version anytime soon. I will think of a solution (for example a flag) that will make output to put in a /etc/hosts
file. But you still have to put it in manually because editing the hosts file requires admin rights.
Hello @vincentcox , Its not an issue but I am curious that by abusing the DNS history can we able to access the ip / domain which is throwing 403 ?
Thank You.