Skip to content

Shell

Wrapper for shell commands.

pwncmd_names = ['constgrep', 'disasm', 'pwn', 'unhex'] module-attribute

pwncmds = list(filter(which, pwncmd_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'] module-attribute

shellcmds = list(filter(which, shellcmd_names)) module-attribute

register_shell_function(cmd, deprecated=False)