vdjagilev / nmap-formatter

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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add a separate function to check if host is up

vdjagilev opened this issue · comments

Writing everytime that .HostState == "up" is an unnecessary repetition. It should be moved to the separate function and replaced everywhere

  • Replaced in all templates
    • HTML
    • MD
  • In golang code
    • CSV
    • Excel?
    • Graphviz

https://github.com/vdjagilev/nmap-formatter/pull/156/files