News for hackers. Stuff that matters.
Re:Show HN: Instantly listen to any URL by soheil on Friday August 13, 2021 @09:28PM (#28176931)
Added a check against localhost thanks for pointing that out.
Re:Show HN: Instantly listen to any URL by remram on Friday August 20, 2021 @11:43AM (#28247315)
You 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
Re:Show HN: Instantly listen to any URL by karmanyaahm on Saturday August 14, 2021 @05:53PM (#28184236)
http://[::1] still works btw
Re:Show HN: Instantly listen to any URL by soheil on Saturday August 14, 2021 @08:01PM (#28185012)
Just fixed. Thanks.
Re:Show HN: Instantly listen to any URL by bryanh on Friday August 13, 2021 @11:45PM (#28177677)
Re:Show HN: Instantly listen to any URL by busymom0 on Friday August 13, 2021 @11:56PM (#28177747)
Can someone educate me on why these 2 links resolve to localhost?
Re:Show HN: Instantly listen to any URL by Zacru on Saturday August 14, 2021 @12:59AM (#28178093)
I think the first is the 32 bit int version of 127.0.0.1, and 0177 is the octal representation of 127.
Re:Show HN: Instantly listen to any URL by Zacru on Saturday August 14, 2021 @01:07AM (#28178151)
Along those lines, you can also use hex https://0x7f.0.0.0x01:443/