Skip to content

shell ¤

Wrapper for shell commands.

Functions:

Attributes:

pwncmd_names module-attribute ¤

pwncmd_names = ['constgrep', 'disasm', 'pwn', 'unhex']

shellcmd_names module-attribute ¤

shellcmd_names = [
    "awk",
    "bash",
    "cat",
    "chattr",
    "chmod",
    "chown",
    "cp",
    "date",
    "diff",
    "egrep",
    "grep",
    "htop",
    "id",
    "less",
    "ls",
    "man",
    "mkdir",
    "mktemp",
    "more",
    "mv",
    "nano",
    "nc",
    "ping",
    "pkill",
    "ps",
    "pstree",
    "pwd",
    "rm",
    "sed",
    "sh",
    "sort",
    "ssh",
    "sudo",
    "tail",
    "top",
    "touch",
    "uniq",
    "vi",
    "vim",
    "w",
    "wget",
    "who",
    "whoami",
    "zsh",
]

pwncmds module-attribute ¤

pwncmds = list(filter(which, pwncmd_names))

shellcmds module-attribute ¤

shellcmds = list(filter(which, shellcmd_names))

register_shell_function ¤

register_shell_function(cmd, deprecated=False) -> None