#!/usr/bin/env python3

from pprint import pprint
from sys import argv

from src.core.utils.module import run_module
from .module import Runner

result = run_module(Runner,
                    args=argv,
                    arg_name="url",
                    arg_default="https://www.intel.com/")
pprint(result)
示例#2
0
#!/usr/bin/env python3

from pprint import pprint
from sys import argv

from src.core.utils.module import run_module
from .module import Runner

result = run_module(
    Runner, args=argv, arg_name="hostname", arg_default="https://www.example.com/"
)
pprint(result)
#!/usr/bin/env python3

from pprint import pprint
from sys import argv

from src.core.utils.module import run_module
from .module import Runner

result = run_module(Runner, args=argv, arg_name="phone", arg_default="+79131111111")
pprint(result)
示例#4
0
from pprint import pprint
from sys import argv

from src.core.utils.module import run_module
from .module import Runner

result = run_module(Runner, args=argv, arg_name="ip", arg_default="8.8.8.8")

pprint(result)
#!/usr/bin/env python3
from pprint import pprint
from sys import argv

from src.core.utils.module import run_module
from src.scripts.convert.email_generator.module import Runner

result = run_module(Runner,
                    args=argv,
                    arg_name="username",
                    arg_default="john.doe")
pprint(result, compact=True)
示例#6
0
#!/usr/bin/env python3

from pprint import pprint
from sys import argv
from requests import get
from src.core.utils.module import run_module
from .module import Runner

result = run_module(Runner,
                    args=argv,
                    arg_name="ip",
                    arg_default=get("https://ifconfig.me/").text)
pprint(result)