HNHacker News
TopNewBestAskShowJobs

mic159

17 karma · joined February 7, 2013

submissionscomments
mic159··on I found a WhatsApp security flaw that allowed hackers to read the file system
Just remember that authentication and origin checking is completely up to the websocket server. Any random page in a browser can talk to your websocket cross origin, and it's up to your server to check the "Origin" header to make sure it's actually your app on the other end.
mic159··on Show HN: Mkcert – Valid HTTPS certificates for localhost
Why do you need a reverse proxy? The DNS challenge works without https.
mic159··on Show HN: Mkcert – Valid HTTPS certificates for localhost
Yes you can. You control the DNS, just point that subdomain to 127.0.0.1.
mic159··on Show HN: Mkcert – Valid HTTPS certificates for localhost
What's wrong with Lets Encrypt and DNS challenge? Then you get a globally recognised cert.
mic159··on Using websockets to easily build GUIs for Python programs
The websocket server needs to check the "Origin" header from the client. The code then needs to know what is expected (eg localhost or 127.0.0.q). If the origin header is something like "evil.xyz.com", then it needs to reject the connection.
mic159··on REMI: Python REMote Interface Library
Does it have any protection from malicious js on another site (say a bad ad on a news site) connecting to your application?

I have seen some applications like this, but they fail to check the origin header.

mic159··on Using websockets to easily build GUIs for Python programs
With websockets, it's actually up to the server to implement the cross origin detection. The library used in this application does not implement any protection.

So it's possible for any page on the net (eg evil.com) to connect to your socket and exfiltrate any data.

Make sure all tabs are closed and never visit any sites with advertising on it while this is running.

mic159··on PoisonTap, a $5 tool that invades password-protected computers
The numlock and capslock indicators can be used as confirmation signals coming back so it knows if it is working.
mic159··on IO domain DNS failure
We are also having issues resolving some .io domains from AWS Sydney (ap-southeast-2)
mic159··on Anypixel.js
This could potentially be simplified by using ws2812 style LEDs like this: https://learn.adafruit.com/neopixel-arcade-button/overview Plus a fade candy controller. Then you just need to build something to read the micro switches.

Haven't compared the costs, but it might reduce the complexity and barrier to entry.

mic159··on Show HN: Hosted Docker-as-a-Service on SSDs for $5
But if you host your site on your infrastructure, and it goes down, you can't post status updates to tell people what's going on/ when you will be back online. Its quite reasonable to not host your own homepage or mechanism of updating your customers IMO.
mic159··on P2P, Encrypted Email Protocol
If I understand correctly, there is a key in the DHT that is effectively a list of pointers to all your mail? If so, an attacker could control your inbox by starting a bunch of nodes around that key, couldn't they?

To disable a persons mail, you would start up some altered nodes around the address space you want to attack, have them respond normally until you control enough or all of the nodes covering the target address. Then flip a switch that makes them all start saying that inbox is empty. Then start backing off your nodes, and replacement regular nodes would replicate your altered state.

Would this be possible? Or am I missing something?

mic159··on Show HN: Converse.js, a Javascript XMPP chat client written with Backbone.js
When I send a message to a room, the others see it as "undefined".