Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

So here's a starting point: https://www.shodan.io/search?query=port%3A27017+country%3AUS...

I'm not sure how to search by database size though. But I'd estimate that 190 million voter records, at 1 kb each, would be a little under 2 GB if my math is right.



Here is a MongoDB named voters† that claims to be 472166432768 bytes long (a little short of 2500 bytes per voter, if there are 191e6 voters).

I'm not familiar with MongoDB and don't have the time to learn right now. But do check it out!

https://www.shodan.io/host/52.0.220.221


Yup, you found it.

Confirmed: db.blackhole_nj.find({$and:[{"fname": "Christopher"},{"mname": "J"},{"lname": "Christie"}]})

The governor's DOB in the results matches what's in Wikipedia.


Having never used MongoDB, I guess I should go searching for some code examples.


how did you run that?


Any MongoDB client, I used Robomongo at the time. But when I tried again the next day I could no longer connect.


It's not any of those. Are you sure it's running linux? Also, you're off by a few orders of magnitude. 191mm records * 1kb each is 191 gigabytes.


I included Linux in the search based on this earlier comment: https://news.ycombinator.com/item?id=10802149




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: