Extend Your Stay - 3
Last updated
Was this helpful?
Last updated
Was this helpful?
We are tasked now with another .cfx file that we need to analyze. It wants us to find the type of Card that the hackers are exfiltrating with the code.
We do the same thing as before and unzip the .cfx file. After some code analysis we find something weird going on with these 3 const's.
The const "birdIdentifier1" is doing some regex that that matches a 16 digits and numbers between 51-55. 16 digits is usually a credit card and 51-55 is usually the numbers for master card. (Our flag being Master Card)
The second and third const's further validate this by giving us the regex for a MM/YY and the 3 numbers on the back of a card.