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");