Skip to content

Instantly share code, notes, and snippets.

@tjmonsi
Created December 30, 2023 15:30
Show Gist options
  • Save tjmonsi/dc0e53d76de41142be08a324b84978d4 to your computer and use it in GitHub Desktop.
Save tjmonsi/dc0e53d76de41142be08a324b84978d4 to your computer and use it in GitHub Desktop.
import_code("/home/tjmonsi/scripts/lib/paramsparser.src")
import_code("/home/tjmonsi/scripts/lib/metaxploitscan.src")
config = tjx_params_parser(program_path.split("/")[-1], ["public_ip", "port_number"], 1)
publicIp = config.public_ip
portNumber = null
if config.hasIndex("port_number") then portNumber = config.port_number
tjx_metaxploit_scan(publicIp, portNumber)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment