From bfa42491e74e88cf34ab5e38033e56bc4d18246d Mon Sep 17 00:00:00 2001 From: snoop Date: Thu, 26 Apr 2018 14:28:21 +0900 Subject: [PATCH] test discovery result -> create infra --- src/test/resources/2018-04-25-tds.json | 1 + 1 file changed, 1 insertion(+) create mode 100644 src/test/resources/2018-04-25-tds.json diff --git a/src/test/resources/2018-04-25-tds.json b/src/test/resources/2018-04-25-tds.json new file mode 100644 index 0000000..69a94b9 --- /dev/null +++ b/src/test/resources/2018-04-25-tds.json @@ -0,0 +1 @@ +[{"id":0,"ip":"192.168.1.10","mac":"d0:50:99:97:5d:99","os":null,"discoveredDate":-62135596800000,"zone":null,"ports":{},"portList":[{"id":0,"portType":null,"portNumber":22,"discoveredDate":-62135596800000,"host":null,"services":{},"serviceList":[{"id":0,"cryptoType":null,"serviceName":"SSH","discoveredDate":-62135596800000,"port":null}]},{"id":0,"portType":null,"portNumber":80,"discoveredDate":-62135596800000,"host":null}]},{"id":0,"ip":"192.168.1.50","mac":"6c:f0:49:7a:60:68","os":null,"discoveredDate":-62135596800000,"zone":null,"ports":{},"portList":[{"id":0,"portType":null,"portNumber":22,"discoveredDate":-62135596800000,"host":null,"services":{},"serviceList":[{"id":0,"cryptoType":null,"serviceName":"SSH","discoveredDate":-62135596800000,"port":null}]}]},{"id":0,"ip":"192.168.1.203","mac":"a8:e5:39:5b:c9:62","os":null,"discoveredDate":-62135596800000,"zone":null,"ports":{},"portList":[{"id":0,"portType":null,"portNumber":161,"discoveredDate":-62135596800000,"host":null,"services":{},"serviceList":[{"id":0,"cryptoType":null,"serviceName":"SNMP_V2","discoveredDate":-62135596800000,"port":null}]},{"id":0,"portType":null,"portNumber":88,"discoveredDate":-62135596800000,"host":null}]},{"id":0,"ip":"192.168.1.206","mac":"30:9c:23:15:a3:09","os":null,"discoveredDate":-62135596800000,"zone":null,"ports":{},"portList":[{"id":0,"portType":null,"portNumber":80,"discoveredDate":-62135596800000,"host":null}]},{"id":0,"ip":"192.168.1.101","mac":"44:8a:5b:f1:f1:f3","os":null,"discoveredDate":-62135596800000,"zone":null,"ports":{},"portList":[{"id":0,"portType":null,"portNumber":139,"discoveredDate":-62135596800000,"host":null}]},{"id":0,"ip":"192.168.1.211","mac":"08:00:27:65:8d:13","os":null,"discoveredDate":-62135596800000,"zone":null,"ports":{},"portList":[{"id":0,"portType":null,"portNumber":22,"discoveredDate":-62135596800000,"host":null,"services":{},"serviceList":[{"id":0,"cryptoType":null,"serviceName":"SSH","discoveredDate":-62135596800000,"port":null}]},{"id":0,"portType":null,"portNumber":80,"discoveredDate":-62135596800000,"host":null}]},{"id":0,"ip":"192.168.1.16","mac":"00:19:b9:19:7e:c7","os":null,"discoveredDate":-62135596800000,"zone":null,"ports":{},"portList":[{"id":0,"portType":null,"portNumber":22,"discoveredDate":-62135596800000,"host":null,"services":{},"serviceList":[{"id":0,"cryptoType":null,"serviceName":"SSH","discoveredDate":-62135596800000,"port":null}]}]},{"id":0,"ip":"192.168.1.102","mac":"44:8a:5b:f1:f2:d3","os":null,"discoveredDate":-62135596800000,"zone":null,"ports":{},"portList":[{"id":0,"portType":null,"portNumber":135,"discoveredDate":-62135596800000,"host":null},{"id":0,"portType":null,"portNumber":139,"discoveredDate":-62135596800000,"host":null}]},{"id":0,"ip":"192.168.1.15","mac":"00:19:b9:35:8e:a6","os":null,"discoveredDate":-62135596800000,"zone":null,"ports":{},"portList":[{"id":0,"portType":null,"portNumber":22,"discoveredDate":-62135596800000,"host":null},{"id":0,"portType":null,"portNumber":25,"discoveredDate":-62135596800000,"host":null,"services":{},"serviceList":[{"id":0,"cryptoType":null,"serviceName":"SMTP","discoveredDate":-62135596800000,"port":null}]},{"id":0,"portType":null,"portNumber":110,"discoveredDate":-62135596800000,"host":null,"services":{},"serviceList":[{"id":0,"cryptoType":null,"serviceName":"POP3","discoveredDate":-62135596800000,"port":null}]},{"id":0,"portType":null,"portNumber":143,"discoveredDate":-62135596800000,"host":null,"services":{},"serviceList":[{"id":0,"cryptoType":null,"serviceName":"IMAP","discoveredDate":-62135596800000,"port":null}]}]},{"id":0,"ip":"192.168.1.254","mac":"64:e5:99:63:e7:80","os":null,"discoveredDate":-62135596800000,"zone":null,"ports":{},"portList":[{"id":0,"portType":null,"portNumber":53,"discoveredDate":-62135596800000,"host":null,"services":{},"serviceList":[{"id":0,"cryptoType":null,"serviceName":"DNS","discoveredDate":-62135596800000,"port":null}]},{"id":0,"portType":null,"portNumber":161,"discoveredDate":-62135596800000,"host":null,"services":{},"serviceList":[{"id":0,"cryptoType":null,"serviceName":"SNMP_V3","discoveredDate":-62135596800000,"port":null}]},{"id":0,"portType":null,"portNumber":80,"discoveredDate":-62135596800000,"host":null}]},{"id":0,"ip":"192.168.1.99","mac":"00:25:b3:fa:ca:9b","os":null,"discoveredDate":-62135596800000,"zone":null,"ports":{},"portList":[{"id":0,"portType":null,"portNumber":161,"discoveredDate":-62135596800000,"host":null,"services":{},"serviceList":[{"id":0,"cryptoType":null,"serviceName":"SNMP_V2","discoveredDate":-62135596800000,"port":null}]},{"id":0,"portType":null,"portNumber":7,"discoveredDate":-62135596800000,"host":null},{"id":0,"portType":null,"portNumber":80,"discoveredDate":-62135596800000,"host":null}]},{"id":0,"ip":"192.168.1.100","mac":"00:17:08:8d:cf:f7","os":null,"discoveredDate":-62135596800000,"zone":null,"ports":{},"portList":[{"id":0,"portType":null,"portNumber":21,"discoveredDate":-62135596800000,"host":null},{"id":0,"portType":null,"portNumber":23,"discoveredDate":-62135596800000,"host":null},{"id":0,"portType":null,"portNumber":161,"discoveredDate":-62135596800000,"host":null,"services":{},"serviceList":[{"id":0,"cryptoType":null,"serviceName":"SNMP_V2","discoveredDate":-62135596800000,"port":null}]},{"id":0,"portType":null,"portNumber":80,"discoveredDate":-62135596800000,"host":null},{"id":0,"portType":null,"portNumber":280,"discoveredDate":-62135596800000,"host":null}]},{"id":0,"ip":"192.168.1.106","mac":"44:8a:5b:f1:3a:7d","os":null,"discoveredDate":-62135596800000,"zone":null,"ports":{},"portList":[{"id":0,"portType":null,"portNumber":161,"discoveredDate":-62135596800000,"host":null,"services":{},"serviceList":[{"id":0,"cryptoType":null,"serviceName":"SNMP_V2","discoveredDate":-62135596800000,"port":null}]},{"id":0,"portType":null,"portNumber":21,"discoveredDate":-62135596800000,"host":null,"services":{},"serviceList":[{"id":0,"cryptoType":null,"serviceName":"FTP","discoveredDate":-62135596800000,"port":null}]},{"id":0,"portType":null,"portNumber":80,"discoveredDate":-62135596800000,"host":null},{"id":0,"portType":null,"portNumber":135,"discoveredDate":-62135596800000,"host":null},{"id":0,"portType":null,"portNumber":139,"discoveredDate":-62135596800000,"host":null}]},{"id":0,"ip":"192.168.1.208","mac":"48:43:7c:2e:9b:2b","os":null,"discoveredDate":-62135596800000,"zone":null}] \ No newline at end of file