Giter Site home page Giter Site logo

nasirxo / cnic Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wh014m/pakistan-card-pattern

1.0 0.0 0.0 244 KB

exploiting pakistani cnic number to get location and gender behind it

Home Page: https://graysuit.github.io/cnic

License: MIT License

HTML 100.00%

cnic's Introduction

What is CNIC ?

CNIC is 13 digit long unique identity number alotted to Pakistani nationality holder. CNIC number looks like below:

57469-0532456-7
0975345678053
0975431479567
73654-8723402-3
2374982638947
26349-6293643-8

card

How cnic exposes location and gender ?

It's not just a number. It's like a pakistani DNA or fingerprint. You can get alot information from it.

It is in pattern ABCDE-FGHIJKL-M

  • A shows PROVINCE e.g PUNJAB

  • B shows DIVISION e.g SARGHODHA

  • C shows DISTRICT

  • D shows TEHSIL

  • E shows UNION COUNSIL

  • FGHIJKL shows FAMILY TREE

  • M shows GENDER e.g MALE or FEMALE

A (Province)

  • If A = 1 Then Resident lives in KPK
  • If A = 2 Then Resident lives in FATA
  • If A = 3 Then Resident lives in PUNJAB
  • If A = 4 Then Resident lives in SINDH
  • If A = 5 Then Resident lives in BALOCHISTAN
  • If A = 6 Then Resident lives in ISLAMABAD
  • If A = 7 Then Resident lives in Gilgit-Baltistan

Extended details about cnic codes...

M (Gender)

  • IF M = 1 or 3 or 5 or 7 or 9 Then Resident is MALE
  • IF M = 0 or 2 or 4 or 6 or 8 Then Resident is FEMALE

Tool

I have created tiny javascript program. So no manuall work needed. Put cnic and that tool will find and show details (location and gender) itself. Please view: CNIC Tracker .

Contribute

If it locate wrong location, kindly gmail at hackrefisher along with photo of CNIC card that indicate faulty results. Thank you

cnic's People

Contributors

graysuit avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.