added
namespace
This commit is contained in:
parent
892c4e2653
commit
faef0021ac
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue
Block a user