5 ms·
Added a check against localhost thanks for pointing that out.
by soheil 5y ago
Added a check against localhost thanks for pointing that out.
- deleted 5y ago[deleted]
- bryanh 5y agohttps://2130706433:443/ https://2130706433:443/ https://0177.0.0.01:443/ https://0177.0.0.01:443/
- karmanyaahm 5y agohttp://[::1] http://[::1] still works btw
- soheil 5y agoJust fixed. Thanks.
- deleted 5y ago[deleted]
- remram 5y agoYou will not win against SSRF using a blocklist of names. You need a comprehensive solution that is designed for this and will check the end address after redirections, DNS resolutions, ... have been applied in whatever library you use for HTTP. An example is advocate for Python https://github.com/JordanMilne/Advocate https://github.com/JordanMilne/Advocate