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

Method ids

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

Source from the content-addressed store, hash-verified

953QString BridgeApp::hash(const QString &algorithm, const int length, const QString &input) { return GenerateHash(algorithm, length, input); }
954
955QJSValue BridgeApp::ids() const
956{
957 QVariantList list;
958 auto mapAgents = scriptEngine->manager()->GetAgents();
959
960 for (const auto& agent : mapAgents)
961 list.append(agent->data.Id);
962
963 return this->scriptEngine->engine()->toScriptValue(list);
964}
965
966QJSValue BridgeApp::interfaces() const
967{

Callers

nothing calls this directly

Calls 4

managerMethod · 0.80
appendMethod · 0.80
GetAgentsMethod · 0.45
engineMethod · 0.45

Tested by

no test coverage detected