{"id":23954331,"url":"https://github.com/vdjagilev/nmap-formatter","last_synced_at":"2026-02-21T11:06:12.911Z","repository":{"id":38237005,"uuid":"381169911","full_name":"vdjagilev/nmap-formatter","owner":"vdjagilev","description":"A tool that allows you to convert NMAP results to html, csv, json, markdown, graphviz (dot), sqlite, excel and d2-lang. Simply put it's nmap converter.","archived":false,"fork":false,"pushed_at":"2025-12-18T17:35:09.000Z","size":452,"stargazers_count":709,"open_issues_count":1,"forks_count":57,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-12-21T20:53:00.429Z","etag":null,"topics":["bounty","csv","d2lang","go","golang","graphviz","html","json","markdown","nmap","pentesting","port-scanner","port-scanning","scan","scanner","security","security-tools","sqlite","xml","xml-parsing"],"latest_commit_sha":null,"homepage":"","language":"Go","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/vdjagilev.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":"2021-06-28T21:54:17.000Z","updated_at":"2025-12-18T17:35:06.000Z","dependencies_parsed_at":"2023-10-04T21:30:20.060Z","dependency_job_id":"8f5d1fbb-f53d-4a65-994f-369d5af153f1","html_url":"https://github.com/vdjagilev/nmap-formatter","commit_stats":{"total_commits":168,"total_committers":4,"mean_commits":42.0,"dds":"0.023809523809523836","last_synced_commit":"fe9ed0e7ca7e0024da3b973d443371a1032aa8cd"},"previous_names":[],"tags_count":33,"template":false,"template_full_name":null,"purl":"pkg:github/vdjagilev/nmap-formatter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vdjagilev%2Fnmap-formatter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vdjagilev%2Fnmap-formatter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vdjagilev%2Fnmap-formatter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vdjagilev%2Fnmap-formatter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vdjagilev","download_url":"https://codeload.github.com/vdjagilev/nmap-formatter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vdjagilev%2Fnmap-formatter/sbom","scorecard":{"id":917554,"data":{"date":"2025-08-11","repo":{"name":"github.com/vdjagilev/nmap-formatter","commit":"b36f61a8e525f8aaf87f219d56a570c762fbee79"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.2,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 0/5 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: jobLevel 'actions' permission set to 'read': .github/workflows/codeql-analysis.yml:32","Info: jobLevel 'contents' permission set to 'read': .github/workflows/codeql-analysis.yml:33","Info: jobLevel 'contents' permission set to 'read': .github/workflows/release-package.yml:15","Warn: no topLevel permission defined: .github/workflows/assets.yml:1","Warn: no topLevel permission defined: .github/workflows/codeql-analysis.yml:1","Warn: no topLevel permission defined: .github/workflows/go.yml:1","Warn: no topLevel permission defined: .github/workflows/release-package.yml:1","Warn: no topLevel permission defined: .github/workflows/release.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/assets.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/vdjagilev/nmap-formatter/assets.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/assets.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/vdjagilev/nmap-formatter/assets.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:48: update your workflow using https://app.stepsecurity.io/secureworkflow/vdjagilev/nmap-formatter/codeql-analysis.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:52: update your workflow using https://app.stepsecurity.io/secureworkflow/vdjagilev/nmap-formatter/codeql-analysis.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:63: update your workflow using https://app.stepsecurity.io/secureworkflow/vdjagilev/nmap-formatter/codeql-analysis.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:77: update your workflow using https://app.stepsecurity.io/secureworkflow/vdjagilev/nmap-formatter/codeql-analysis.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/vdjagilev/nmap-formatter/go.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/vdjagilev/nmap-formatter/go.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/go.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/vdjagilev/nmap-formatter/go.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go.yml:35: update your workflow using https://app.stepsecurity.io/secureworkflow/vdjagilev/nmap-formatter/go.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go.yml:38: update your workflow using https://app.stepsecurity.io/secureworkflow/vdjagilev/nmap-formatter/go.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go.yml:53: update your workflow using https://app.stepsecurity.io/secureworkflow/vdjagilev/nmap-formatter/go.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go.yml:56: update your workflow using https://app.stepsecurity.io/secureworkflow/vdjagilev/nmap-formatter/go.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release-package.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/vdjagilev/nmap-formatter/release-package.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release-package.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/vdjagilev/nmap-formatter/release-package.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release-package.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/vdjagilev/nmap-formatter/release-package.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release-package.yml:36: update your workflow using https://app.stepsecurity.io/secureworkflow/vdjagilev/nmap-formatter/release-package.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/vdjagilev/nmap-formatter/release.yml/main?enable=pin","Warn: containerImage not pinned by hash: Dockerfile:1","Warn: containerImage not pinned by hash: Dockerfile:9: pin your Docker image by updating alpine:3.21 to alpine:3.21@sha256:b6a6be0ff92ab6db8acd94f5d1b7a6c2f0f5d10ce3c24af348d333ac6da80685","Warn: downloadThenRun not pinned by hash: .github/workflows/go.yml:64","Info:   0 out of  13 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   5 third-party GitHubAction dependencies pinned","Info:   0 out of   2 containerImage dependencies pinned","Info:   0 out of   1 downloadThenRun dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/release-package.yml:12"],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v3.0.5 not signed: https://api.github.com/repos/vdjagilev/nmap-formatter/releases/210224596","Warn: release artifact v3.0.4 not signed: https://api.github.com/repos/vdjagilev/nmap-formatter/releases/199156592","Warn: release artifact v3.0.3 not signed: https://api.github.com/repos/vdjagilev/nmap-formatter/releases/191400776","Warn: release artifact v3.0.2 not signed: https://api.github.com/repos/vdjagilev/nmap-formatter/releases/170761757","Warn: release artifact v3.0.1 not signed: https://api.github.com/repos/vdjagilev/nmap-formatter/releases/162635790","Warn: release artifact v3.0.5 does not have provenance: https://api.github.com/repos/vdjagilev/nmap-formatter/releases/210224596","Warn: release artifact v3.0.4 does not have provenance: https://api.github.com/repos/vdjagilev/nmap-formatter/releases/199156592","Warn: release artifact v3.0.3 does not have provenance: https://api.github.com/repos/vdjagilev/nmap-formatter/releases/191400776","Warn: release artifact v3.0.2 does not have provenance: https://api.github.com/repos/vdjagilev/nmap-formatter/releases/170761757","Warn: release artifact v3.0.1 does not have provenance: https://api.github.com/repos/vdjagilev/nmap-formatter/releases/162635790"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":7,"reason":"SAST tool detected but not run on all commits","details":["Info: SAST configuration detected: CodeQL","Warn: 11 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-24T21:36:54.618Z","repository_id":38237005,"created_at":"2025-08-24T21:36:54.618Z","updated_at":"2025-08-24T21:36:54.618Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29679098,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T09:33:50.764Z","status":"ssl_error","status_checked_at":"2026-02-21T09:33:19.949Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["bounty","csv","d2lang","go","golang","graphviz","html","json","markdown","nmap","pentesting","port-scanner","port-scanning","scan","scanner","security","security-tools","sqlite","xml","xml-parsing"],"created_at":"2025-01-06T15:00:43.615Z","updated_at":"2026-02-21T11:06:12.887Z","avatar_url":"https://github.com/vdjagilev.png","language":"Go","funding_links":[],"categories":["[](#table-of-contents) Table of contents","Go"],"sub_categories":["[](#dorkspentestvulnerabilities)Dorks/Pentest/Vulnerabilities"],"readme":"# NMAP-Formatter\n\n![build status](https://github.com/vdjagilev/nmap-formatter/actions/workflows/go.yml/badge.svg)\n[![codecov](https://codecov.io/gh/vdjagilev/nmap-formatter/branch/main/graph/badge.svg?token=8WSYXRKMFA)](https://codecov.io/gh/vdjagilev/nmap-formatter)\n[![Maintainability](https://api.codeclimate.com/v1/badges/7836d3a52439fb1affa0/maintainability)](https://codeclimate.com/github/vdjagilev/nmap-formatter/maintainability)\n\n---\n\n## Examples\n\nHTML:\n![nmap-example-html](https://user-images.githubusercontent.com/2762286/166215713-02ab3e43-5e89-4f4a-b9f1-64651f2939e1.png)\nGraphviz:\n![nmap-example-graphviz](docs/images/example-dot.png)\n\nA tool that allows you to convert NMAP XML output to excel/html/csv/json/markdown/dot/sqlite/d2.\n\n## Installation\n\n```\ngo install github.com/vdjagilev/nmap-formatter/v3@latest\ncd nmap-formatter\ngo build\n```\n\nAll other options can be found on [Installation Wiki page](https://github.com/vdjagilev/nmap-formatter/wiki/Installation).\n\n## Usage\n\n```bash\nnmap-formatter [html|csv|md|json|dot|sqlite|excel|d2] [path-to-nmap.xml] [flags]\n```\n\nOr alternatively you can read file from `stdin` and parse it\n\n```bash\ncat some.xml | nmap-formatter json\n```\n\nConvert XML output to nicer HTML\n\n```bash\nnmap-formatter html [path-to-nmap.xml] \u003e some-file.html\n```\n\nor Markdown\n\n```bash\nnmap-formatter md [path-to-nmap.xml] \u003e some-markdown.md\n```\n\nor Excel\n\n```bash\nnmap-formatter excel [path-to-nmap.xml]\n```\n\nor JSON\n\n```bash\nnmap-formatter json [path-to-nmap.xml]\n# This approach is also possible\ncat nmap.xml | nmap-formatter json\n```\n\nor Graphviz (dot)\n\n```bash\ncat example.xml | nmap-formatter dot | dot -Tsvg \u003e test.svg\n# open test.svg with browser\n```\n\nor SQLite\n\n```bash\ncat example.xml | nmap-formatter sqlite --sqlite-dsn nmap.sqlite\n# open nmap.sqlite with any database tool\n```\n\nor D2 lang\n\n```bash\ncat example.xml | nmap-formatter d2 | d2 - example.png\n# Converts nmap.xml to d2 language and then to png\n```\n\nMore examples can be found on [Usage Wiki page](https://github.com/vdjagilev/nmap-formatter/wiki/Usage)\n\n### Flags\n\n- `-f, --file [filename]` outputs result to the file (by default output goes to STDOUT)\n- `--help` display help message\n- `--version` display version (also can be used: `./nmap-formatter version`)\n- `--skip-down-hosts` skip hosts that are down (by default `true`)\n\nIt's also possible to change various output options. More examples on [Usage Wiki Page - Flags](https://github.com/vdjagilev/nmap-formatter/wiki/Usage#flags-and-output-options).\n\nScreenshots of various formats available [here](https://github.com/vdjagilev/nmap-formatter/wiki/Examples)\n\n## Use as a library\n\nExamples on how to use this project as a library in golang: [Use as a library Wiki page](https://github.com/vdjagilev/nmap-formatter/wiki/Use-as-a-library)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvdjagilev%2Fnmap-formatter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvdjagilev%2Fnmap-formatter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvdjagilev%2Fnmap-formatter/lists"}