From 670993e9244a371bc6a4ff927afb2cd90705f7e2 Mon Sep 17 00:00:00 2001 From: snoop Date: Wed, 12 Apr 2017 15:57:11 +0900 Subject: [PATCH] removed comment --- .../com/loafle/overflow/crawler/wmi/WMICrawlerLinux.java | 6 ------ .../loafle/overflow/crawler/wmi/WMICrawlerWindows.java | 8 +------- 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/src/main/java/com/loafle/overflow/crawler/wmi/WMICrawlerLinux.java b/src/main/java/com/loafle/overflow/crawler/wmi/WMICrawlerLinux.java index 70b0893..fda8bd7 100644 --- a/src/main/java/com/loafle/overflow/crawler/wmi/WMICrawlerLinux.java +++ b/src/main/java/com/loafle/overflow/crawler/wmi/WMICrawlerLinux.java @@ -18,12 +18,6 @@ public class WMICrawlerLinux extends WMICrawlerOS { public Object processCommand(Map params) throws Exception { -// String id = "administrator"; -// String pw = "dbseogns18"; -// String nameSpace = "root/cimv2"; -// String query = "select * from Win32_OperatingSystem"; -// String ip = "192.168.1.106"; - String id = (String)params.get("id"); String pw = (String)params.get("pw"); String nameSpace = (String)params.get("nameSpace"); diff --git a/src/main/java/com/loafle/overflow/crawler/wmi/WMICrawlerWindows.java b/src/main/java/com/loafle/overflow/crawler/wmi/WMICrawlerWindows.java index 4ee0d82..9674ba7 100644 --- a/src/main/java/com/loafle/overflow/crawler/wmi/WMICrawlerWindows.java +++ b/src/main/java/com/loafle/overflow/crawler/wmi/WMICrawlerWindows.java @@ -15,13 +15,7 @@ import java.util.Map; */ public class WMICrawlerWindows extends WMICrawlerOS { - public Object processWMI(Map params) { - -// String id = "administrator"; -// String pw = "!@#$qwer1234"; -// String nameSpace = "root/cimv2"; -// String query = "select * from Win32_OperatingSystem"; -// String ip = "192.168.1.1"; + public Object processWMI(Map params) throws Exception { String id = (String)params.get("id"); String pw = (String)params.get("pw");