I can see a lot of people trashing on Matrix.org or the "hacker" themselves (the hacker opened a series of issues, detailing how he managed to get in - https://github.com/matrix-org/matrix.org/issues/created_by/m... ). However everyone seems to be missing the point - matrix seems like a pretty cool and open project. And someone taking over their infrastructure in such an open way is also great for the community. Even…
There are some weird people in those issue threads..
Matrix.org hacked
71–80 of 277 posts
Re: Matrix.org hacked
#72Earlier quoted context omitted.
Reason why you would do that (and I often do) is that you have further piping options so it becomes standard work flow and muscle memory. What I usually do is cat the file to inspect it, hit Control+C, then up arrow for previous command, then further pipe and head/tail/grep the file. Starting a grep command is fine if you know that's all you're going to be doing.
You can use Bash (and I assumed it works in zsh too) variables to save you there. eg grep something !$ `!$` will be replaced with the last parameter of the previous command. Crude example cat /etc/hosts grep 12.34.56.78 $! # will be executed as grep 12.34.56.78 /etc/hosts I find this extremely useful for when I'm cat'ing a file to get a sense of it's output then wanting to do something more meaningful with it in the…
Re: Matrix.org hacked
#73For a bit of context: Matrix.org infrastructure has been hacked a second time in 24h, after restoring everything they went down again, story developing here: https://twitter.com/matrixdotorg/status/1116304867683905537
https://web.archive.org/web/20190412090123/https://github.co...
Re: Matrix.org hacked
#74As na linux/unix sysadmin with 15+ years of experience my eyes are bleeding everytime I see cat | grep instead of just grep ;D
As someone who doesn't care, my eyes bleed every time someone tries to make others feel small for no reason using improper grammar: "As na linux/unix sysadmin": typo ('na') aside it is 'As a linux/unix sysadmin' "...my eyes are bleeding everytime I see" I think you meant 'my eyes bleed', otherwise it means that, coincidentally, you eyes were already bleeding every time you happen to see someone use cat in that way. "…
Re: Matrix.org hacked
#75I'm probably really out of the loop, but what is matrix.org? Looks like an open source slack clone? Why do they have >5 million user accounts? Is that everybody who uses that chat tool?
Re: Matrix.org hacked
#76They had root account activated in hebe? Am i reading this right? He got an passlist of 5 million users?
Re: Matrix.org hacked
#77Earlier quoted context omitted.
You can also hit Alt-. to insert the last argument of the previous command.
Unfortunately not on Macs :( That's one of the features I miss the most when using terminals on a Mac.
Also, isn't that special variable $_ and not $! ?
Re: Matrix.org hacked
#78Earlier quoted context omitted.
As someone who doesn't care, my eyes bleed every time someone tries to make others feel small for no reason using improper grammar: "As na linux/unix sysadmin": typo ('na') aside it is 'As a linux/unix sysadmin' "...my eyes are bleeding everytime I see" I think you meant 'my eyes bleed', otherwise it means that, coincidentally, you eyes were already bleeding every time you happen to see someone use cat in that way. "…
Grammar and spelling blind spots don't compromise the security of thousands of people. I think if you're going to make such glaring mistakes, you should be able to take a bit of guff for it.
Neither does useless use of cat. Or am I missing something that I couldn't read because of a deleted comment?
Re: Matrix.org hacked
#794chan is circulating this picture. It shows the defaced website frontpage. https://i.4cdn.org/g/1555048975736.png I have a hard time with the idea that they run the webserver and the matrix server on the same computer. (Regarding users.txt) It seems they do urgently need to hire capable infrastructure people.
Re: Matrix.org hacked
#80Earlier quoted context omitted.
You can also hit Alt-. to insert the last argument of the previous command.
Unfortunately not on Macs :( That's one of the features I miss the most when using terminals on a Mac.
Or you can check “Profiles → Keyboard → Use Option as Meta” for Terminal.app [or just press ⌥⌘O]. And then use option as meta.