Skip to content

Instantly share code, notes, and snippets.

@tjmonsi
Created December 31, 2023 05:30
Show Gist options
  • Save tjmonsi/3ab0712cbbe4017a59ab4d4587523190 to your computer and use it in GitHub Desktop.
Save tjmonsi/3ab0712cbbe4017a59ab4d4587523190 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.metaxploit = include_lib("/lib/metaxploit.so")
// checks if metaxploit is in /home/active-user
if not globals.metaxploit then globals.metaxploit = include_lib(home_dir + "/metaxploit.so")
if not globals.metaxploit then exit("<color=#ff0000>Load metaxploit 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