namespace
This commit is contained in:
snoop 2017-04-26 17:33:51 +09:00
parent 892c4e2653
commit faef0021ac

View File

@ -39,7 +39,7 @@ public class WMICrawlerWindows extends WMICrawlerOS {
query = cItem.getQueryInfo().getQuery();
wmiconnect = connectServer(config);
wmiconnect = connectServer(config, cItem);
Variant vQuery = new Variant(query);
@ -248,11 +248,11 @@ public class WMICrawlerWindows extends WMICrawlerOS {
return retInt;
}
protected ActiveXComponent connectServer(Config config) {
protected ActiveXComponent connectServer(Config config, Item item) {
String id = (String)config.getTarget().getAuth().get("id");
String pw = (String)config.getTarget().getAuth().get("pw");
String nameSpace = "";
String nameSpace = item.getQueryInfo().getExtend().get("nameSpace");
// String query = (String)config.get.get("query");
String ip = config.getTarget().getConnection().getIp();