News for hackers. Stuff that matters.

dnet

Re:SSH Secret Menu on Wednesday March 11, 2026 @04:57AM (#47333198)
In newer versions, it's disabled by default and you have to do something like this to enable in ~/.ssh/config:

    Host *
    EnableEscapeCommandline yes
See https://doctorow.medium.com/como-is-infosec-307f87004563

> This is the same failure mode of all security-through-obscurity. Secrecy means that bad guys are privy to defects in systems, while the people who those systems are supposed to defend are in the dark, and can have their defenses weaponized against them.

Re:A webshell and a normal file that have the same MD5 on Wednesday September 24, 2025 @06:50AM (#45358621)
I assume the scanner is a separate library/service that receives the contents and returns a boolean safe/malicious result, and the implementation using MD5 to avoid expensive re-scans is an internal detail hidden from the caller.
Re:Show HN: Base, an SQLite database editor for macOS on Tuesday August 26, 2025 @02:27AM (#45022956)
While the default is indeed to lock the entire database, it has been an option for 15 years to avoid this: https://www.sqlite.org/wal.html
Re:Zed Shaw Explains How Stripe Is PayPal Circa 2010 on Sunday October 09, 2022 @08:42AM (#33140469)
> After several lawsuits and years of backlash Paypal has stopped seizing people's money illegally.

Flipper Zero project might disagree:

https://nitter.lacontrevoie.fr/flipper_zero/status/156719464...

https://www.dailydot.com/debug/flipper-zero-paypal/

Re:How to Store an SSH Key on a Yubikey on Monday May 30, 2022 @06:45AM (#31557585)
I made my own CA for this because nothing else could provide transparency regarding certificate issuance (whether an attacker issued a "spare" backdoor certificate)

- source code: https://github.com/silentsignal/zsca

- my talk about the design and results: https://pretalx.hsbp.org/camppp7e5/talk/D3E9HN/

Re:Common libraries and data structures for C on Tuesday May 17, 2022 @02:13AM (#31406621)
Why do you mention AVR? AVR-GCC has C++ support, that's what made the original Arduino (before they switched to ARM) approachable to beginners.
Re:Plaid is an evil nightmare product from Security Hell on Saturday February 19, 2022 @07:17AM (#30396570)
> I'm not even sure it's working in the EU yet?

It's called PSD2 and it applies EU-wide since September 2019. Banks have to make _some_ form of API available to third parties. However, these third parties must meet certain criteria and get a license in one of the member states. This makes sense since they can access financial data, and they only have to do it once. So a fintech licensed in e.g. Belgium can access the APIs of a bank in France and vice versa. Since banks already have most of the necessary rules and paperwork in place, I've seen many banks themselves become PSD2 clients as well, offering customers the ability to manage "foreign" bank accounts through their app as well.

Not sure about VLC, but ffmpeg has great support for Blackmagic, you just have to download the Blackmagic SDK, compile ffmpeg with Blackmagic support (and the SDK in path) and then you'll have a separate input/output device available in ffmpeg. The other great thing about this approach is that this way audio also takes a dedicated, integrated path, bypassing OS layers and maintaining sync with much less effort.
Re:Maintenance windows are a mistake on Tuesday October 05, 2021 @07:38AM (#28758023)
Erlang supports hot reloading by design with no limitations. There can even be some threads using the old and some using the new version simultaneously. It was designed for phone exchanges where they aimed for 9 nines of availability. You can install it on most mainstream operating systems.
Not necessarily -- there can be a number of reasons one can access localhost over the loopback interface that does _not_ imply root access: SSRF, misconfigured tunnels, or just a plain unpriviliged account where the attacker couldn't perform privilege escalation (either because the attacker's incompetence or the system being up-to-date and/or hardened)
Re:Abusing JWT public keys without the public key on Monday February 08, 2021 @04:46AM (#26062528)
Yet we've had people argue that they wouldn't give us the public part of their JWT RSA signing keypair, because "they wouldn't publish that anyway", hence this post.
Re:Switzerland – Europe's Silicon Valley for Developers? on Friday November 27, 2020 @01:00PM (#25231022)
Tresorit comes from Hungary, they just made a business entity in Switzerland to look better from security/privacy perspective. See https://en.wikipedia.org/wiki/Tresorit#History
Re:Brow.sh: a modern text-based browser on Wednesday November 18, 2020 @06:17AM (#25135505)
Regular SSH won't work if your IP address changes since it uses TCP where sessions are tied to (IP address, port) tuples. However mosh uses UDP and its own session management scheme, so you can "roam" between IP addresses and your session will stay alive, you can continue typing and will receive screen updates as if nothing has happened.
Re:Ask HN: Captcha Alternatives? on Tuesday September 01, 2020 @03:50AM (#24339486)
That wouldn't work for HTTP(S) or anything else that works over TCP since the reply would go towards the fake source IP address, thus the attacker couldn't even get past the 3-way TCP handshake.
Re:GitHub was down on Monday July 13, 2020 @03:12AM (#23817889)
But those wouldn't take most of the world's public git repos down all at once just because of a single issue. Single points of failure have a bad reputation for a reason.
Re:TextCaptcha: Simple Textual Captcha Challenges on Thursday January 02, 2020 @06:05AM (#21934435)
That's only relevant if you're using it to make signatures, thus you can make two inputs that hash to the same digest, and signing that digest creates a signature that's valid for both inputs.

In this case, the only threat model might be brute forcing the answer, but that applies to SHA-2 as well, since both are designed to be fast so that you can hash gigabytes in reasonable well. For that, something memory-hard such as Argon2 should be used.

Re:How to not rewrite it in Rust on Wednesday October 23, 2019 @10:46AM (#21335150)
You omitted an important part: the pointer pointing to the stack. In GC'd or refcounted languages, (almost) everything is on the heap (occasional exceptions being primitive types like integers). This of course leads to worse performance because of an additional dereferencing step and cache misses.
Re:Building a Stateless API Proxy on Thursday May 30, 2019 @03:05AM (#20049026)
Using Elliptic Curve cryptography would've resulted in much smaller signatures, libsodium is considered secure and has bindings to most sane/modern environments: https://download.libsodium.org/doc/

JWT also has its fair share of security issues in itself: https://paragonie.com/blog/2017/03/jwt-json-web-tokens-is-ba...

Older »