Viewing profile — RagingCactus
RagingCactus
HN member- Joined
- Sat, Nov 17, 2018, 11:13 AM UTC
- HN karma
- 192
- Public activity
- 26 items
- HN profile
- View on Hacker News ↗
About RagingCactus
No profile information was provided.
Recent public activity
-
comment
Comment #49163053
While I dislike the feature getting removed, this argument does not hold up to scrutiny. They will remove using external SMTP servers to send emails from external, third-party addr…
- story
-
comment
Comment #48618944
You can do that, but my understanding is you can't get the browser to attach cookies to your request in this way, while you can with forms. Do you agree?
-
comment
Comment #48618468
This is fundamentally a CSRF issue and framing CSRF as an access control issue often yields to wrong conclusions. With CSRF you might face the situation that the request has a vali…
-
comment
Comment #48617832
You can massage a text/plain form into valid JSON. text/plain is also one of the allowed default types. It works if the server doesn't check the content-type. Source: I've done tha…
-
comment
Comment #48567858
> Some libraries being buggy never was an argument against using libraries. And do you expect your single-purpose code not to be? Of course you should use battle-tested and well-ma…
-
comment
Comment #48566335
> Also, WTF is wrong with people who accepted algorithm "none." They dared to use the default validation function of their JWT library. They did not choose to accept "none". And th…
-
comment
Comment #48563172
> First, we need to add a token_secret column to our users table: > ALTER TABLE users ADD COLUMN token_secret; So it's "stateless" but we have to query the users database on every …
-
comment
Comment #48560101
> Necessary qualifier: for browser-based user sessions. > Plenty of good uses for JWTs for service-to-service communication. This is the sensible conclusion right there. I agree JW…
-
comment
Comment #48138853
As a security person it is tiring to see so many people here either directly claim or at least allude to the claim that this is somehow much less scary because the _published_ expl…
-
comment
Comment #47931364
Seeing the confusion in the comments I want to provide some examples of situations where this might come up in a security or CTF context: * You have a restricted shell or other way…
-
comment
Comment #45974353
Lots of people here are (perhaps rightfully) pointing to the unwrap() call being an issue. That might be true, but to me the fact that a reasonably "clean" panic at a defined line …
-
comment
Comment #45590389
Yes, you're definitely right that there are edge cases and I was simplifying a bit. Notably, it's called SameSite, NOT SameOrigin. Depending on your application that might matter a…
-
comment
Comment #45590278
I work as a pentester. CSRF is not a problem of the user proving their identity, but instead a problem of the browser as a confused deputy. CSRF makes it so the browser proves the …
-
comment
Comment #45590206
The SameSite cookie flag is effective against CSRF when you put it on your session cookie, it's one of its main use cases. See https://developer.mozilla.org/en-US/docs/Web/HTTP/Ref…
-
comment
Comment #44184945
I don't believe this is true, as https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/Web... exists. It does need an extension to be installed, but I think that's fair in your …
-
comment
Comment #43347422
Direct link to the comment with the new information (apparently it is not possible to keep the URL fragment): https://github.com/microsoft/vsmarketplace/issues/1168#issue... The gi…
- story
-
comment
Comment #42322381
The article doesn't mention possible security implications. However, we already get lots of vulnerabilities exactly _because_ implementations disagree on delimiters. Examples for t…
-
comment
Comment #32079520
`git push -u origin HEAD` pushes the current branch to `origin` with the same name you have locally. You could even add an alias for that.
-
comment
Comment #23316153
And another party trick: Base64-encoded JSON objects always start with "ey".
-
comment
Comment #20492858
Are there any resources you can recommend to understand D-wave's quantum computing a bit better? I took a very basic course about gate-model quantum computing at my university. The…
-
comment
Comment #19296029
For the Fibonacci example the author claims: > Notice how state was introduced? It made the code easier to read. Correct me if I'm wrong, but the only state in that snippet lives i…
-
comment
Comment #18903616
Thanks! Just defining it as a config variable is far too obvious in hindsight, I don't know why it didn't cross my mind. I'll definitely try it out!
-
comment
Comment #18903453
Is there a way to manage different "categories" of systems with chezmoi? For example, a "linux-server" category would contain an essential set of dotfiles, but not all the window m…