Live data from Hacker News

Viewing profile — maple3142

maple3142

HN member
Joined
Thu, Oct 26, 2017, 3:51 AM UTC
HN karma
1,632
Public activity
314 items

About maple3142

Personal Blog(in Chinese): https://blog.maple3142.net/

Recent public activity

  1. comment
    Comment #48889757

    If you are given a shell with `docker run -it --rm alpine:3 sh`, can you read the /etc/shadow on the host without kernel exploit? Assuming the docker and kernel are sufficiently up…

  2. comment
    Comment #48204869

    Is this a correct understanding of UB in C? A program P has a set of inputs A that do not trigger UB, and a complementary set of inputs B that do trigger UB. A correct compiler com…

  3. comment
    Comment #47449116

    Will third party apps like bank apps be able to detect whether advanced mode is enabled or not, like how they currently detect if developer options is enabled?

  4. comment
    Comment #46572717

    I think the problem is simply that css is too restricted that you can style a fixed piece of html in any way you want. In practice, achieving some desired layout require changing t…

  5. comment
    Comment #46565315

    This wouldn't work if the script is meant to be sourced (to set environment variables) isn't it?

  6. comment
    Comment #46563401

    I think `zsh -l` start a login shell, which does not load zshrc so oh-my-zsh don't get initialized. Try `zsh -ic exit` and it should load zshrc before executing exit. That said, th…

  7. comment
    Comment #46507643

    I don't think it is generally possible to escape from a docker container in default configuration (e.g. `docker run --rm -it alpine:3 sh`) if you have a reasonably update-to-date k…

  8. comment
    Comment #45874325

    To be honest, there are two ways to solve the problem of xkcd 2347, either putting efforts into the very small library or just stop depending on it. Both solutions are fine to me a…

  9. comment
    Comment #44547474

    If being used in a CTF counts, then running latest docker with no extra privilege and non-root user on a reasonably up-to-date kernel meets the definition of secure I think. At lea…

  10. comment
    Comment #44539124

    For python specifically, the uuid4 function does use the randomness from os.urandom, which is supposed to be cryptographically random on most platforms.

  11. comment
    Comment #44188599

    I think the problem is that some local server are not really designed to be as secure as a public server. For example, a local server having a stupid unauthenticated endpoint like …

  12. comment
    Comment #43990637

    Isn't it the same for passkeys? I can put passkeys in password managers like Bitwarden, 1password, ...

  13. comment
    Comment #43865786

    I think the reason is that MCP also works over a pipe (stdio), which does not need authentication.

  14. comment
    Comment #43500232

    I think many people are just not really good at dealing with "imperfect" tools. Different tools can have different success probability, let's call that probability p here. People t…

  15. comment
    Comment #43436063

    I really wonder how can use escape a container given a root shell created by `docker run --rm -it alpine:3 sh` without using a 0day? Using latest Docker and a reasonably up-to-date…

  16. comment
    Comment #43305119

    Couldn't screen readers apply unicode normalization based some heuristics, like seeing the continuous presence of those special bold/italic characters? To improve accuracy, it can …

  17. comment
    Comment #43073742

    It is still a problem if you want caddy to run outside of docker (e.g. for getting real remote addr).

  18. story
  19. comment
    Comment #42855891

    Similar project: PARI/GP on WASM https://pari.math.u-bordeaux.fr/gpexpwasm.html

  20. comment
    Comment #42847831

    From my experience, it is obviously not all the packages in Kali Repo will be in Ubuntu (or other regular distro) Repl. Lots of specific pentesting tool can be installed with just …

  21. comment
    Comment #42449147

    I don't understand how can it really prevents exporting passkeys if it can be implemented by open source implementations like keepass. For example, if keepass do follow the guideli…

  22. comment
    Comment #42144013

    I think it is probably because a lot of things are deemed as acceptable. For example, the stream filter chain one is only exploitable if the input to some php IO functions like fil…

  23. comment
    Comment #41830417

    I think this is what @jitl means: node -e "process.stdout.write('@'.repeat(128 * 1024)); process.stdout.write('',()=>process.exit(0)); " | wc -c It writes an empty string and use i…

  24. comment
    Comment #41819206

    Termux can definitely run for a long time even on Android 12 I think. I tried to put a web server to a Termux running on Chromecast (Android 12), and it is still running after mont…

  25. comment
    Comment #41575294

    Isn't Python's functions are just objects with a __call__ method, and such objects has a syntax sugar allowed them to be called like a function.