Created
December 30, 2023 15:30
-
-
Save tjmonsi/dc0e53d76de41142be08a324b84978d4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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