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

Method RemoveProject

AdaptixClient/Source/Client/Storage.cpp:234–241  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

232}
233
234void Storage::RemoveProject(const QString &project)
235{
236 QSqlQuery query(QSqlDatabase::database(DB_CONNECTION_NAME));
237 query.prepare("DELETE FROM Projects WHERE project = :Project");
238 query.bindValue(":Project", project);
239 if (!query.exec())
240 LogError("Failed to delete project from database: %s\n", query.lastError().text().toStdString().c_str());
241}
242
243/// EXTENSIONS
244

Callers 1

itemRemoveMethod · 0.80

Calls 4

LogErrorFunction · 0.85
execMethod · 0.80
toStdStringMethod · 0.80
textMethod · 0.45

Tested by

no test coverage detected