One of the few OSINT tools focused on Mexican citizens, retrieve and verify data about a Social Security Number aka IMSS from a given CURP. Insituto Mexicano del Seguro Social is a Mexican goverment dependency which deals and provides health and clinical services to Mexican citizens. This script is part of a collection of non-USA-focused-OSINT tools, designed to retrieve and verify data in the OSINT investigations context. Uses python's requests library and a config.json file containing your API keys managed by RapidAPI (available at RapidAPI.com), data points obtained aid to validate a Mexican citizen identity for OSINT research purposes, applied to missing person cases, fraud prevention and identity theft investigations.
Python 3.x requests library (pip3 install requests) A valid subscription to RapidAPI and its IMSS API key.
Clone this repository to your local machine. Install the requests library by running pip install requests in your terminal.
Open the config.json file in the root directory of the repository. Replace "your_api_key_here" with your actual IMSS/RapidAPI key.
In your terminal, navigate to the root directory of the repository. Run the following command:
python3 OSINT-x-IMSS.py -h
╓▄▓▌▀▓▓▓▓@▄▄,
.▄█▓▓▓▀╜└└╙╙▀▀▓▓▄¿
Å╙ ,▄▄▓▓▀▀▓█▀▀▄
, █▀▓▓▓▀▓▀Ñ▄▄▄▓▓▌ ,▓▓▓█▓▓▄,
,▄▓▓▀▀▀▓▓▓ █▀╫╫╫╫╫╫╫▓╩╨███ J█╫▓▓▓█▓╫▀▓▄
╥▓▌Ñ██▓█▓▓╫╫▌ █▀▓▓▓▓▓▓▓▌ ▄█▀█ ▌╫▓█▓▓▓▓▓▓▓█▄¿
╥▓█▓▓▓▓▓▓▓▓▓▒▓L ▐▓▓▓█▓▓▓▌▓▌ ▄█▌█ ,▌╫▀█▓▓▀▓▓█▓█▓▀▄
▓▌▀▓▓▀████▀╫█▀█ █▓▓▓▓█▓▓▌▓▓█▓▀█ ▄▓╫╫▌▓▓▀▀█▓▓█╫▓▓▓█▄
▄█▓▓▓█▓█▓█▓█▓▓▓▓▓▓▄▓▓▓▓▓▓▓▓▓▓▓▀▓▓█▓▓▓▓▓▓▓█▀█▄▒██▓▓▌█╫█╫█▓▓▄
╥███▓╫▓╫▓╫█▀▓▓▓▓▓▀█▓▓█▓▓▓▓▓▓▓█▄▌▓█▌▀▓▓▀▓▀▓▓▓▓▓▓▓█▓█▓▀▌▀▌▓▓▓▓▌
,█▓╫█╫█▀▓▓▓▌▓▓▓▓╫▓▓▀▒█▓▓▓╫█▀▀█▀▌▓█╫▓▓▓█▓▓▓▓▓▓▓▀▓▓▓▓▓█╫█▓█▓▓█▓▓█
█▓▓█▓█▓██▓▌██▓█▓█▓▒█▀█▓▓▓╫▌╫█▌▓▓██╫█╫▓▓▌▓▓▓▓▒▓█▓█▀██▓████▓██▓██▄
▄█▓╫█▀█▀█▓█╫█▓▓╫▓╫█▓█▓█▓▓█▓█▓▌╫▌█▓█╫▓▓▓▓█▓▓▓█▓▓▓▓▓▓╫█╫█▓█▓▓█▓▓▓▓█
╒██╫▓▓▓▌╫▓╫▌▓▌▓╫█▓▓▓╫▓╫▓██▓▓▓▓▀▀▌█▓▓▀▓▀▓▀▓╫▓▓▌╫▓╫▓╫▓╫█▓▓▓█▓█╫█▓▓█▓▄
█▓▀╫▓╫█▀█▓▓▓▓▓▌╫▌╫█▓▓▓╫█▓█▓▓▓▓▀▓▓█╫▓╫▌╫▌╫▓╫█╫▌╫█▓▓╫▓╫█▓╫█▀█▓▓╫▓█▓▓█
█▓╫▓▀╫▌╫█╫▌╫▌▓▌╫▌╫█╫╫█╫▓▓▓█▓█▓▓▄▌██▓▓▓▓▓▓▓╫▌╫▌╫▌╫▌╫█▓▀▀▓▓▓▀██▓▀▓█▓█
▄▓▒▓▓▓█╫▓▓▓▓▀▀`▀▀█▓▓▓╫█▓▓▀███▓▀█▀▓▓█▒╫▒▓▓█▀▀▀▀▓▓▓▀▀▀` `▀█▓█▓▓▌▓▓▓█
█╫▓▓╫▓▀▓▌▓▀ └ ▀ ▄▌▀▓█▓▓▓▌█╫█▓█▓▓▓▓█▄ ▀▀▀▓╫▓▀▓█
█▓▓╫▓▌▓█▌ █▓▓██▓▓▓▌▄▓█▓███▓▓▓█▓▄ ▀▀▓╫▌
▀▓╫▓█▓Ö ▀▓▓▒▓▓▓█▌█╫█▓▓▓▓▓▓█▓█▓▌ ▓█▓ ▄▄, ▀▓▌
█▀╜ ▄µ ╨▀▓▓▓▓██▌██▀█▓▓▓▓▓▓▌▀▓▓ ▀▓▓█▓▓█▌
▀▀▄▄▄▀▓▓▄▄ ╥▄▀█▓▓█▓▓▌█▓▓██▓█▓██▓▀▓▓ ▓▓▓▓█
╥,▄█▓▓▓▓▌ ╙▓▓▄,╥╥æ▓█▀▀└ ▄█▓▓╙▓▓█╫▓▓▀█▓█▓▓▓▓▓▌ ▄▄▓▓█▌ ▄▄▄
╨█▓▓██▓▓▓▓▌▄▄▓▓▀▀▌╫▓█▄▄▓█▓▀▀ ╙ ╙╙└▀██▀▀╙▀▀└ , ,▄▓▓▓▓▓█▓▓▓█F
╙▀▀█▓▓▓▓██▓▌▀█▓█▓▓█▓▌ ,▄▄▄▄▓█ ▄▓▓█▄▄▓▓▓▓▓▓█▓▓▀╙
ⁿ▄▄▓▓▓█▓▓▓▓▓▓█µ -█▓▓▓▓▓▓▓▄ ▓▓▓██▒▀█▓▓ ▄▓▓▓▓▌█▓▓▓▓▓▀
▀▓▓▓▓▓▓▓▓▓▓▓▓▓█ Å█▓▓▓▓▓▓▓▌ ▄█▓▓▓▓█▓▓██ █▓▓▓█▄█▓██▀
▀▀█▓█▓▌▀█▓▓▓█▄▄▄▓██▓▓▓▓▓▓█▓▓▓▓▓▓▓▓▓▓█▄███▓▓▓▓▓▓▓▌
▄█▓▓▓▓▓▓▓▓▓▓█▓▓▓█▓▓▓▓▓▓▓▓▓▓█▓▓▓▓▓▓▓▓▓▓█▀
█▓▓▓▓▓▓▓▓▓▓▓▀,. █▓▓▓▓▓▓▓▓█▀▀▀▓█▓▓▓▓█▌▀
▐▌▀█▀▓▀▀██▓▓▓▓▓█▓▓▓▓▓▓▓▓▓▓▓█▓Γ
▀▓█▓▓█▓▀▓▓▓▓▀╙▀▀▓█▀▀
=============================================================
OSINT MX
=============================================================
osint x imss
======================
Author: Edgar Medina
======================
usage: OSINT-x-IMSS.py [-h] curp
Retrieve Mexican NSS aka IMSS, from a given CURP
positional arguments:
curp CURP to retrieve IMSS / NSS for
options:
-h, --help show this help message and exit
The script will send a GET request to the IMSS API using the specified CURP and your RapidAPI key from the config.json file. If the request is successful, the script will print the data returned by the API. Otherwise, it will print an error message with the status code. The results print the data returned in json format. The data points retrieved are the following: curp, name(s), first surname, second surname, dob, sex, nss, origin state, age, clinic asigned, identifier key for the clinic, city, geolocation / lat-long, plus more.