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

Function GenerateRandomInt

AdaptixClient/Source/Utils/Convert.cpp:325–328  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

323}
324
325int GenerateRandomInt(const int min, const int max)
326{
327 return QRandomGenerator::global()->bounded(max - min + 1) + min;
328}
329
330
331QString GenerateHash(const QString &algorithm, int length, const QString &inputString)

Callers 1

random_intMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected