News for hackers. Stuff that matters.

exdeejay_

Re:Small Programming Tricks on Wednesday September 16, 2026 @04:10PM (#49732286)
This is a neat and useful trick, and I will be borrowing it. Thanks!
AFAIK rooting an Android phone necessitates a factory reset of the phone beforehand, so I don't think you'd be able to dump the MFA seeds before Authy is uninstalled (unless that's a hardware thing)
Re:I close SSH port 22 (and what I use instead) on Saturday August 15, 2026 @08:38AM (#49310086)
Jokes aside, this would be trivial to detect with nmap, right? The SSH banner prints anyways.
*peddling
Re:How Will the Miracle Happen Today? on Friday January 09, 2026 @12:18PM (#46556222)
inedible?
Re:Element: SetHTML() Method on MDN on Wednesday October 22, 2025 @07:50PM (#45676607)
This code only does the most basic and naive regex filtering that even a beginner XSS course's inputs would work against. With the Node example code and input string:

  <p>Hello <scr<script>ipt>alert(1)</scr<script>ipt> World</p>
The program outputs:

  $ node .
  <p>Hello <script>alert(1)</script> World</p>
  {
    sanitizedHTML: '<p>Hello <script>alert(1)</script> World</p>',
    wasModified: true,
    removedElements: [],
    removedAttributes: []
  }
Asking a chatbot to make a security function and then posting it for others to use without even reviewing it is not only disrespectful, but dangerous and grossly negligent. Please take this down.
Re:Build Your Own Database on Tuesday October 21, 2025 @04:34PM (#45661332)
The first example in the "Sorting in Practice" section appears to be broken. The text makes it seem like the list should be sorted in-memory and then written to disk sorted, but the example un-sorts the list when it's written to disk.

Edit: the flush example (2nd one) in the recap section does the same thing, when the text says that the records are supposed to be written to the file in sorted order.

Have you considered using Tailscale to get around the same-network requirement?
Re:Modern Linux tools on Monday October 13, 2025 @11:54AM (#45569767)
Sounds like the problem you have here is that `grep` is aliased to `ripgrep`. ripgrep isn't intended to be a drop-in replacement for POSIX grep, and the subjectively easier usage of ripgrep can never replace grep's matureness and adoption.

Note: if you want to make ripgrep not do .gitignore filtering, set `RIPGREP_CONFIG_PATH` to point to a config file that contains `-uu`.

Sources:

- https://github.com/BurntSushi/ripgrep/blob/master/GUIDE.md#c...

- https://github.com/BurntSushi/ripgrep/blob/master/GUIDE.md#a...

Re:I Am An AI Hater on Wednesday August 27, 2025 @04:54PM (#45045124)
For more context to whoever is interested, the dialogue following the quote goes like this:

  Studio Ghibli producer, Suzuki: "So, what is your goal?"
  ML Developer: "Well, we would like to build a machine that can draw pictures like humans do."
    <jump cut>
   Miyazaki VO: "I feel like we are nearing to the end of times."
                "We humans are losing faith in ourselves."
Source: https://www.youtube.com/watch?v=ngZ0K3lWKRc

Of course, the form of AI has changed over the years, but the claim that this quote could be tied to Miyazaki's general view on having machines create art is not totally baseless.