Skip to content

Instantly share code, notes, and snippets.

@tjmonsi
Created December 31, 2023 05:29
Show Gist options
  • Save tjmonsi/4a98266eef77a16b772ac826c2ae7841 to your computer and use it in GitHub Desktop.
Save tjmonsi/4a98266eef77a16b772ac826c2ae7841 to your computer and use it in GitHub Desktop.
// Loads libs from /lib or from /home/[active_user]
// Tests if metaxploit is in lib
globals.crypto = include_lib("/lib/crypto.so")
// checks if metaxploit is in /home/active-user
if not globals.crypto then globals.crypto = include_lib(home_dir + "/crypto.so")
if not globals.crypto then exit("<color=#ff0000>Load crypto on either lib or home_dir</color>")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment