lair-framework / drone-nmap Goto Github PK
View Code? Open in Web Editor NEWParses an NMap XML file into a lair project
License: MIT License
Parses an NMap XML file into a lair project
License: MIT License
I am probably doing something wrong. I have validated that 11013 and 11014 are open and all data is from a lab environment.
I have to use the -k option because if i don't i get the following error:
root@kali:~/Downloads# drone-nmap friDNmAyY8Lh7vu3K ~/nmap_results/10.11.1.1.24.basic 2016/12/15 14:05:20 Fatal: Unable to import project. Error x509: certificate is valid for , not localhost
Configuration
root@kali:~/Downloads# uname -a Linux kali 4.6.0-kali1-amd64 #1 SMP Debian 4.6.4-1kali1 (2016-07-21) x86_64 GNU/Linux root@kali:~/Desktop# nmap -V Nmap version 7.25BETA2 ( https://nmap.org ) Platform: x86_64-pc-linux-gnu Compiled with: liblua-5.3.1 openssl-1.0.2h libpcre-8.39 nmap-libpcap-1.7.3 nmap-libdnet-1.12 ipv6 Compiled without: Available nsock engines: epoll poll select
Where it breaks
root@kali:~/Downloads# export LAIR_API_SERVER='https://admin@localhost:mysupersecretpassword@localhost:11013' root@kali:~/nmap_results# nmap -Pn -p20,21,22,23,25,80,110,123,135,139,443,445,3389 -oX 10.11.1.1.24.basic -v 10.11.1.1/24 root@kali:~/nmap_results# nmap -oX 10.11.1.1.24.basic2 -v 10.11.1.1/24 root@kali:~/Downloads# drone-nmap -k friDNmAyY8Lh7vu3 ~/nmap_results/10.11.1.1.24.basic 2016/12/15 14:00:09 Fatal: Could not unmarshal JSON. Error invalid character 'B' after top-level value
When I run:
I get:
src/github.com/lair-framework/drone-nmap/main.go:91: h.Os.OsMatch undefined (type nmap.Os has no field or method OsMatch)
src/github.com/lair-framework/drone-nmap/main.go:95: h.Os.OsMatch undefined (type nmap.Os has no field or method OsMatch)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.