{"id":13775366,"url":"https://github.com/z4ziggy/esp8266_pcap_serial","last_synced_at":"2025-05-11T07:32:29.338Z","repository":{"id":139505636,"uuid":"183778407","full_name":"z4ziggy/esp8266_pcap_serial","owner":"z4ziggy","description":"ESP8266 Sniffer sketch which outputs PCAP data via Serial.","archived":false,"fork":false,"pushed_at":"2019-04-27T14:17:55.000Z","size":26838,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-17T10:39:46.813Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/z4ziggy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2019-04-27T13:47:06.000Z","updated_at":"2022-09-27T06:17:25.000Z","dependencies_parsed_at":"2024-01-07T01:17:50.980Z","dependency_job_id":"a60c836b-8ab6-4f74-aed0-c9c164923984","html_url":"https://github.com/z4ziggy/esp8266_pcap_serial","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/z4ziggy%2Fesp8266_pcap_serial","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z4ziggy%2Fesp8266_pcap_serial/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z4ziggy%2Fesp8266_pcap_serial/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z4ziggy%2Fesp8266_pcap_serial/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/z4ziggy","download_url":"https://codeload.github.com/z4ziggy/esp8266_pcap_serial/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253533991,"owners_count":21923515,"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-03T17:01:37.519Z","updated_at":"2025-05-11T07:32:27.328Z","avatar_url":"https://github.com/z4ziggy.png","language":"C++","funding_links":[],"categories":["\u003ca id=\"f13469c9891173804423be4403b2c4ff\"\u003e\u003c/a\u003epcap"],"sub_categories":["\u003ca id=\"eb49514924c3f4bf2acf6f3a4436af13\"\u003e\u003c/a\u003e未分类"],"readme":"![](wireshark.gif)\n\n# ESP8266 PCAP Sniffer\n\nESP8266 Sniffer sketch which outputs PCAP data via Serial. Max packet size is\n128 bytes. Use the sniffer to stream 802.11 packets from ESP8266 to Wireshark\nor dump into a PCAP file.\n\n## Overview\n\nA fork of [esp8266_pcap_serial](https://github.com/spacehuhn/ArduinoPcap/blob/master/examples/esp8266_pcap_serial/esp8266_pcap_serial.ino) which strips out wifi_pkt_rx_ctrl_t struct before\nstreaming to wireshark. It still streams up to 128 bytes only, since this is a\nSDK limitation. For unlimited buffer size, refer to my ESP_RTOS sniffer.\n\nTo use this sniffer, flash the ESP8266 with this sketch, run the SerialShark.py \nscript, and reset the ESP8266 to start sniffing.\n \n**Note:** Only 802.11 packets are sniffed atm. Change to your liking.\n\n## Compile \u0026 Flash\n\nLoad the sketch to your Arduino IDE and flash your ESP8266-based device. You\nmust install ArduinoPcap library first.\n\nRun `SerialShark.py` to forward the PCAP stream from the ESP8266 to Wireshark:\n\n```sh\n~/Arduino/libraries/ArduinoPcap/extras/SerialShark.py\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fz4ziggy%2Fesp8266_pcap_serial","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fz4ziggy%2Fesp8266_pcap_serial","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fz4ziggy%2Fesp8266_pcap_serial/lists"}