Hacking a parking ticket system
ronreiter.com
ronreiter.com
The calculation the author wants is
LastThreeDigits(secret*23) = 642
that is equivalent to secret * 23 == 642 (mod 1000)
that is equivalent to secret * 23 + dummy * 1000 = 642
The standard method is to solve this first for 1 instead of 642 other_secret * 23 + other_dummy * 1000 = 1
and this can be solved with the Extended Euclidean Algorithm: https://en.wikipedia.org/wiki/Extended_Euclidean_algorithm(But in this case, and with a computer, it's easier the brute force solution.)
When they caught him (he parked in the wrong lot or something) he admitted everything, paid $80, and offered to help them catch others doing the same thing.
He told them to change the end-of-day expiry time to 1 minute earlier than normal, tow everyone with a ticket that expires at the usual time.
Drive your car in and take a ticket as normal. When it's time to leave, book a ZipCar for one hour. Grab its parking pass and use it to exit the garage with your car. Park on the street nearby, walk the pass back to the ZipCar.
Are there typically countermeasures in place for this? Match the pass to the license plate with ANPR? Don't allow an exit without a corresponding entrance? Sucks for the next person to use the ZipCar. But how will they know it was you? Are video archives good enough to find the plate associated with a particular card swipe without a ton of manual effort?
(Assume you're trying to store a car for a month or more. At a fairly normal Chicago visitor parking rate of $25 for 2 hours, that would cost $9,000.)
The cost of the zip car + the hassle of booking the zipcar, walking from to it to grab the card, driving your car out and finding parking, then walking back to the car.
I would emphasize that this method requires finding parking outside the parking garage. Around where I live, that could be a long walk back to the garage (and paying a meter...)
Edited to add: For the next common "game" on this line "why dont you just walk past and card swipe exit" you will note the cameras positioned at the card terminals at all of these lots for this issue. Basically they will have a record of: your license plates for the entry/exists (the sipes and video systems have timecodes that can be matched) and of your person walking by on foot to trigger the exit state.
Each tag had a row of 12 "bubbles" and another grid of 31 "bubbles" covered with the silvered scratch-off stuff you find on lottery scratch tickets. To use one of these daily tags you would scratch off the bubble corresponding to the month and date you were parking.
I soon realized that the parking attendants weren't very observant and between that and the windshield, you could use one of those silver paint pens to "refill" in the bubbles after they had been scratched, use a fine-tipped Sharpie to draw the number back on the re-silvered bubble, and scratch off the next day.
Can't remember how long I did this and I seem to remember eventually getting a ticket but it was right around when my car finally died and the year was almost over. Either way, I could usually get a week or so out of those daily passes before a stray mark or penmanship error would ruin a tag and I'd have to start a new one. I'm pretty sure I got at least $50-100 worth of parking out of my little scam though.
Not proud but hey...I managed to graduate and not starve so, bonus!
I even spent a couple semesters waiting in the parking lot an hour after class. I would read a book, program, or study for that hour.
Once I was late, and visitors was full, so I parked in the regular parking, which promptly got me a ticket. I didn't pay, and they eventually sent the ticket to my address. I called the school and told them I wasn't responsible as I had sold the car to another student, and it was their ticket, not mine. They bought the story and removed the ticket.
Also, some schools try to discourage car ownership due to the number of student deaths associated with drunk driving to and from parties.
Second statement needs a source, and regardless it isn't a valid reason. Colleges don't decide how adults live their lives.
Also, collages accept students younger than 18 which are not adults and legally can't be treated as adults.
However, opportunity costs bump that as for example it lowers the density of the area.
Because "parking a car on campus" and "receiving an education" are different and only tangentially related things; maintaining parking spaces for people who want to do the former is an expense that is not born in accommodating the people who do the latter without the former, so those who wish to do both should pay more than those who wish to only do the latter.
"Going to the gym" and "receiving an education" are different and only tangentially related things; maintaining gym facilities are probably much more costly than maintaining a parking system, even if you include "meter maids."
If the school is able to maintain an entire gym, ripe with an indoor track, basketball court, swimming pool, not to mention the (non-free) classes that go along with it, without charging those who take advantage of such facilities (or, put another way, subsidized BY those who do not take advantage of such facilities), I think the school could do without charging students for parking. Visitors, sure; but students?
And there are plenty, plenty of services that schools offer for "free" because they are included in the tuition, that many students don't "take advantage" of (read: don't need/want).
For me, I'd like to be able to curate the benefits I get from the school. No, I do not want to get free condoms from the health center, but I would like free parking. I do not smoke so I do not need free nicotine patches, but I would like to go to the gym.
Of course this is a life long in my past, but it still irks me how many students are forced to learn how to game the system like this because they have to pay for parking. Perhaps not forced, but sometimes it's just not financially feasible for a zero-income college student to pay $9 a day to park on campus.
When faced with the situation of working on a mainframe at city hall, but not being issued a city parking permit due to bureaucratic oversight, he came up with a solution in code. It just so happened that the system he was working on issued the parking tickets, so he just added conditional logic to detect his name, then deleted the ticket! Problem solved, and no bureaucratic runaround to solve it!
Tips to improve: f(x) = ( x * secret) mod 1000
- mod 10000 instead of mod 1000 (as mentioned in the article)
- make sure the 'x' varies between 0-9999 (e.g. by splitting the number in half and adding the parts 03001909 > 0300+1909 = 2209)
- make sure the 'secret' is larger than 10000 and non-divisible by factors of 10000 (2 and 5) (e.g.: 54321)
Pretty sure it wouldn't be so easy to hack then.
Edit: If it is really a checksum, it is a crappy one.
They do this so you can get out if there are no spaces.
I haven't done this myself and don't condone it. You will probably get in trouble and it's not nice.
Getting a new ticket from the printer before the barrier will be hard if your car is inside the car park. Often the ticket printer will only work if it notices a large metal object (such as a car) in front of the barrier.
Anyway, I guess motorcycles are not quite as maneuverable as a bicycle, so would find it harder to trigger the sensors in this deliberate way.
In Santa Barbara all of the parking lots downtown where the bars are had attendants. This was before people credit card machines allowed lots to be open 24/7. Anyways, most lots had the entrance/exits at the same location so if someone pulled in to get a ticket and then backed out the attendant would notice. One lot had the entrance all by itself on the opposite side of the lot, blocked by some trees. I have many friends who would go out for a night on the town and then get someone to drive them back in the morning, pick up a ticket without entering, then leave using that fresh ticket.
After the felony fraud charges, he would have been better off just shoplifting the sets instead.
http://lego.gizmodo.com/high-profile-silicon-valley-exec-gui...
http://gizmodo.com/5912141/multimillionaire-software-exec-ar...
http://news.yahoo.com/blogs/technology-blog/incredibly-wealt...
http://www.mercurynews.com/ci_20675946/silicon-valley-tech-e...
But there's this earlier story too:
From what I remember this didn't work out well for anyone and was handled as you might expect. I'm definitely not someone who would try to give himself a $500 discount on an HDTV but it got me musing about the scam when it crossed my radar. It always seemed to me that in order to be worth the risk and hassle you'd have to do it on a scale that dramatically increased your chances of getting busted. Like you couldn't give yourself a big discount (obvious at checkout) or give yourself lots of little discounts (more chances to get noticed) so aside from the "heehee I found a dirty trick" aspect, it seemed like kind of a terrible scheme (not even counting the fact that you're engaging in fraud).
Wherever money is involved, even the small amounts for carparking[1], you're going to have people attacking the system to get free stuff.
And car park machines[2] have extensive audit trails.
[1] an individual stay is quite cheap. Over a year it's a lot of cash.
[2] At least, the Almex Control Systems machines did. As did the TIMTronic and System B and System C and Delta bus ticket machines.
Seriously, the easiest way to abuse (private) parking systems is usually to make them write the ticket to a plate that doesn't come back to you.
Another "hack" was that the parking gates at most public garages in the DC area had a rubber sweep on the bottom and were tall enough that most 90s compacts could squeeze under if you retract the antenna, saves about $6 per usage.
I figured out that parking way out back significantly reduced my chance of being ticketed. More than once I saw the parking services truck drive up and down the rows making sure everyone had something in each windshield, not actually scanning them. This was during the summer so there was always parking available and 90% of the enforcement I saw was during the first two weeks when everyone moved in.
The permits were a paper with a bar-code displayed in the center of your dash (students got ones that hang from mirrors). I thought of just putting a piece of paper there but I figured any attempt fake would piss them off. The policy was worded such that it made it sound like you only got booted after three UNPAID violations so I think what was happening was that when they put each new plate (all three I used were from the same state) into the system it didn't tell them to boot it because no plate had more than three citations on it. I got six tickets over the course of the summer. Two, two and one on junkyard plates and one on my real plate.
Parking in the same place with a ticket under your wiper would probably work for awhile too.
When I looked on their online parking pass system I don't recall a way to input a VIN so I assume they didn't record it, just a photo that includes the plate and a description.
Like I said, I wouldn't do this somewhere that the municipality does the parking enforcement.
Hope saving a few hundred dollars is worth the potential hit to your credit score.
Perhaps laws are different there.
Print out your card at home, park at lot, scan to checkout, your barcode is in one of three states: 1: Not valid because it has not been issued by the controller, 2: Valid and first use (you left before the other car on the lot with the duplicated barcode has exited), 3: Invalid because it has already been used on exit (the duplicate barcode has already left the lot).
In what scenario given an active controller that is not braindead would this give you any kind of advantage? You are more likely than not going to be in a situation where you trigger an alarm on exit.
You have a typo here:
f(21) = (23 * 854) % 1000 = 17934 % 1000 = 934.
I wouldn't be surprised if the last four digits are some form of built-in barcode error checking, and are not used anywhere else.
~$ factors 854
854: 2 x 7 x 61
Factoring 854 doesn't seem to help unless those meant something to the person who came up with it (old high school locker combo?).