MCPcopy Create free account
hub / github.com/NetSPI/BOF-PE / BeaconUseToken

Function BeaconUseToken

beacon/beacon.cpp:200–204  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

198/* Token Functions */
199
200extern "C" BEACON_IMPEX BOOL BeaconUseToken(HANDLE token) {
201 /* Probably needs to handle DuplicateTokenEx too */
202 SetThreadToken(NULL, token);
203 return TRUE;
204}
205
206extern "C" BEACON_IMPEX void BeaconRevertToken(void) {
207 if (!RevertToSelf()) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected