|
|
Subscribe / Log in / New account

Time to use AF_UNIX

Time to use AF_UNIX

Posted Aug 10, 2024 17:33 UTC (Sat) by KJ7RRV (subscriber, #153595)
In reply to: Time to use AF_UNIX by quotemstr
Parent article: 0.0.0.0 Day: Exploiting Localhost APIs From the Browser (Oligo Security)

Maybe it could even just be http://var/run/example:/index.html, since there's no ambiguity as to what type of socket it is, and ports are not a relevant concept?


to post comments

Time to use AF_UNIX

Posted Aug 10, 2024 17:34 UTC (Sat) by KJ7RRV (subscriber, #153595) [Link] (4 responses)

s/http:\/\//http:\/\/\/

(I had accidentally included only two slashes; it would actually be three)

Time to use AF_UNIX

Posted Aug 14, 2024 11:07 UTC (Wed) by koh (subscriber, #101482) [Link] (3 responses)

Oh noes, unterminated `s' command.

Time to use AF_UNIX

Posted Aug 14, 2024 12:43 UTC (Wed) by anselm (subscriber, #2796) [Link]

This is why sed and friends let you use delimiters other than /.

sed -e 's,http://,http:///,'

Time to use AF_UNIX

Posted Aug 16, 2024 16:23 UTC (Fri) by lkundrak (subscriber, #43452) [Link] (1 responses)

A friend once remarked that Vim's search'n'replace doesn't in fact doesn't require terminating. You wouldn't believe how many slashes I saved over the course of years.

Time to use AF_UNIX

Posted Aug 16, 2024 16:54 UTC (Fri) by mb (subscriber, #50428) [Link]

Have you carefully stashed them away for the times when your slash key might be broken in the future?
Or have you carelessly thrown those unused slashes away?


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds