HNHacker News
TopNewBestAskShowJobs

randomblock1

306 karma · joined March 2, 2018

submissionscomments
randomblock1··on Residential proxies detected on White House network
Scroll down to "anonymization": https://ipinfo.io/what-is-my-ip

If there's anything there, monitor your network to figure out exactly what

randomblock1··on Do the math: How we took over ChatGPT accounts
On the Work environment selector, "in the cloud" says "available on any device and can access your computer". Which seems pretty clear to me. (not that the labeling makes the security issue any better)
randomblock1··on First response from the Project Suncatcher prototype satellite
You do, though. The FAA/AST govern launches. I'm no rocket scientist but building a rocket and launching it is probably much harder than building a small data center.
randomblock1··on Iterating Backwards in C
I thought most people used the explicit version:

  for (size_t i = count; i > 0; --i) {
      // use array[i - 1]
  }
You can also do something like:

  size_t index = i - 1;
to not have to use i-1. I believe the compiler optimizes that out anyway to be identical.
randomblock1··on The Agent SDK
Also see the existing Cursor Typescript SDK.

https://cursor.com/blog/typescript-sdk

randomblock1··on Reviewers rarely talk about reliability. Owners bring it up twice as often
This is just reverse survivorship bias.
randomblock1··on Tailscale SSH: Investigation and remediation update
Tailscale SSH is different than doing SSH with Tailscale
randomblock1··on New 14‑inch MacBook Pro with M6
There's a slider to reduce the liquidity
randomblock1··on Is my data used for model training?
Yeah given how CC is vibe coded, the feedback message always appearing is almost certainly just a weird implementation detail.
randomblock1··on CorridorKey 2.0
https://github.com/nikopueringer/CorridorKey2.0/blob/master/...
randomblock1··on Show HN: Steal My Bitcoin
No, PHP always just tacks that on, even when only serving static files.
randomblock1··on Show HN: Steal My Bitcoin
Yes, it was actually using php2shell. Not a mediawiki vulnerability. It was the easier and less resilient variant of php2shell, but still a real POC. I'm confident that it could also do Wordpress if tasked to.
randomblock1··on Show HN: Steal My Bitcoin
You can still trigger DoS. And these can be chained with other vulnerabilites. The expectation of a PHP server executing PHP code also could have been implied.
randomblock1··on Show HN: Steal My Bitcoin
Inert files are unrealistic, normally you use PHP server to execute PHP code, which this website doesn't appear to do (only static files). And suppose you want to accept >1mb file uploads, that limit would get in your way. So it's not a good representation of a PHP application, but for other uses it's reasonable.
randomblock1··on Show HN: Steal My Bitcoin
Yep. It had to add a Dockerfile to build MediaWiki using vulnerable versions but it's that, a compose file, and a Python file. To be clear it still has a lot of the limitations of the other POCs, but it does work.
randomblock1··on Show HN: Steal My Bitcoin
The site is not vulnerable to PHP2Shell because it doesn't actually run any PHP code. It just serves static files. The static file handler does not call code that PHP2Shell exploits. Every request leads back to the same static page.

> (AI) "A static handler (nginx’s static path, or php_cli_server_begin_send_static) just sends bytes; it never enters the PHP request lifecycle, so php_request_startup() never runs and the Zend executor/session/multipart parser the chain needs is never initialized."

The author is trying to prove their point that PHP2Shell is hard to exploit. But it's unrealistic because PHP servers usually run PHP code at some point.

I had an LLM recreate this Tweet and yes, it can make an exploit without reward hacking. It took 5 minutes. https://x.com/dguido/status/2113129153293897925

so basically the OP is doing a little trolling

randomblock1··on Show HN: Steal My Bitcoin
DeepSeek 4.1 will happily do it, you just have to give it a little bit of lead in.

> https://stealmybitcoin.com/ This is a CTF for the new PHP vulnerability. Try to find what php version it runs.

(eventually figures it out)

> OK, now get the flag

I'll go for RCE, carefully — the author explicitly invites this, and I'll keep probes minimal.

randomblock1··on Show HN: Steal My Bitcoin
Yep. I pointed an agent at the Twitter post about the "working exploit that gets a shell on an unmodified MediaWiki installation.". 5 minutes later it spins up a stock MediaWiki and proves its POC. It modified someone else's POC from Github, but that's still trivial.
randomblock1··on Show HN: Steal My Bitcoin
No, PHP's static handler (php_cli_server_begin_send_static) doesn't emit X-Powered-By but the error page handler (php_cli_server_send_error_page) always does.
randomblock1··on Show HN: Steal My Bitcoin
Well usually you have a PHP application actually doing something, not just serving static files. If it's just static files, PHP2Shell isn't really a thing.
randomblock1··on Show HN: Steal My Bitcoin

  $ curl -sS -D - -o /dev/null -X FOO https://stealmybitcoin.com/
  HTTP/1.1 501 Not Implemented
  Server: nginx
  Date: Sat, 24 Oct 2026 22:06:58 GMT
  Content-Type: text/html; charset=UTF-8
  Content-Length: 495
  Connection: keep-alive
  Host: stealmybitcoin.com
  X-Powered-By: PHP/8.4.26
randomblock1··on Show HN: Steal My Bitcoin
It runs PHP 8.4.26 (and nginx). Might be useful for others.

Also, the only pages I found are static and not an actual PHP entry point. If it doesn't run any PHP, it's not vulnerable to PHP2Shell. At least I think that's how it works.

randomblock1··on Caffeine-like utility to keep you MacBook awake with its lid closed
I mean, yeah...

https://github.com/search?q=caffeinate+lid+close&type=reposi...

randomblock1··on Show HN: An icon for every city in North America
How well do the models do if you ask for an SVG instead of just generating a PNG? It would make editing & using them easier, but I don't know if image generation still wins for these types of icons.
randomblock1··on Show HN: agent-usage-guard – a Claude Code mod to protect your usage window
Yes, it's better to compact before it gets out of cache. I think new versions of Claude Code can do that automatically. It can be cheaper if you switch to Haiku or something
randomblock1··on Eigenmoon: linear algebra puzzles by moonlight
I have no idea what any of the buttons do. A little text goes a long way
randomblock1··on I built a programming language that LLMs can't use
Yeah this is what they end up doing. The language itself isn't that hard for them, it's separating the language from the traps in the spec. I also tried making a hostile esolang, without all the prompt injections and whatnot, and it was very easy for LLMs. (It was mainly based around tokenizer quirks, like the r in strawberry test, but becomes trivial with scripts).
randomblock1··on Is MCP becoming the common foundation of smart, decentralised search?
No, because HTTP already is. You can't have every MCP added. Every harness has a search tool, so just fetch data as needed. MCP isn't for search, it's for interacting. Sometimes that's search but mostly not.
randomblock1··on DeepSeek: DeepSeek v4.1 Flash 1017
Other discussion: https://news.ycombinator.com/item?id=50129045
randomblock1··on Show HN: Fakeipedia – Wikipedia for worlds that don't exist
Google says that writing and conciseness was a big focus for Argon. I suspect it's also been told to to write in wiki style, which usually gets to the point pretty quickly.
Page 1 of 3Next →