Settings

Theme

Show HN: I wrote a ~2KB executable file HTTP file downloader without Libc

github.com

9 points by DenisDolya · 6 comments

Reader

3 threads
goosethe

https://gist.github.com/seanwevans/3e9ba17431d5464092d0fb839...

this compiles to 10kb on my machine with no golfing. it literally just supports grabbing whatever is at the url given (http 1.0)

Retr0id

I did a <4KB one that supports DNS+TLS (albeit insecurely) https://github.com/DavidBuchanan314/kurl/

  • DenisDolyaOP

    This is of course great, and very creative, but why not use an HTTP proxy if this TLS is still unprotected?

    Did I misunderstand something?

    • Retr0id

      Many servers support TLS only, so implementing the client side of TLS was a matter of compatibility, not security. If external dependencies are allowed then why not just use libcurl?

indigodaddy

Does this do anything curl can’t or are we just enthralled with the tininess?

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection