Skip to content

Add "/path" to api, revealing random pathPrefix#229

Open
lalyos wants to merge 1 commit into
yudai:masterfrom
lalyos:add-path-api
Open

Add "/path" to api, revealing random pathPrefix#229
lalyos wants to merge 1 commit into
yudai:masterfrom
lalyos:add-path-api

Conversation

@lalyos

@lalyos lalyos commented Nov 21, 2018

Copy link
Copy Markdown

Previously it could be retrieved only from log

Previously it could be retrieved only from log
@sorenisanerd

Copy link
Copy Markdown

I'm confused by this. I use the random path as a security mechanism. What is the use case where you need a random path AND need it to be known publicly?

@lalyos

lalyos commented Apr 10, 2021

Copy link
Copy Markdown
Author

I wanted to have a "programatic" way of figuring out the random path, other than parsing the log output. I use gotty behind a proxy, so I can hide the /api endpoint. But I see your point without proxy ... maybe write it into a file. Optional parameter, something like: --pathprefixfile?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants