62 Commits

Author SHA1 Message Date
guanana
afecb475a5 __init__.py: Improve tag checking (With the previous version of check wasn't working, don't know if it was dependant on old Netbox version)
nmap.py: Add extra function to improve DNS resolution since nmap is not always consistent
2020-12-15 01:27:34 +00:00
guanana
14335e4960 Update unittest for nmap module 2020-12-13 20:25:14 +00:00
guanana
5e23996d41 Update README.md with new instructions 2020-12-13 20:07:59 +00:00
guanana
8bfaf2d7d5 netbox-scanner.conf:
Add networks path
netbox-scanner.py:
  Add dir_config option
  Read networks file
networks.txt:
  Move to expected location and added some examples
nmap.py:
  Use of nmap library to simplify nmap scan
requirements.txt:
  Update requirements.txt with nmap library and update other libraries to latest compatible version
2020-12-13 04:45:07 +00:00
José Lopes
af65c25277 Merge branch 'bile0026-master'
merging code improvements and v2.9 support
2020-11-25 14:19:06 -03:00
José Lopes
b1ad076413 Merge branch 'master' of https://github.com/bile0026/netbox-scanner into bile0026-master 2020-11-25 14:17:44 -03:00
biles0026
5a6a5a0277 change ssl_verify to tls_verify 2020-11-24 09:38:01 -06:00
bile0026
0e8be21719 fix formatting 2020-11-23 21:58:56 -06:00
bile0026
ed5a3c563f update nmap flags 2020-11-23 21:52:16 -06:00
bile0026
b09feca209 use arg passed in to determine what importers to run 2020-11-23 21:45:25 -06:00
bile0026
25f17b1101 fixed tags for netbox 2.9 2020-11-23 21:26:40 -06:00
bile0026
aa51c21419 remove unnecessary print statements 2020-11-23 20:53:43 -06:00
bile0026
95fbba2c79 update sample to use networks.txt by default 2020-11-23 20:34:31 -06:00
bile0026
354af84dbd sample file for large number of subnets 2020-11-23 20:34:10 -06:00
bile0026
cdb6fa5c0a update instructions for ssl_verify 2020-11-23 20:33:56 -06:00
biles0026
7a417a3c28 update file name 2020-11-23 12:51:08 -06:00
biles0026
c4e16efd4d adjust IP address creation. removed tags, dns_name 2020-11-23 12:50:39 -06:00
biles0026
7a7e8b6baa ignore extra files 2020-11-23 12:50:15 -06:00
José Lopes
6569da7cb8
Merge pull request #22 from ndom91/master
README + netbox 2.9.x compatability (tagging not supported yet)
2020-11-16 14:18:35 -03:00
ndom91
29d07e1ab2 chore: more cleanup 2020-11-16 17:11:20 +01:00
ndom91
c74a875408 update: README + netbox 2.9.x compatability 2020-11-16 17:02:25 +01:00
bile0026
79f06166da add dns name 2020-11-10 21:32:38 -06:00
bile0026
8dc40a7534 add ssl_verify parameter to disable ssl verification for testing 2020-11-10 19:45:38 -06:00
bile0026
8a842d3c5f bunch of testing stuff 2020-11-10 07:45:20 -06:00
José Lopes
9bca20b010 new module: netxms 2020-06-15 20:12:08 -03:00
José Lopes
03a90b6239 added prime module v2 2020-05-28 17:22:14 -03:00
José Lopes
7c88cbf295 implemented basic tests 2020-05-27 20:58:09 -03:00
José Lopes
cb29536a4c garbage collector implemented 2020-05-27 18:48:51 -03:00
José Lopes
55c7c7934e started version 2.0 2020-05-27 17:22:50 -03:00
José Lopes
438016caea
Merge pull request #10 from lopes/dependabot/pip/urllib3-1.24.2
Bump urllib3 from 1.24.1 to 1.24.2
2020-05-26 17:51:08 -03:00
dependabot[bot]
ffe58477e8
Bump urllib3 from 1.24.1 to 1.24.2
Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.24.1 to 1.24.2.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/master/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/1.24.1...1.24.2)

Signed-off-by: dependabot[bot] <support@github.com>
2019-10-21 17:08:13 +00:00
José Lopes
02d573d4fa
Merge pull request #5 from roterschnee/master
Check for existing IP´s in netbox in sync_network
2019-05-13 23:53:06 -03:00
roterschnee
0b03893204 Check for IP existence in netbox before blind deletion 2019-05-13 11:41:12 +02:00
José Lopes
867652b3b2 requirements updated 2019-04-04 14:46:57 -03:00
José Lopes
4a5c66a8be new script name: nbscanner 2018-10-29 15:20:08 -03:00
José Lopes
28c79221a4 readme improved 2018-10-26 10:32:49 -03:00
José Lopes
518d5b92de can import csv files 2018-10-24 15:32:05 -03:00
José Lopes
ff062e72e7 minor code improvements 2018-10-24 14:44:54 -03:00
José Lopes
1de0ce0340 new way to read user parameters 2018-10-24 12:36:13 -03:00
José Lopes
96e16e30fc added method to retrieve list of netbox prefixes 2018-10-10 15:57:02 -03:00
José Lopes
e0da9eb354 bugfix: CPE 2.3 not implemented 2018-10-09 12:41:14 -03:00
José Lopes
6b57c0a080 bugfix in host creation 2018-10-08 10:37:29 -03:00
José Lopes
f9833a65ba added network parsing 2018-10-05 17:42:30 -03:00
José Lopes
9bea9ffa3d new exception handled 2018-10-04 16:01:57 -03:00
José Lopes
e2e44cd79a added timeout in nmap scan 2018-10-04 12:49:40 -03:00
José Lopes
84f4cdf67f improved code organization and documentation 2018-10-03 13:32:48 -03:00
José Lopes
44b2cd7a10 bugfix on deletion routine 2018-10-01 17:27:17 -03:00
José Lopes
7ba9116d3e bugfixes 2018-09-27 15:31:29 -03:00
José Lopes
5c97c3dfdd using paramiko to get hostnames 2018-09-27 11:34:43 -03:00
José Lopes
c4a78cf5ab minor changes 2018-09-26 15:20:36 -03:00