{"id":49247355,"url":"https://github.com/morningstarxcdcode/port-scanner","last_synced_at":"2026-04-24T22:40:59.502Z","repository":{"id":288235514,"uuid":"957713470","full_name":"morningstarxcdcode/port-scanner","owner":"morningstarxcdcode","description":"An advanced iOS app for network security and port scanning featuring real-time scanning, AI-powered predictive analysis, wireless attack simulation, AR visualization, AI security assistant, and comprehensive analytics to help users explore, analyze, and secure networks effectively.","archived":false,"fork":false,"pushed_at":"2025-12-13T16:02:41.000Z","size":114,"stargazers_count":1,"open_issues_count":9,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-15T08:51:16.404Z","etag":null,"topics":[],"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/morningstarxcdcode.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-03-31T01:55:26.000Z","updated_at":"2025-08-20T06:39:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"32019c06-8410-46fc-9120-86544adfd61b","html_url":"https://github.com/morningstarxcdcode/port-scanner","commit_stats":null,"previous_names":["morningstarxcdcode/port-scanner"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/morningstarxcdcode/port-scanner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morningstarxcdcode%2Fport-scanner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morningstarxcdcode%2Fport-scanner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morningstarxcdcode%2Fport-scanner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morningstarxcdcode%2Fport-scanner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/morningstarxcdcode","download_url":"https://codeload.github.com/morningstarxcdcode/port-scanner/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morningstarxcdcode%2Fport-scanner/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32243799,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T13:21:15.438Z","status":"ssl_error","status_checked_at":"2026-04-24T13:21:15.005Z","response_time":64,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2026-04-24T22:40:58.965Z","updated_at":"2026-04-24T22:40:59.496Z","avatar_url":"https://github.com/morningstarxcdcode.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🛡️ Advanced Port Scanner \u0026 Wireless Attack Tool\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Python-3.8+-blue.svg\" alt=\"Python 3.8+\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Platform-macOS%20%7C%20Linux%20%7C%20Windows-lightgrey\" alt=\"Platform\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Status-Active-brightgreen\" alt=\"Status\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/License-MIT-green\" alt=\"License\"\u003e\n\u003c/p\u003e\n\nA comprehensive, modular port scanner and wireless attack simulation tool designed for ethical hacking, cybersecurity education, and network security assessments.\n\n## ✨ Features\n\n- 🎯 **Advanced Port Scanning** - Multi-threaded scanning with banner grabbing and vulnerability detection\n- 🖥️ **GUI \u0026 CLI Interfaces** - Both graphical and command-line interfaces available\n- 📡 **Wireless Attack Simulation** - Educational wireless security testing modules\n- 🌐 **Shodan Integration** - Real-time threat intelligence via Shodan API\n- 📊 **Report Generation** - Automated JSON reports with scan results\n- 🔄 **Auto Scan Mode** - Comprehensive automated scanning workflows\n- 🧵 **Multi-threading** - Fast concurrent scanning capabilities\n- 🛡️ **Error Handling** - Robust error handling and graceful failures\n\n## 🚀 Quick Start\n\n### Installation\n\n1. **Clone the repository:**\n   ```bash\n   git clone https://github.com/morningstarxcdcode/port-scanner.git\n   cd port-scanner\n   ```\n\n2. **Install dependencies:**\n   ```bash\n   pip install -r requirements.txt\n   ```\n\n3. **For GUI support (optional):**\n   ```bash\n   # Ubuntu/Debian\n   sudo apt-get install python3-tk\n   \n   # CentOS/RHEL  \n   sudo yum install tkinter\n   \n   # macOS (with Homebrew)\n   brew install python-tk\n   ```\n\n### Usage\n\n#### Command Line Interface\n\n```bash\n# Basic port scan\npython3 main.py --target 192.168.1.1 --ports 22,80,443\n\n# Range scanning\npython3 main.py --target 192.168.1.1 --ports 1-1000\n\n# Wireless attack simulation\npython3 main.py --target 192.168.1.1 --wireless-attack\n\n# GUI mode\npython3 main.py --mode gui\n```\n\n#### Demo Mode\n\nRun the interactive demo to see all features:\n\n```bash\n# Run all demos\npython3 demo.py\n\n# Interactive mode\npython3 demo.py --interactive\n```\n\n## 📁 Project Structure\n\n```\nport-scanner/\n├── main.py                    # Main entry point\n├── demo.py                    # Feature demonstration script\n├── gui.py                     # GUI interface\n├── scanner/                   # Core scanning modules\n│   ├── __init__.py\n│   └── port_scanner.py       # Advanced port scanning logic\n├── wireless/                  # Wireless attack simulations\n│   ├── __init__.py\n│   └── wireless_attacks.py\n├── integrations/             # Third-party integrations\n│   ├── __init__.py\n│   └── shodan_integration.py # Shodan API integration\n├── reports/                  # Report generation\n│   ├── __init__.py\n│   └── report_generator.py\n├── utils/                    # Utility modules\n│   ├── __init__.py\n│   └── logger.py            # Logging configuration\n├── tests/                    # Unit tests\n│   └── test_port_scanner.py\n├── .github/workflows/        # CI/CD workflows\n│   ├── ci.yml\n│   └── release.yml\n├── requirements.txt          # Python dependencies\n├── setup.py                 # Package setup\n└── README.md\n```\n\n## 🔧 Configuration\n\n### Environment Variables\n\n- `SHODAN_API_KEY` - Your Shodan API key for real threat intelligence\n\n### API Keys\n\nTo use Shodan integration:\n\n1. Sign up at [shodan.io](https://shodan.io)\n2. Get your API key\n3. Set environment variable:\n   ```bash\n   export SHODAN_API_KEY=\"your_api_key_here\"\n   ```\n\n## 📊 Examples\n\n### Port Scanning\n\n```python\nfrom scanner.port_scanner import run_scan\n\n# Scan specific ports\nrun_scan(\"192.168.1.1\", \"22,80,443,8080\")\n\n# Scan port range  \nrun_scan(\"192.168.1.1\", \"1-1000\")\n```\n\n### Report Generation\n\n```python\nfrom reports.report_generator import generate_report\n\nresults = [\n    {\"port\": 22, \"status\": \"open\", \"service\": \"SSH\"},\n    {\"port\": 80, \"status\": \"open\", \"service\": \"HTTP\"}\n]\ngenerate_report(results, \"scan_results.json\")\n```\n\n### Auto Scan\n\n```python\nfrom auto_scan import run_auto_scan\n\n# Comprehensive scan with all modules\nrun_auto_scan(\"192.168.1.1\", \"1-1000\", wireless=True)\n```\n\n## 🧪 Testing\n\nRun the test suite:\n\n```bash\n# All tests\npython -m unittest discover tests/ -v\n\n# Specific test\npython -m unittest tests.test_port_scanner -v\n```\n\n## 🛠️ Development\n\n### Adding New Features\n\n1. Create feature branch\n2. Add tests in `tests/`\n3. Implement feature\n4. Update documentation\n5. Submit pull request\n\n### Code Style\n\n- Follow PEP 8\n- Use type hints\n- Add docstrings\n- Include error handling\n\n## 🔒 Security \u0026 Ethics\n\nThis tool is designed for:\n- ✅ Educational purposes\n- ✅ Authorized penetration testing\n- ✅ Security research on owned systems\n- ✅ Network administration\n\n**DO NOT** use for:\n- ❌ Unauthorized scanning\n- ❌ Malicious activities\n- ❌ Attacking systems you don't own\n\n## 📜 License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## 🤝 Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n1. Fork the project\n2. Create your feature branch (`git checkout -b feature/AmazingFeature`)\n3. Commit your changes (`git commit -m 'Add some AmazingFeature'`)\n4. Push to the branch (`git push origin feature/AmazingFeature`)\n5. Open a Pull Request\n\n## 📞 Support\n\nIf you encounter any issues or have questions:\n\n1. Check the [Issues](https://github.com/morningstarxcdcode/port-scanner/issues) page\n2. Create a new issue if needed\n3. Provide detailed information about the problem\n\n## 🙏 Acknowledgments\n\n- Built with Python and open-source libraries\n- Shodan API for threat intelligence\n- The cybersecurity community for inspiration and guidance\n\n---\n\n\u003cp align=\"center\"\u003e\n  Made with ❤️ by \u003ca href=\"https://github.com/morningstarxcdcode\"\u003emorningstarxcdcode\u003c/a\u003e\n\u003c/p\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmorningstarxcdcode%2Fport-scanner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmorningstarxcdcode%2Fport-scanner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmorningstarxcdcode%2Fport-scanner/lists"}