News for hackers. Stuff that matters.
Re:Random Valid US Address by bentpins on Sunday September 06, 2015 @05:41PM (#10179148)
Handy.

I'm rather fond of http://www.fakenamegenerator.com/

It gives names, (probably fake) addresses, credit card numbers, as well as a bunch else. It allows CSV export if you want up to 50,000 identities generated. It gives you options regarding the country too.

Re:Random Valid US Address by tanishalfelven on Sunday September 06, 2015 @08:17PM (#10179601)
Definitely. I used to work with the people making fakenamegenerator.com, and I never realized how much it really tells you until getting a bit into the code. A fantastic site, to say the least.
Re:Random Valid US Address by iLoch on Monday September 07, 2015 @01:24AM (#10180163)
What are the odds that it gave me the same birth date as my actual birth date? Month and day, but not year. That's quite the coincidence, though I suspect it's only something like 1:60.
Re:Random Valid US Address by bentpins on Monday September 07, 2015 @01:37AM (#10180199)
1/365 I'd think. There are 365 days in a year and it has to match exactly one day. You might be interested in the Birthday Paradox though http://betterexplained.com/articles/understanding-the-birthd...
Re:Random Valid US Address by ryan-c on Monday September 07, 2015 @02:38AM (#10180346)
Birthdays are not uniformly distributed. http://www.panix.com/~murphy/bday.html
Re:Random Valid US Address by camkego on Monday September 07, 2015 @03:04AM (#10180397)
Yes, but the probability that it found the same month and day as iLoch's, depend on the uniformity and independence of the month/day generator, not the distribution of actual birthdays.
Re:Random Valid US Address by iLoch on Monday September 07, 2015 @03:50PM (#10182759)
Yeah my guess was based on the birthday paradox. Though now I see that yes the software probably chose a random number between 1 and 365 so the birthday paradox wouldn't apply.
Re:Random Valid US Address by phire on Monday September 07, 2015 @01:36AM (#10180196)
That would be 1:365.24

It would be 1 in 365, but leap years mess it up a bit.

Re:Random Valid US Address by bentpins on Monday September 07, 2015 @01:50AM (#10180238)
Leap days are generated at the same frequency as regular days as far as I can tell. That simplifies things again to 1:366
Re:Random Valid US Address by cryptoz on Sunday September 06, 2015 @05:25PM (#10179078)
That's neat, but be careful how you use this. Remember that there are real people living or working at these addresses.
Re:Random Valid US Address by bigiain on Sunday September 06, 2015 @07:50PM (#10179541)
That's partly why my "go to" fake US address is 1060 W Addision, Chicago, IL, 60613.

There's still real people working there, but they've been dealing with this for 35 years now I suspect: http://www.imdb.com/title/tt0080455/quotes?item=qt0320055

Re:Random Valid US Address by nissehulth on Sunday September 06, 2015 @09:03PM (#10179699)
I don't need IMDB to know what that is, and I'm not even wearing sunglasses!
Re:Random Valid US Address by comrh on Monday September 07, 2015 @12:52AM (#10180101)
Also the lovely 623 E. 68th Street, NYC in the East River.
Re:Random Valid US Address by Tomte on Monday September 07, 2015 @12:18AM (#10180046)
Ah, the headquarters of the Usenet Administration!
Re:Random Valid US Address by mirimir on Sunday September 06, 2015 @06:26PM (#10179319)
Indeed!

From time to time, I need to lease VPN services, VPS and so on. And I choose to do so pseudonymously, paying with Bitcoin. But bizarrely, sometimes providers want contact information. I need valid information, of course. And I do provide a working email address. But it's rare that a telephone number will be used. Sometimes I have setup VoIP. But mostly I just need a telephone number that won't raise alarm, if called. So I tend to pick restaurants that have recently failed, business hotels or hostels.

Sometimes I need a valid return address for mailing cash. In that case, I pick a homeless shelter or other charity. That way, if the letter is returned for whatever reason, the money goes to a good cause.

Re:Random Valid US Address by MichaelGG on Sunday September 06, 2015 @06:36PM (#10179344)
Valid address, why? I've used preloaded cards in the past and have never had issues making up addresses.
Re:Random Valid US Address by mirimir on Sunday September 06, 2015 @07:10PM (#10179456)
Maybe I'm just paranoid :)

If I were building a system that required addresses, I would validate them. Why bother asking, otherwise?

I'm guessing that OP's system is designed for systems that require validated addresses.

Edit: Once or twice, using gift cards, it's been necessary to speak with customer service before they'd accept the payment. That required a VoIP account. I only did that because I needed a VPS in a particular IP range.

Re:Random Valid US Address by LeoPanthera on Sunday September 06, 2015 @06:30PM (#10179330)
> But bizarrely, sometimes providers want contact information.

And you trust those providers?

Re:Random Valid US Address by bigiain on Sunday September 06, 2015 @07:46PM (#10179530)
If you need to trust the provider, you're probably hosed already. (Depending,of course, on who your adversary is. Random untrustworthy VPN services are probably OK if you're just trying to protect against corporate network snooping or WiFi Pineapples at Starbucks. I'd be a little less sure about whether they'd protect you against a determined MPAA rights holder lawyer. If your adversary is a nation state, you need better advice about opsec than you'll get from a random like me on a website...)
Re:Random Valid US Address by mirimir on Sunday September 06, 2015 @08:24PM (#10179615)
I write a lot about this issue! Compartmentalization is a key aspect of good OPSEC. Trust partitioning, for example.

Consider Tor. Each circuit involves three relays aka ORs aka nodes: entry guard, middle relay and exit relay. An adversary could deanonymize a user by combining information obtained from the three relays used by one of their circuits to some honeypot.

One cannot trust any particular Tor relay to refrain from logging and cooperating with adversaries. However, the Tor design mitigates those risks by using three relays in a chain. An adversary would need logs from all three relays in a circuit.

One can also use nested chains of VPN services. That's far less anonymous than Tor, for many reasons. Tor creates circuits more-or-less randomly, and by default they change at ten-minute intervals. VPN chains, conversely, are typically static. But the bandwidth is much greater.

And then one can use Tor via VPN chains, and route VPNs through Tor. Also, although routing Tor through Tor doesn't work well or do much good, one can proxy through remote desktops on VPS. Latency sucks, but you get used to it.

Re:Random Valid US Address by mirimir on Sunday September 06, 2015 @07:08PM (#10179452)
I don't trust any provider :)

But yes, I tend to trust those providers less.

It seems odd to accept Bitcoins, and yet want contact information. And some of these providers actually emphasize that they're privacy friendly! But I suspect that it's just that they're using stock software that needs contact information to create accounts. Also, Bitcoin is just one payment option, and credit/debit card payments do require contact information.

Re:Random Valid US Address by dclowd9901 on Sunday September 06, 2015 @11:05PM (#10179896)
So? There's real people living and working at every address.
Re:Random Valid US Address by billforsternz on Sunday September 06, 2015 @06:51PM (#10179394)
This was fun, the first random dude it came up with for me was an improbably cool 81 year old (occupation Chef, car 2015 Dodge Charger - not actually an option in the country he's located but still, cool car).

This could be used to generate test data. I hope nobody would be tempted to use it for dubious purposes of any kind.

Edit: Oooo, another legitimate use occurs to me - help generate story ideas (or at least flesh out fringe characters) for authors.

Re:Random Valid US Address by soneil on Sunday September 06, 2015 @07:15PM (#10179469)
I recently hit an odd accident that turned into a cautionary tale about test data.

Someone was testing one part of a new ecommerce system, at precisely the same time someone else was testing another part. No-one noticed until DHL returned a package that was addressed to the Death Star.

They still charged us shipping, but atleast we didn't have to swallow product cost too. But it did make me look at "random test data" quite differently.

Re:Random Valid US Address by Theodores on Sunday September 06, 2015 @09:22PM (#10179732)
Snap - I use [email protected] with the Pentagon's address.

In the interest of client-friendliness I also use Disney addresses, with names such as Ms. Sleeping Beauty. So with my test data stuff would get delivered by DHL to fictional people in these places with people signing parcels.

I use real addresses so I can check postage rates are correct. It would be really useful for me if there was a standardised list of test addresses used across industry and in the media. Doubly so if you had test code that worked on such a known list of test cases, adding address records for 'customers' without having to enter one's own test data.

Re:Random Valid US Address by eru on Sunday September 06, 2015 @11:27PM (#10179939)
Why would you put garbage in your production databases?
Re:Random Valid US Address by soneil on Monday September 07, 2015 @01:48AM (#10180232)
It wasn't supposed to be production. From what I gather, someone made sure the queue was empty before witching their component to the live system temporarily. Someone else managed to get a test order in, in the seconds between the check and the switch.
Re:Random Valid US Address by jordanpg on Sunday September 06, 2015 @06:14PM (#10179280)
Add random errors to this, and you have the perfect way to test a universal address parser.
Re:Random Valid US Address by vortico on Sunday September 06, 2015 @06:40PM (#10179356)
This is the only valid/legal/moral use case I can imagine for this project, but a good one.
Re:Random Valid US Address by mangeletti on Sunday September 06, 2015 @07:38PM (#10179513)
What if you wanted to create an app that allows people to "crowd-fund" gifts to be mailed to random residential addresses with a note inside that contains a unique URL that the person can enter into their browser to visit a page explaining the gift and offering them a way to say thank you to all the givers?
Re:Random Valid US Address by derefr on Sunday September 06, 2015 @07:44PM (#10179525)
Most addresses aren't households; of the ones that are, a great number of those aren't currently inhabited. A lot of packages would be sitting at the doorsteps of new townhouse developments or vacant apartments.
Re:Random Valid US Address by wodenokoto on Monday September 07, 2015 @01:25AM (#10180170)
Instead of calling it a "valid" address, you should call it an "actual" address.

I thought at first this would generate real looking addresses that would pass automatic validation, but not actually be anywhere.

This is quite different!

Re:Random Valid US Address by chipsambos on Monday September 07, 2015 @06:08AM (#10180823)
I think it's fine. Well, "validity" is contextually sensitive of course. For example, if I want to test addresses against a regex I'm developing then, yes, they are valid but if I want to test my mapping application that geocodes addresses then made up addresses are "invalid".

Since the whole point of an address is that it resolves to a particular geographical location then I would have expected a "Random Valid US Address" to be able to be geocoded.

Re:Random Valid US Address by wodenokoto on Monday September 07, 2015 @10:35PM (#10183934)
The same can be said about credit card or social security numbers - that they should validate to actual cards/people, yet a generator would be expected to not do that, but only produce series that match validation criteria.
Re:Random Valid US Address by userbinator on Sunday September 06, 2015 @10:57PM (#10179883)
Incidentally, Fakena is the name of a tiny village in Burkina Faso, Africa.
Re:Random Valid US Address by mindcrime on Sunday September 06, 2015 @06:00PM (#10179218)
In a similar vein:

https://github.com/mindcrime/DummyDataGenerator

Generates names, addresses, phone numbers, email addresses, etc. But the addresses are not guaranteed to be valid, although many of them will be by happenstance. Same for phone numbers.. some will be valid by chance, but may will not. The emails generated by this program, OTOH, are most definitely guaranteed to not be valid, since they all use @example.com to prevent accidental spamming.

Re:Random Valid US Address by johansch on Sunday September 06, 2015 @07:33PM (#10179504)
1st hit: a church

2nd hit: some normal-looking house

3rd hit: a church

Are there more churches than homes in the US? :)

Re:Random Valid US Address by whitehat2k9 on Sunday September 06, 2015 @06:03PM (#10179231)
How does this work? Where are the addresses pulled from?
Re:Random Valid US Address by iso8859-1 on Sunday September 06, 2015 @06:10PM (#10179263)
You can get addresses from Google if you supply the coordinates. I don't know if this is how they do it, but it would be easy.
Re:Random Valid US Address by mholt on Sunday September 06, 2015 @07:44PM (#10179524)
Google has false positives on addresses all the time. (What you say is true, though, but also goes against their ToS to build up a list like this.)
Re:Random Valid US Address by jordanpg on Sunday September 06, 2015 @06:11PM (#10179268)
It says "random". I assume that the valid fields are defined using some syntax or another, and then populated from random generators or lists.
Re:Random Valid US Address by kennydude on Monday September 07, 2015 @03:47AM (#10180468)
I use https://randomuser.me/ which gives me faces as well as everything else. Also the API lets me pick a nationality which is neat (for some reason not on the website it seems)
Re:Random Valid US Address by bshimmin on Monday September 07, 2015 @03:40AM (#10180457)
The passwords it generates (from this page: https://fakena.me/random/) are totally unrealistic. Better would be "qwerty12345" and "footba11"!
Re:Random Valid US Address by mholt on Sunday September 06, 2015 @07:39PM (#10179514)
Was shown this address but it isn't valid:

    C/o Wlrk 51 West 52nd Street
    New York, NY 10019-0000
Curious where the data comes from. The USPS reserves almost all rights on addresses and only releases them to licensed vendors for certain uses, and I doubt this is one of them.

Even licensed vendors don't get the full list, they get an encrypted database of the address and a C library with which to query it. (Source: I worked for such a vendor and wrote code to interface with said C library.)

Re:Random Valid US Address by DannyBee on Sunday September 06, 2015 @08:27PM (#10179620)
Getting a really large list of valid residential addresses in the united states is 100% completely trivial.

For example, all the registered voter databases are for sale or free (though generally only allowed to be used for "political purposes", and not "commercial purposes", if you get them from the state themselves).

Re:Random Valid US Address by nandhp on Monday September 07, 2015 @12:34AM (#10180074)
> Was shown this address but it isn't valid

Wachtell, Lipton, Rosen & Katz would disagree with you: http://www.wlrk.com/

But perhaps you were referring to the fact that there should be a newline between the care-of and the street address?

    c/o WLRK
    51 West 52nd Street
    New York, NY 10019
Re:Random Valid US Address by bigiain on Sunday September 06, 2015 @07:53PM (#10179550)
Doesn't the US Census Tiger data contain everything you'd need to create "actual" US addresses?
Re:Random Valid US Address by gott on Monday September 07, 2015 @01:55AM (#10180248)
Here is the german edition.. also with credit card numbers, Bank account and ID no. They are all real, cvv does not match and they are randomized off course.. Cheers! http://fake-it.biz/
Re:Random Valid US Address by Gladdyu on Sunday September 06, 2015 @06:13PM (#10179277)
I can imagine that you'd run into all kinds of legal issues when you use the address of some unknowing stranger as your own for whatever, probably not the most trustworthy, purpose.

Would not use.

Re:Random Valid US Address by simoncion on Sunday September 06, 2015 @06:34PM (#10179339)
I think that in every case where you're not entering into an agreement where you assert that

1) The physical address provided is an address at which you can receive correspondence or packages.

and

2) The information supplied is -to the best of your knowledge- correct.

and

3) You agree if you have knowingly supplied false or incorrect information, you will be subject to penalties or damages claims.

you'll be just fine.

Re:Random Valid US Address by ErikAugust on Sunday September 06, 2015 @10:12PM (#10179814)
4 Yawkey Way Boston, MA 02215
Re:Random Valid US Address by sanjaynegi89 on Monday September 07, 2015 @06:37AM (#10180888)
Cool.