{"id":19632057,"url":"https://github.com/mobiwn/pcap2csv","last_synced_at":"2025-09-07T07:34:53.448Z","repository":{"id":252223697,"uuid":"839726645","full_name":"Mobiwn/Pcap2CSV","owner":"Mobiwn","description":"📦 Convert PCAP network capture files to CSV format for easy analysis and reporting! 📊","archived":false,"fork":false,"pushed_at":"2024-08-10T05:55:47.000Z","size":218,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-28T06:37:01.581Z","etag":null,"topics":["csv","cybersecurity","cybersecurity-tool","network-analysis","network-traffic","pcap","pcap-converter","pcap2csv","scapy"],"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/Mobiwn.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,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-08-08T07:53:01.000Z","updated_at":"2024-08-13T08:44:35.000Z","dependencies_parsed_at":"2025-04-28T06:33:41.453Z","dependency_job_id":"e0d29746-15b1-4404-b999-8bd36aec876c","html_url":"https://github.com/Mobiwn/Pcap2CSV","commit_stats":null,"previous_names":["mobiwn/pcap2csv"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Mobiwn/Pcap2CSV","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mobiwn%2FPcap2CSV","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mobiwn%2FPcap2CSV/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mobiwn%2FPcap2CSV/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mobiwn%2FPcap2CSV/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mobiwn","download_url":"https://codeload.github.com/Mobiwn/Pcap2CSV/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mobiwn%2FPcap2CSV/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274010104,"owners_count":25206763,"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","status":"online","status_checked_at":"2025-09-07T02:00:09.463Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["csv","cybersecurity","cybersecurity-tool","network-analysis","network-traffic","pcap","pcap-converter","pcap2csv","scapy"],"created_at":"2024-11-11T12:12:46.751Z","updated_at":"2025-09-07T07:34:53.408Z","avatar_url":"https://github.com/Mobiwn.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pcap2CSV\n\n`Pcap2CSV` is a Python utility for converting packet capture (PCAP) files into CSV format. This tool allows for easy analysis of network traffic by converting detailed packet data into a structured CSV file, which can be used for further analysis or reporting. 📊\n\n## Features\n\n- 🗂️ Convert PCAP files to CSV format\n- 🌐 Support for IP, TCP, UDP, and other protocols\n- 🖥️ Simple command-line interface\n- 🧪 Includes utility scripts for generating test PCAP files\n- ✅ Unit tests to ensure code reliability\n\n## Installation\n\n1. **Clone the Repository** 🚀\n\n    ```bash\n    git clone https://github.com/mobiwn/Pcap2CSV.git\n    cd Pcap2CSV\n    ```\n\n2. **Set Up a Virtual Environment** 🏗️\n\n    ```bash\n    python -m venv venv\n    source venv/bin/activate  # On Windows, use `venv\\Scripts\\activate`\n    ```\n\n3. **Install Dependencies** 📦\n\n    ```bash\n    pip install -r requirements.txt\n    ```\n\n## Usage\n\n### Converting a PCAP File to CSV\n\nTo convert a PCAP file to CSV, use the `convert_pcap.py` script:\n\n```bash\npython scripts/convert_pcap.py \u003cpcap_file\u003e \u003ccsv_file\u003e\n```\n\n**Example:**\n\n```bash\npython scripts/convert_pcap.py tests/data/test.pcap tests/data/test.csv\n```\n\n### Generating a Test PCAP File\n\nTo generate a test PCAP file with random packets, use the `generate_test_pcap.py` script:\n\n```bash\npython scripts/generate_test_pcap.py\n```\n\nThis will generate a `test.pcap` file in the `tests/data/` directory.\n\n## Project Structure\n\nHere is the structure of the `Pcap2CSV` project as visible in GitHub:\n\n```\nPcap2CSV/\n├── .gitignore\n├── LICENSE\n├── README.md\n├── requirements.txt\n├── pcap2csv/\n│   ├── __init__.py\n│   └── converter.py\n├── scripts/\n│   ├── convert_pcap.py\n│   └── generate_test_pcap.py\n└── tests/\n    ├── __init__.py\n    ├── __pycache__/\n    ├── data/\n    └── test_converter.py\n```\n\n## Running Tests\n\nTo run the unit tests, use the following command:\n\n```bash\npython -m unittest discover -s tests\n```\n\n## Contributing\n\nContributions are welcome! Please open an issue or submit a pull request to propose changes or improvements. 🤝\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details. 📜\n\n## Contact\n\nFor any questions or support, please contact [mobin.kh15@gmail.com](mobin.kh15@gmail.com). 📧","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmobiwn%2Fpcap2csv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmobiwn%2Fpcap2csv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmobiwn%2Fpcap2csv/lists"}