MyGit

CBonnell/nmap2cherry

Fork: 2 Star: 7 (更新于 2024-11-01 07:19:16)

license: 暂无

Language: XSLT .

A hacky XSLT to convert nmap scan results into CherryTree format

GitHub网址

nmap2cherry

A hacky XSLT to convert nmap scan results into CherryTree (https://www.giuspen.com/cherrytree) format.

Example

Why?

While studying for the Offensive Security Certified Professional training, I found myself constantly manually copying nmap scan result data into CherryTree. This detracted from the learning process, as it is very tedious and time-consuming. So I wrote this little XSLT to convert nmap XML output into a format that can be readily imported into CherryTree.

How to run

  1. Do an nmap scan and specify the -oX output option so that the scan results are output to an XML file.

  2. Run an XSLT 3.0-compatible XSLT processor on the output file (I've used Saxon 9 http://saxon.sourceforge.net/ with good results), specifying the nmap2cherry XSLT and an output file with a file extension of .ctd.

    Here's an example command line invocation for Windows:

    Transform.exe -xsl:nmap2cherry.xslt -s:nmap_results.xml -o:nmap_results.ctd

    And an example for Linux (adapted from Nmap's "Creating HTML Reports" documentation page):

    java -jar saxon9.jar -xsl:nmap2cherry.xslt -s:nmap_results.xml -o:nmap_results.ctd

  3. Open the output .ctd file directly in CherryTree, or import it into an existing CherryTree document using the Nodes Import function.

Found a problem or have a feature request?

Feel free to create an issue. Pull requests are also very welcome.

最近版本更新:(数据更新于 2024-09-07 06:19:44)

CBonnell/nmap2cherry同语言 XSLT最近更新仓库

2021-05-11 18:26:59 capt-meelo/MassMap

1970-01-01 00:00:00 api0cradle/LOLBAS

1970-01-01 00:00:00 sts4i/sts4i-tools

1970-01-01 00:00:00 jgraph/drawio-docs

1970-01-01 00:00:00 DLarisa/FMI-Materials-BachelorDegree-UniBuc

1970-01-01 00:00:00 Formulae-Litterae-Chartae/FLC-Sommerschule