{"id":20915026,"url":"https://github.com/1-5pool/nmap-to-cherrytree","last_synced_at":"2025-06-25T19:32:50.500Z","repository":{"id":248424187,"uuid":"828640159","full_name":"1-5Pool/nmap-to-cherrytree","owner":"1-5Pool","description":"Converts autorecon results (nmap.xml) to cherrytree .ctd format","archived":false,"fork":false,"pushed_at":"2024-07-14T19:02:15.000Z","size":232,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-12T23:13:46.950Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/1-5Pool.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-14T18:45:24.000Z","updated_at":"2024-07-14T19:02:18.000Z","dependencies_parsed_at":"2024-07-14T20:19:26.999Z","dependency_job_id":null,"html_url":"https://github.com/1-5Pool/nmap-to-cherrytree","commit_stats":null,"previous_names":["1-5pool/nmap-to-cherrytree"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/1-5Pool/nmap-to-cherrytree","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1-5Pool%2Fnmap-to-cherrytree","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1-5Pool%2Fnmap-to-cherrytree/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1-5Pool%2Fnmap-to-cherrytree/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1-5Pool%2Fnmap-to-cherrytree/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/1-5Pool","download_url":"https://codeload.github.com/1-5Pool/nmap-to-cherrytree/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1-5Pool%2Fnmap-to-cherrytree/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261940791,"owners_count":23233603,"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-11-18T16:12:40.685Z","updated_at":"2025-06-25T19:32:50.473Z","avatar_url":"https://github.com/1-5Pool.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AutoRecon Nmap XML output to CherryTree Converter\n\nThis Python script converts Nmap XML output to a CherryTree (.ctd) file format. It processes both TCP and UDP scan results, combining them into a single, easy-to-navigate CherryTree document.\n\n## Features\n\n- Converts Nmap XML output to CherryTree format\n- Handles both TCP and UDP scan results\n- Automatically searches for and includes UDP scan results\n- Organizes scan results by IP address, with separate sections for TCP and UDP ports\n- Includes OS detection results, port states, services, and script outputs\n\n## Requirements\n\n- Python 3.6 or higher\n- xml.etree.ElementTree\n- os\n- glob\n- sys\n\nThese are all standard Python libraries and should be available in most Python installations.\n\n## Usage\n\n1. Clone the repository:\ngit clone https://github.com/1-5Pool/nmap-to-cherrytree.git\n\n2. Run the below command :\npython3 nmap_to_cherrytree.py /path/to/your/fulltcp_nmap.xml\n\nThe script will automatically look for a corresponding UDP scan file named `*top*100_udp_nmap.xml` in the same directory.\n\n3. The output will be saved as `output.ctd` in the same directory as the input file.\n\n## Output\n\nThe script generates a CherryTree file with the following structure:\n\n- Root node (IP address)\n- OS Detection (if available)\n- TCP Ports\n - Port nodes (e.g., 22/tcp - ssh)\n   - Banner information\n   - Script outputs\n- UDP Ports\n - Port nodes (e.g., 53/udp - domain)\n   - Banner information\n   - Script outputs\n\n## License\n\n[MIT](https://choosealicense.com/licenses/mit/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F1-5pool%2Fnmap-to-cherrytree","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F1-5pool%2Fnmap-to-cherrytree","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F1-5pool%2Fnmap-to-cherrytree/lists"}