Hacking a parking ticket system
ronreiter.com
Hacking a parking ticket system
1–10 of 65 posts
Re: Hacking a parking ticket system
#2Re: Hacking a parking ticket system
#3I'm sure this will be a big hit with the legitimate purchasers of the tickets to which those barcodes were assigned... who will find them mysteriously invalid when presented.
Re: Hacking a parking ticket system
#4Re: Hacking a parking ticket system
#5You 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.
Re: Hacking a parking ticket system
#6They 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.
Re: Hacking a parking ticket system
#7A really simple "hack" of a car park with an entry barrier that issues you a ticket is that you can usually exit the car park with an unpaid ticket if it's under 10 min old. So just get a new ticket from the entrance when you want to leave. 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.
Re: Hacking a parking ticket system
#8A really simple "hack" of a car park with an entry barrier that issues you a ticket is that you can usually exit the car park with an unpaid ticket if it's under 10 min old. So just get a new ticket from the entrance when you want to leave. 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.
Re: Hacking a parking ticket system
#9A really simple "hack" of a car park with an entry barrier that issues you a ticket is that you can usually exit the car park with an unpaid ticket if it's under 10 min old. So just get a new ticket from the entrance when you want to leave. 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.
> So just get a new ticket from the entrance 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.
Re: Hacking a parking ticket system
#10The 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.)