{"id":20292510,"url":"https://github.com/mauricelambert/localresolver","last_synced_at":"2025-06-19T10:36:08.267Z","repository":{"id":62576565,"uuid":"331045935","full_name":"mauricelambert/LocalResolver","owner":"mauricelambert","description":"This package implement netbios and LLMNR query tool in python and HostnameResolver command line tool.","archived":false,"fork":false,"pushed_at":"2023-04-12T11:47:27.000Z","size":46,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-04T05:13:39.555Z","etag":null,"topics":["hostname","llmnr","netbios","network","pypi-package","python3"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mauricelambert.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-01-19T16:44:44.000Z","updated_at":"2023-04-06T20:44:15.000Z","dependencies_parsed_at":"2022-11-03T19:04:36.354Z","dependency_job_id":null,"html_url":"https://github.com/mauricelambert/LocalResolver","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mauricelambert/LocalResolver","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mauricelambert%2FLocalResolver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mauricelambert%2FLocalResolver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mauricelambert%2FLocalResolver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mauricelambert%2FLocalResolver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mauricelambert","download_url":"https://codeload.github.com/mauricelambert/LocalResolver/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mauricelambert%2FLocalResolver/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260733487,"owners_count":23054269,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["hostname","llmnr","netbios","network","pypi-package","python3"],"created_at":"2024-11-14T15:17:35.749Z","updated_at":"2025-06-19T10:36:03.241Z","avatar_url":"https://github.com/mauricelambert.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"![LocalResolver logo](https://mauricelambert.github.io/info/python/code/LocalResolver_small.png \"LocalResolver logo\")\n\n# LocalResolver\n\n## Description\n\nThis package implements local hostname resolver tool with scapy (using netbios and LLMNR query).\n\nThis tool is useful to:\n - reverse lookup local IP addresses\n - resolve manually hostnames/IP from Linux or hardened Windows\n - resolve hostname with old machines (Windows 2000-2012)\n - identify:\n     - Machines with old protocols like Netbios or LLMNR,\n     - Hostname spoofer (or two machines with the same name),\n\n## Requirements\n\nThis package require: \n\n - python3\n - python3 Standard Library\n - Scapy\n - PythonToolsKit\n\n## Installation\n\n```bash\npip install LocalResolver \n```\n\n## Examples\n\n### Command lines\n\n```bash\nLocalResolver -h\nLocalResolver --retry 5 --timeout 5 --interval 2 192.168.1.2   # very long\nLocalResolver 192.168.1.3 192.168.1.2 WIN10 HOMEPC test.local\nLocalResolver --no-netbios --no-dns fe80::3317:f73e:2166:bbd8/64\nLocalResolver --no-llmnr --no-mdns fe80::3317:f73e:2166:bbd8/64\n```\n\n### Python3\n\n```python\nfrom LocalResolver import LocalResolver, resolve_local_name, resolve_local_ip\n\n[r.hostname for r in resolve_local_ip(\"192.168.5.2\")]\n[r.ip for r in resolve_local_ip(\"192.168.5.2\", retry=2, inter=1, timeout=3, netbios=True, llmnr=True, mdns=True, dns=True)]\n[(r.ip, r.source) for r in resolve_local_name(\"WIN10\")]\n[(r.ip, r.source) for r in resolve_local_name(\"HOMEPC\", retry=2, inter=1, timeout=3, netbios=True, llmnr=True, mdns=True, dns=True)]\n```\n\n## Links\n\n - [Github Page](https://github.com/mauricelambert/LocalResolver)\n - [Documentation](https://mauricelambert.github.io/info/python/code/LocalResolver.html)\n - [Download as python executable](https://mauricelambert.github.io/info/python/code/LocalResolver.pyz)\n - [Pypi package](https://pypi.org/project/LocalResolver/)\n\n## Licence\n\nLicensed under the [GPL, version 3](https://www.gnu.org/licenses/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmauricelambert%2Flocalresolver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmauricelambert%2Flocalresolver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmauricelambert%2Flocalresolver/lists"}