MCPcopy Create free account
hub / github.com/Adaptix-Framework/AdaptixC2 / targets_add

Method targets_add

AdaptixClient/Source/Client/AxScript/BridgeApp.cpp:1217–1226  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1215}
1216
1217void BridgeApp::targets_add(const QString &computer, const QString &domain, const QString &address, const QString &os, const QString &osDesc, const QString &tag, const QString &info, bool alive)
1218{
1219 TargetData target = {"", computer, domain, address, tag, QIcon(), 0, osDesc, "", 0, info, alive};
1220
1221 target.Os = stringToOs(os);
1222
1223 QList<TargetData> targets;
1224 targets.append(target);
1225 scriptEngine->manager()->GetAdaptix()->TargetsDock->TargetsAdd(targets);
1226}
1227
1228void BridgeApp::targets_add_list(const QVariantList &array)
1229{

Callers

nothing calls this directly

Calls 5

stringToOsFunction · 0.85
appendMethod · 0.80
TargetsAddMethod · 0.80
GetAdaptixMethod · 0.80
managerMethod · 0.80

Tested by

no test coverage detected