{"id":42466295,"url":"https://github.com/gusdcoder/leitor_contactless","last_synced_at":"2026-01-28T09:39:49.918Z","repository":{"id":288387936,"uuid":"965229758","full_name":"gusdcoder/leitor_contactless","owner":"gusdcoder","description":"Leitor Contactless is a high-performance system designed for handling large volumes of data with robust, contactless technology. Optimized for scalability and real-time processing, this project is ideal for applications requiring rapid data throughput and seamless user interactions in environments such as access control, ticketing, ","archived":false,"fork":false,"pushed_at":"2025-11-05T19:59:04.000Z","size":95,"stargazers_count":2,"open_issues_count":7,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-05T21:32:11.560Z","etag":null,"topics":["authentication","contactless","iot","mobile-payments","nfc","relay-attack","replay-attack","security","vulnerability"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gusdcoder.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-04-12T17:41:39.000Z","updated_at":"2025-11-05T19:59:09.000Z","dependencies_parsed_at":"2025-06-30T21:09:00.161Z","dependency_job_id":"f2f16b3c-324a-4acc-adba-f2d4fd77182b","html_url":"https://github.com/gusdcoder/leitor_contactless","commit_stats":null,"previous_names":["gusdnide/leitor_contactless","gusdcoder/leitor_contactless"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gusdcoder/leitor_contactless","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gusdcoder%2Fleitor_contactless","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gusdcoder%2Fleitor_contactless/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gusdcoder%2Fleitor_contactless/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gusdcoder%2Fleitor_contactless/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gusdcoder","download_url":"https://codeload.github.com/gusdcoder/leitor_contactless/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gusdcoder%2Fleitor_contactless/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28843999,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T07:39:25.367Z","status":"ssl_error","status_checked_at":"2026-01-28T07:39:24.487Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["authentication","contactless","iot","mobile-payments","nfc","relay-attack","replay-attack","security","vulnerability"],"created_at":"2026-01-28T09:39:49.301Z","updated_at":"2026-01-28T09:39:49.913Z","avatar_url":"https://github.com/gusdcoder.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Leitor Script\n\nThis repository contains a Python script for extracting and processing NFC card data using a smart card reader. The script interacts with NFC cards, parses TLV data, and generates outputs in JSON format.\n\n## Features\n\n- Connects to NFC card readers.\n- Extracts AIDs and application data from NFC cards.\n- Processes AFL and generates ARQC.\n- Parses TLV data and extracts specific tags.\n- Saves extracted data to JSON files.\n- Interactive CLI built with [Rich](https://rich.readthedocs.io/) featuring animations and selection menus.\n\n## Requirements\n\n- Python 3.7 or higher\n- `pyscard` library for smart card communication\n- A compatible NFC card reader\n\n## Installation\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/gusdnide/leitor_contactless.git\n   cd leitor_script\n   ```\n\n2. Install dependencies:\n   ```bash\n   pip install -r requirements.txt\n   ```\n\n## Usage\n\n1. Connect your NFC card reader to your computer.\n2. Run the script:\n```bash\npython extrair_nfc.py\n```\n3. Follow the on-screen instructions in the interactive CLI to select applications and dump data.\n\n## Configuration\n\nRuntime options such as output directory and default country/currency codes are stored in `config.json`. The file is created automatically on first run:\n\n```json\n{\n  \"currency_code\": \"0076\",\n  \"country_code\": \"0076\",\n  \"output_dir\": \"dumps\"\n}\n```\nEdit this file to adjust settings for your environment.\n\n## Output\n\nThe script saves the extracted data in the `dumps` directory as JSON files. Each file is named based on the card's track2 data and AID.\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n\n## Disclaimer\n\nThis script is for educational purposes only. Ensure you have permission to access and process NFC card data.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgusdcoder%2Fleitor_contactless","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgusdcoder%2Fleitor_contactless","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgusdcoder%2Fleitor_contactless/lists"}