Code Monkey home page Code Monkey logo

xtormin / xtremenmapparser Goto Github PK

View Code? Open in Web Editor NEW
14.0 14.0 0.0 2.99 MB

XtremeNmapParser (XNP) is a tool that takes XML files generated by Nmap and converts them into accessible and easily manipulable formats such as CSV, XLSX, and JSON. It allows processing multiple Nmap XML files, merging them into a single dataset, and exporting them in various formats.

Home Page: https://github.com/xtormin/XtremeNmapParser/wiki

License: GNU Affero General Public License v3.0

Python 100.00%
hacking hacking-tool nmap nmap-parser parser pentesting redteam

xtremenmapparser's People

Contributors

xtormin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

xtremenmapparser's Issues

Fingerprint [updated]

Ended up using the "Script{}" tag some notes !!!!

convert to splunk for HEC !!!

python3 xnp.py -d ./ -M -R --open -C all

sed -re 's/\{\"Hostname\"/\{ \"event\" : \{\"Hostname\"/g' -re 's/$/}/g' merged_nmap_scan_data.json -ibak

curl -k https://XXXXXXXXXXXXXXX.splunkcloud.com/services/collector/event -H 'Authorization: Splunk 6aXXXXXXXXXXXXccd1fb' -d @merged_nmap_scan_data.json


Splunk

index=http_hec earliest=-120d@d "Scripts{}"="*http-title*"
```|rex field=MsgId "(.*\.(?<MsgId>(.*\..*)))"```
|rex field="Scripts{}" "(.*http-title, output=(?<string1>(.*)))"
|stats count by string1
|sort -count


[update] just saw the -C all but adding a fingerprint should be easy! I plan to update this to support Splunk HEC so you can push it to splunk !

I saw this project and it would be nice to include ALL the output so I can search for it in Splunk.. as of now I create a fingerprint for each host so I can easily tell how many 'different' devices we have within the org. It would be simple for you to add the hash stuff but prob hard to get all the output from all the NSE plugins? I tried quickly to do it with python XML to JSON but it didn't look right.

This is what my fingerprint data looks like in Splunk today we have over 2K 'different' devices :P

image

REFERENCE:

Fast smart scan of ALL internal IP space :P
https://github.com/freeload101/SCRIPTS/blob/50d68482704df8dc526b4798ed31640e0da0f03e/Bash/NMAP_FRUIT.sh#L36

Fingerprint :
https://github.com/freeload101/SCRIPTS/blob/50d68482704df8dc526b4798ed31640e0da0f03e/Bash/NMAP_FRUIT.sh#L67C122-L67C129

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.