5 ms·
this is a pretty good post if you're interested in what the fuck is going on in argentina, you might try git clone http://canonical.org/~kragen/sw/pavnote
by kragen 3y ago
this is a pretty good post
if you're interested in what the fuck is going on in argentina, you might try
git clone http://canonical.org/~kragen/sw/pavnotes2.git
and read milei-diary.md, which are my observations here on the ground, after having lived here most of my adult life. it's been a few weeks since i added an entry to it, but i'll update it again soon
one minor problem with the post: 'the white rate' is a phrase this blogger made up; if you talk to people about 'the white rate' or 'el dólar blanco' or 'el tipo de cambio blanco' nobody will have any idea what you're talking about
- nmeofthestate 3y agoI'm not going to clone a git repo to read a file, but I did waste some time clicking around your site trying to find this file that you mentioned, to no avail. Just FYI.
- kragen 3y agoyeah, as far as i know, it's only available by git cloning. it doesn't benefit me if you read it, just you, so it's fine with me if you don't read it. i'm only mentioning it for the sake of the people who would find it interesting i mean, in theory, you could do this in Python >>> print(zlib.decompress(urlopen( 'http://canonical.org/~kragen/sw/pavnotes2.git/objects/03/220089fdc6713fc459ac71da35d6c8abb5b110' ).read()).decode('utf-8')) but it's easier to just clone the repo reading the file is going to take you an hour or two, so if spending an extra thirty seconds to clone the repo is a significant cost in this context, you probably shouldn't start
- nmeofthestate 3y agoOK - I wont bother. Just letting you know, as you were downvoted a bunch when I commented.
- 4gotunameagain 3y agoBeware, exploits have been found in the past where cloning a repo allows remote code execution.
- kragen 3y agointeresting; i hadn't heard about that it looks like there was one in 02018: https://www.trendmicro.com/vinfo/es/security/news/vulnerabilities-and-exploits/update-now-git-vulnerability-can-be-used-for-remote-code-execution https://www.trendmicro.com/vinfo/es/security/news/vulnerabil... and another one in 02021 which only affected macos users with a non-default configuration https://portswigger.net/daily-swig/git-vulnerability-could-enable-remote-code-execution-attacks-during-clone-process https://portswigger.net/daily-swig/git-vulnerability-could-e... and more worryingly two in 02022 https://www.infoq.com/news/2023/01/git-remote-code-vulnerabilities/ https://www.infoq.com/news/2023/01/git-remote-code-vulnerabi... hopefully there aren't any new ones
- kragen 3y ago(just to point out what ought to be obvious, this is a vastly lower risk than opening a web page in a browser, in the sense that remote code execution vulnerabilities are found in browsers at a much higher and constantly increasing rate)
- 4gotunameagain 3y agoI wouldn't be so sure about that, more RCEs are found on browsers because it's just such a popular attack vector. An RCE in git repos could go undetected for far far longer probably.
- kragen 3y agothe git codebase is roughly 100× smaller than chromium, so, all else being equal, you'd expect 600× more bugs of any kind in chromium — more bugs per day in chromium than bugs per year in git there are design considerations to consider, but it's not clear to me which way they shift the balance: chromium's sandboxing layer means that you need a sandbox escape, but, on the other hand, chromium intentionally downloads and executes malicious code all the time, and that's inherently riskier than what git does, which is efficiently synchronizing a merkle graph of blobs. it's hard to imagine that this matters more than the sheer size of the codebase, though chromium's churn rate is also much higher, so the rate of new bug production is higher
- red-iron-pine 3y agoim not going to clone a repo and import code just to read a text file. put it in a pastebin or get a blog man. substack is a thing for a reason.
- kragen 3y agothat's good, you aren't my audience there's no code