Searching for Credi...
 
Notifications
Clear all

Searching for Credit Card Details

13 Posts
7 Users
0 Reactions
3,515 Views
rhall47
(@rhall47)
Eminent Member
Joined: 17 years ago
Posts: 42
Topic starter  

many thanks Biniek, I think you together with others that using FTK is a good approach.


   
ReplyQuote
(@chague)
Eminent Member
Joined: 19 years ago
Posts: 33
 

Here are some regex examples for Track 1 and Track 2 by brand for mag-stripe data sets.

Track1
"B6011[0-9]\{12\}"
"B5[1-5][0-9]\{14\}"
"B3[47][0-9]\{13\}"
"B4[0-9]\{12\}[0-9]\{3\}"

Track 2
"6011[0-9]\{12\}=[01][0-9]\{3,3\}"
"5[1-5][0-9]\{14\}=[01][0-9]\{3,3\}"
"3[47][0-9]\{13\}=[01][0-9]\{3,3\}"
"4[0-9]\{12\}[0-9]\{3\}=[01][0-9]\{3,3\}"

Track 1
\%?B[0-9 ]{12,19}\^[^\^]+\/[^\^]+\^[0-9]{7,7}[^\?]+\.?

Track 2
\;?[0-9]{12,19}[\=][0-9]{12,32}\.?

Hope this helps or points you in the direction you need.

Chris


   
ReplyQuote
(@joshsevo)
Trusted Member
Joined: 15 years ago
Posts: 89
 

Credit card numbers should be pretty easy to pick off

AMX starts with 3
Visa Starts with 4
Mastercards start with 5
Discover cards start with 6

Usually the cards will have the first 4 or 8 numbers the same depending on which bank issues the cards. What I mean is that you and I have Chase visa cards and they should both start 4246-3151XXXX-XXXX This carries over to the other cards also.


   
ReplyQuote
Page 2 / 2
Share: