{"id":13958983,"url":"https://github.com/deiv/driftnet","last_synced_at":"2025-04-04T23:08:24.878Z","repository":{"id":3986224,"uuid":"5082119","full_name":"deiv/driftnet","owner":"deiv","description":" Driftnet watches network traffic, and picks out and displays JPEG and GIF images for display","archived":false,"fork":false,"pushed_at":"2024-04-20T18:55:11.000Z","size":6453,"stargazers_count":450,"open_issues_count":14,"forks_count":54,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-03-28T22:12:32.305Z","etag":null,"topics":["driftnet","network","sniffer"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/deiv.png","metadata":{"files":{"readme":"README.md","changelog":"Changelog","contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2012-07-17T13:18:51.000Z","updated_at":"2025-03-20T07:20:18.000Z","dependencies_parsed_at":"2024-04-20T19:48:30.774Z","dependency_job_id":null,"html_url":"https://github.com/deiv/driftnet","commit_stats":{"total_commits":229,"total_committers":9,"mean_commits":"25.444444444444443","dds":"0.36244541484716153","last_synced_commit":"3c5fb16422e2dfdaf72b85ad34c9073ec54151d2"},"previous_names":[],"tags_count":26,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deiv%2Fdriftnet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deiv%2Fdriftnet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deiv%2Fdriftnet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deiv%2Fdriftnet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deiv","download_url":"https://codeload.github.com/deiv/driftnet/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247261606,"owners_count":20910108,"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":["driftnet","network","sniffer"],"created_at":"2024-08-08T13:02:22.959Z","updated_at":"2025-04-04T23:08:24.847Z","avatar_url":"https://github.com/deiv.png","language":"C","funding_links":["https://www.patreon.com/bePatron?u=13707009"],"categories":["其他"],"sub_categories":["网络服务_其他"],"readme":"\nDriftnet\n========\n\n[![release](https://img.shields.io/github/release/deiv/driftnet.svg)](https://github.com/deiv/driftnet/releases)\n[![version](https://img.shields.io/github/release-date/deiv/driftnet.svg)](https://github.com/deiv/driftnet/releases)\n[![license](https://img.shields.io/github/license/deiv/driftnet.svg)](https://github.com/deiv/driftnet/blob/master/COPYING)\n[![IDE](https://img.shields.io/badge/IDE-CLion-00AA00.svg)](https://www.jetbrains.com/clion/?from=driftnet)\n[![Refactored](https://img.shields.io/badge/Refactored%20with-Structure101-8A2BE2.svg)](https://structure101.com/)\n[![CircleCI](https://img.shields.io/circleci/project/github/deiv/driftnet/master.svg?colorB=CEC109)](https://circleci.com/gh/deiv/driftnet/tree/master)\n[![codecov](https://codecov.io/gh/deiv/driftnet/branch/master/graph/badge.svg)](https://codecov.io/gh/deiv/driftnet)\n[![jProfiler](https://img.shields.io/static/v1?label=profiler\u0026message=JProfiler\u0026color=0993e2)](https://www.ej-technologies.com/products/jprofiler/overview.html)\n[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fdeiv%2Fdriftnet.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Fdeiv%2Fdriftnet?ref=badge_shield)\n\nDriftnet watches network traffic, and picks out and displays JPEG, GIF and other image formats for display. It is a horrific invasion of privacy and shouldn't be used by anyone anywhere. It can also extract MPEG audio data from the network and play it. If you live in a house with thick walls, this may be a useful way to find out about your neighbours' musical taste.\n\nNews\n------------\n\n    Added option to delay between reading packets from dump file\n    Deprecate GTK2\n    Migrate display to GKT3 (GTK2 still supported)\n    Added WebP image format support\n    Added new, http and websockets based, display\n    Added basic windows support (cygwin)\n    Added option to list capture interfaces\n    Added support for putting the interface in monitor mode\n\nDependencies\n------------\n\n\n## Unix\n\nYou will need:\n* [libpcap](https://sourceforge.net/projects/libpcap/)\n* [libjpeg](http://libjpeg.sourceforge.net/)\n* [libungif](http://directory.fsf.org/wiki/Libungif)\n* [libpng](http://www.libpng.org/pub/png/libpng.html)\n* [libwebp](https://developers.google.com/speed/webp/)\n* [libwebsockets](https://libwebsockets.org/) (if you want the http server)\n* [libgtk](https://www.gtk.org/) (if you want the GTK display)\n\nOn most Linux distributions (APT based) these can be installed by executing `sudo apt-get install libpcap-dev libjpeg-dev libpng-dev libgif-dev libwebp-dev`. If you don't want a version of driftnet which will display images itself, but just want  to use it to gather images for some other application, you only need `libpcap`. See comments in the Makefile for more information. To play MPEG audio, you need an MPEG player. By default, driftnet will use [mpg123](http://www.mpg123.de/).\n\n### GTK display\n\nDriftnet links by default against GTK 3 (GTK2 is still supported disabling GTK3 in the configure script `./configure --disable-gtk3`).\n\n- GTK3 dependencies: `sudo apt-get install libgtk-3-dev`\n- GTK2 dependencies: `sudo apt-get install libgtk2.0-dev`\n\n### HTTP display\n\nInstead of the GTK interface you can use a new HTML based one (the display could be selected at launch time).\n\nDependencies: `sudo apt-get install libwebsockets-dev`\n\n## Windows (on cygwin)\n\nYou will need:\n* [libwinpcap](http://www.winpcap.org/devel.htm)\n* ~~[libjpeg](http://libjpeg.sourceforge.net/)~~\n* ~~[libungif](http://directory.fsf.org/wiki/Libungif)~~\n* ~~[libpng](http://www.libpng.org/pub/png/libpng.html)~~\n* ~~[libwebp](https://developers.google.com/speed/webp/)~~\n\nOnly 32 bits builds are supported (libwinpcap did not provide a x64 library). You should pass a x86 compiler to configure:\n`./configure --target=i686-pc-cygwin --host=i686-pc-cygwin`\n\nCompilation\n------------\nTo compile, generate the needed autotools files with `autoreconf -fi` (you probably need to install autotools) then run `./configure; make; make install`. Driftnet is at a very early stage of development and probably won't work for you at all.\n\nUsage\n-----\nDriftnet needs to run with sufficient privilege to obtain raw packets from the network. On most systems, this means running it as root.\n\nYou can use Driftnet to sniff images passing over a wireless network. However, Driftnet does not understand the optional WEP encryption used with wireless ethernet. Instead, you can use [Kismet](http://www.kismetwireless.net/) to decrypt packets and pass them into a named pipe; the -f option can then be used to have Driftnet read the packets from the pipe. Thanks to Rob Timko and\nJoshua Wright for pointing this out; [Rob's page](http://68.38.68.127:81/writings/driftnet.html) describes the process in greater detail.\n\nIf you find this program entertaining, you might want to help me develop it.\nThe TODO file contains a list of yet-to-be-done ideas.\n\n## License\n\nDriftnet is licensed under the GNU GPL. See the file COPYING in the distribution.\n\nThanks\n------------\n+ [Jetbrains](https://www.jetbrains.com) for his marvelous IDE [CLion](https://www.jetbrains.com/clion/)\n+ **Headway Software Technologies Ltd** and their fantastic refactor tool [Structure101](https://structure101.com/)\n+ All the [contributors](https://github.com/deiv/driftnet/graphs/contributors) \n\nSupport development\n------------\n\nIf you interested in this software (or other FOSS activities I do), \n\u003ca href=\"https://www.patreon.com/bePatron?u=13707009\" data-patreon-widget-type=\"become-patron-button\"\u003eget on board and become a Patron!\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeiv%2Fdriftnet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeiv%2Fdriftnet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeiv%2Fdriftnet/lists"}