Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added a Regex Definition for Saudi Arabian Passports #27

Merged
merged 2 commits into from
Nov 23, 2023

Conversation

othmanalikhan
Copy link
Contributor

Added a simple JSON definition for Saudi Arabian passports and validated against 5 live passports.

Interestingly, although not ideal, the keyword "SAU" must be included as the alternative phrase "Kingdom of Saudi Arabia" or "Saudi Arabia" is not reliable enough because of the location/design of the phrase (the phrase is located at the very top of the passport and the font type/colour is inverted/different so isn't always picked up).

Hopefully on the long run an easier keyword to match is specific Arabic words, but for the time being "SAU" is the temporary solution with ideally little false positives.

@0x4f53 0x4f53 merged commit 9b266f5 into redhuntlabs:master Nov 23, 2023
@0x4f53
Copy link
Collaborator

0x4f53 commented Nov 23, 2023

@othmanalikhan Excellent, this is a great sig! I will add some more for other documents like the Iqamah too!

@0x4f53
Copy link
Collaborator

0x4f53 commented Nov 23, 2023

@othmanalikhan Check out #28 and v2.2!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants