Gaming Foursquare With 9 Lines of Perl 84
caffeinemessiah writes "With the recent launch of Facebook Places, the rise to prominence of Foursquare and GoWalla, and articles in the New York Times about the increasing popularity of 'checking in' to locations using GPS-enabled mobile phones, a number of businesses are wondering how to reward frequent patrons. But exactly how susceptible are these 'location based services' to being abused? A researcher at the University of Illinois at Chicago shows how easily Foursquare can be gamed in 9 Perl statements, and invites readers to submit more succinct versions of the code to game the system."
An anonymous reader contributes a link to a similar article about spoofing Facebook Places to create an alibi.
no need for srand; (Score:5, Informative)
So there is a wasted line right there. This whole thing is quite silly, though. perlgolf can be a lot more challenging and fun than making a simple http post.
Re:Luckily (Score:5, Informative)
What is foursquare? - The missing description. (Score:4, Informative)
Faking geolocation in Firefox (Score:3, Informative)
Re:no need for srand; (Score:3, Informative)
9 lines of perl? (Score:1, Informative)
You can do that with 1 line of shell + wget/curl
Re:Faking geolocation in Firefox (Score:1, Informative)
Apparently I was the first person on Facebook to check in at the NSA headquarters.
Re:So wait... (Score:4, Informative)
to make it portable use \015\012 instead of \r\n (Score:2, Informative)
cause \r\n isn't \015\012 on every platform