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

Method LoadShellUI

AdaptixClient/Source/UI/Widgets/AdaptixWidget.cpp:1129–1139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1127}
1128
1129void AdaptixWidget::LoadShellUI(const QString &AgentId)
1130{
1131 QReadLocker locker(&AgentsMapLock);
1132 if( !AgentsMap.contains(AgentId) )
1133 return;
1134
1135 auto agent = AgentsMap[AgentId];
1136 locker.unlock();
1137 if (agent)
1138 this->PlaceDock(dockBottom, agent->GetShell()->dock() );
1139}
1140
1141void AdaptixWidget::ShowTunnelCreator(const QString &AgentId, const bool socks4, const bool socks5, const bool lportfwd, const bool rportfwd)
1142{

Callers 1

open_remote_shellMethod · 0.80

Calls 4

PlaceDockMethod · 0.95
GetShellMethod · 0.80
containsMethod · 0.45
dockMethod · 0.45

Tested by

no test coverage detected