The Underground Blog and URI hacking
Kevin Ballard
kevin at sb.org
Thu Sep 8 23:39:23 EDT 2005
On Sep 8, 2005, at 10:29 PM, why the lucky stiff wrote:
> Yeah. See dnshack.rb.
Ah hah.
> Excellent patch. Now that's going in!
Glad to hear it :)
Now that I think about it some more, this hack isn't going to work if
you pass a port number in (i.e. http://___._:8080/). Unfortunately I
can't think of a fix, because this is a limitation in the regular
expressions (it simply won't match, because _ isn't valid in a host
and : isn't valid in a registry name). The only thing that would work
is to completely re-define the regular expressions, which would be
pretty ugly and fragile. However, right now that's not an issue, so
as long as you don't try to run any services on a non-standard port
from ___._, it should be ok.
--
Kevin Ballard
kevin at sb.org
http://www.tildesoft.com
http://kevin.sb.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2378 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/mousehole-scripters/attachments/20050908/e9f87d22/smime.bin
More information about the Mousehole-scripters
mailing list