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

Method screenshots

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

Source from the content-addressed store, hash-verified

1145}
1146
1147QJSValue BridgeApp::screenshots()
1148{
1149 QVariantMap list;
1150 auto screenshots = scriptEngine->manager()->GetScreenshots();
1151
1152 for (const auto& screen : screenshots) {
1153 QVariantMap map;
1154 map["id"] = screen.ScreenId;
1155 map["user"] = screen.User;
1156 map["computer"] = screen.Computer;
1157 map["note"] = screen.Note;
1158 map["date"] = screen.Date;
1159 list[screen.ScreenId] = map;
1160 }
1161
1162 return this->scriptEngine->engine()->toScriptValue(list);
1163}
1164
1165void BridgeApp::service_command(const QString &service, const QString &command, const QJSValue &args)
1166{

Callers

nothing calls this directly

Calls 3

managerMethod · 0.80
GetScreenshotsMethod · 0.45
engineMethod · 0.45

Tested by

no test coverage detected