Y
Hacker News
new
|
ask
|
show
|
jobs
by
anacrolix
1009 days ago
How is it different from just reading the Host header and serving a directory based on that?
1 comments
inetknght
1009 days ago
>
How is it different from just reading the Host header and serving a directory based on that?
Well I hope that's not
all
you do...
curl -H 'etc.example.com' 'https://www.example.com/shadow'
-> /etc/shadow
link
dizhn
1009 days ago
It would be more like /somedir/etc.example.com/shadow
link
Well I hope that's not all you do...
-> /etc/shadow