spellshift / realm

Realm is a cross platform Red Team engagement platform with a focus on automation and reliability.
https://docs.realm.pub/
GNU General Public License v3.0
419 stars 31 forks source link

[Feature] Implement random.int function #759

Open Cictrone opened 7 months ago

Cictrone commented 7 months ago

Is your feature request related to a problem? Please describe. Eldritch currently can't create a random integer.

Describe the solution you'd like

Implement the random.int function that will return a random (i32) integer. This will theoretically be very similar to the random.bool function.

To see an example of what a PR that implements an eldritch function looks like, check out the PR for sys.get_user() here.

Cictrone commented 7 months ago

if you have questions lmk