{"id":13609701,"url":"https://github.com/DanMcInerney/net-creds","last_synced_at":"2025-04-12T20:32:15.585Z","repository":{"id":25497230,"uuid":"28928407","full_name":"DanMcInerney/net-creds","owner":"DanMcInerney","description":"Sniffs sensitive data from interface or pcap","archived":false,"fork":false,"pushed_at":"2023-11-02T10:46:03.000Z","size":8209,"stargazers_count":1693,"open_issues_count":8,"forks_count":438,"subscribers_count":116,"default_branch":"master","last_synced_at":"2024-10-29T17:47:44.288Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/DanMcInerney.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2015-01-07T18:47:46.000Z","updated_at":"2024-10-28T18:13:35.000Z","dependencies_parsed_at":"2024-01-03T05:09:56.351Z","dependency_job_id":"9207248c-ce26-4543-a761-677a77648b22","html_url":"https://github.com/DanMcInerney/net-creds","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanMcInerney%2Fnet-creds","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanMcInerney%2Fnet-creds/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanMcInerney%2Fnet-creds/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanMcInerney%2Fnet-creds/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DanMcInerney","download_url":"https://codeload.github.com/DanMcInerney/net-creds/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248629926,"owners_count":21136344,"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":[],"created_at":"2024-08-01T19:01:37.209Z","updated_at":"2025-04-12T20:32:14.771Z","avatar_url":"https://github.com/DanMcInerney.png","language":"Python","funding_links":[],"categories":["Python","Python (1887)","相关工具","Tools"],"sub_categories":["隐私相关领域法规/条例"],"readme":"Thoroughly sniff passwords and hashes from an interface or pcap file. Concatenates fragmented packets and does not rely on ports for service identification. \n\n| Screenshots |\n|:-----:|\n| ![Screenie1](http://imgur.com/opQo7Bb.png) |\n| ![Screenie2](http://imgur.com/Kl5I6Ju.png) |\n\n### Sniffs\n\n* URLs visited\n* POST loads sent\n* HTTP form logins/passwords\n* HTTP basic auth logins/passwords\n* HTTP searches\n* FTP logins/passwords\n* IRC logins/passwords\n* POP logins/passwords\n* IMAP logins/passwords\n* Telnet logins/passwords\n* SMTP logins/passwords\n* SNMP community string\n* NTLMv1/v2 all supported protocols: HTTP, SMB, LDAP, etc.\n* Kerberos\n\n### Examples\n\nAuto-detect the interface to sniff\n\n`sudo python net-creds.py`\n\nChoose eth0 as the interface\n\n`sudo python net-creds.py -i eth0`\n\nIgnore packets to and from 192.168.0.2\n\n`sudo python net-creds.py -f 192.168.0.2`\n\nRead from pcap\n\n`python net-creds.py -p pcapfile`\n\n\n#### OS X\n\nCredit to [epocs](https://github.com/epocs):\n\n```bash\nsudo easy_install pip\nsudo pip install scapy\nsudo pip install pcapy\nbrew install libdnet --with-python\nmkdir -p /Users/\u003cusername\u003e/Library/Python/2.7/lib/python/site-packages\necho 'import site; site.addsitedir(\"/usr/local/lib/python2.7/site-packages\")' \u003e\u003e /Users/\u003cusername\u003e/Library/Python/2.7/lib/python/site-packages/homebrew.pth\nsudo pip install pypcap\nbrew tap brona/iproute2mac\nbrew install iproute2mac\n```\n\nThen replace line 74 '/sbin/ip' with '/usr/local/bin/ip'.\n\n\n#### Thanks\n* Laurent Gaffie\n* psychomario\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FDanMcInerney%2Fnet-creds","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FDanMcInerney%2Fnet-creds","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FDanMcInerney%2Fnet-creds/lists"}