{"id":29287490,"url":"https://github.com/lpcodes/simple-port-scanner","last_synced_at":"2025-07-06T01:40:36.432Z","repository":{"id":302894865,"uuid":"1013872860","full_name":"LpCodes/Simple-Port-Scanner","owner":"LpCodes","description":null,"archived":false,"fork":false,"pushed_at":"2025-07-04T15:59:07.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-04T16:56:07.751Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LpCodes.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":"2025-07-04T15:55:54.000Z","updated_at":"2025-07-04T15:59:11.000Z","dependencies_parsed_at":"2025-07-04T17:06:20.269Z","dependency_job_id":null,"html_url":"https://github.com/LpCodes/Simple-Port-Scanner","commit_stats":null,"previous_names":["lpcodes/simple-port-scanner"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/LpCodes/Simple-Port-Scanner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LpCodes%2FSimple-Port-Scanner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LpCodes%2FSimple-Port-Scanner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LpCodes%2FSimple-Port-Scanner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LpCodes%2FSimple-Port-Scanner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LpCodes","download_url":"https://codeload.github.com/LpCodes/Simple-Port-Scanner/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LpCodes%2FSimple-Port-Scanner/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263837080,"owners_count":23517922,"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":"2025-07-06T01:40:32.229Z","updated_at":"2025-07-06T01:40:36.396Z","avatar_url":"https://github.com/LpCodes.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple Port Scanner\r\n\r\nA lightweight Python-based port scanner for cybersecurity reconnaissance. Scans a target IP for open ports within a specified range and saves results to a JSON file. Ideal for learning about network security and ethical hacking.\r\n\r\n## Features\r\n\r\nScans a target IP for open ports in a user-defined range\r\nSaves scan results to scan_results.json\r\nBasic input validation for IP and port range\r\nSimple, procedural code without classes\r\nHandles interruptions gracefully\r\n\r\n##  Requirements\r\n\r\nPython 3.6+\r\nNo external dependencies\r\n\r\n##  Installation\r\n\r\nClone the repository:git clone \u003cyour-repo-url\u003e\r\ncd port-scanner\r\n\r\n\r\nRun the script:python port_scanner.py\r\n\r\n\r\n\r\n## Usage\r\nRun the script and follow the prompts:\r\n\r\nEnter the target IP address (e.g., 192.168.1.1 or a public IP like scanme.nmap.org for testing).\r\nSpecify the start and end ports (e.g., 1-1024).\r\nThe scanner will check each port and report if it’s open or closed.\r\nResults are saved to scan_results.json.\r\n\r\n## Important: Only scan hosts you have permission to test. Unauthorized scanning may be illegal.\r\nExample\r\n$ python port_scanner.py\r\nSimple Port Scanner\r\nEnter target IP address: scanme.nmap.org\r\nEnter start port (1-65535): 20\r\nEnter end port (1-65535): 80\r\nScanning scanme.nmap.org from port 20 to 80...\r\nPort 20: CLOSED\r\nPort 21: CLOSED\r\nPort 22: OPEN\r\nPort 23: CLOSED\r\n...\r\nPort 80: OPEN\r\n\r\nOpen ports: [22, 80]\r\nResults saved to scan_results.json\r\n\r\n##  Contributing\r\nFeel free to fork the repository and submit pull requests for improvements, such as adding multi-threading, custom port lists, or enhanced output formats.\r\n\r\n## License\r\nMIT License\r\n\r\n## Disclaimer\r\nThis tool is for educational purposes only. Use it responsibly and only on systems you have explicit permission to scan. Unauthorized port scanning is illegal in many jurisdictions.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flpcodes%2Fsimple-port-scanner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flpcodes%2Fsimple-port-scanner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flpcodes%2Fsimple-port-scanner/lists"}