├── .dockerignore ├── .github └── workflows │ ├── deploy-docker-image.yaml │ └── deploy-package.yaml ├── .gitignore ├── Dockerfile ├── LICENSE ├── README.md ├── example ├── custom_command.py ├── fake_ssh_server.py ├── fake_telnet_server.py └── simple_run_command.py ├── fakeshell ├── __init__.py ├── commands │ ├── __init__.py │ ├── b64.py │ ├── buildin.py │ ├── cat.py │ ├── chmod.py │ ├── chown.py │ ├── curl.py │ ├── df.py │ ├── grep.py │ ├── ls.py │ ├── md5sum.py │ ├── mkdir.py │ ├── network.py │ ├── rm.py │ └── utils.py ├── interpreter.py └── shell.py ├── requirements.txt ├── setup.py └── tests ├── test_base64.py ├── test_buildin.py ├── test_cat.py ├── test_chmod.py ├── test_chown.py ├── test_curl.py ├── test_ls.py ├── test_md5sum.py ├── test_mkdir.py └── test_rm.py /.dockerignore: -------------------------------------------------------------------------------- 1 | .git 2 | tests 3 | Dockerfile 4 | -------------------------------------------------------------------------------- /.github/workflows/deploy-docker-image.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phishing-hunter/fakeshell/HEAD/.github/workflows/deploy-docker-image.yaml -------------------------------------------------------------------------------- /.github/workflows/deploy-package.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phishing-hunter/fakeshell/HEAD/.github/workflows/deploy-package.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phishing-hunter/fakeshell/HEAD/.gitignore -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phishing-hunter/fakeshell/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phishing-hunter/fakeshell/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phishing-hunter/fakeshell/HEAD/README.md -------------------------------------------------------------------------------- /example/custom_command.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phishing-hunter/fakeshell/HEAD/example/custom_command.py -------------------------------------------------------------------------------- /example/fake_ssh_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phishing-hunter/fakeshell/HEAD/example/fake_ssh_server.py -------------------------------------------------------------------------------- /example/fake_telnet_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phishing-hunter/fakeshell/HEAD/example/fake_telnet_server.py -------------------------------------------------------------------------------- /example/simple_run_command.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phishing-hunter/fakeshell/HEAD/example/simple_run_command.py -------------------------------------------------------------------------------- /fakeshell/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /fakeshell/commands/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phishing-hunter/fakeshell/HEAD/fakeshell/commands/__init__.py -------------------------------------------------------------------------------- /fakeshell/commands/b64.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phishing-hunter/fakeshell/HEAD/fakeshell/commands/b64.py -------------------------------------------------------------------------------- /fakeshell/commands/buildin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phishing-hunter/fakeshell/HEAD/fakeshell/commands/buildin.py -------------------------------------------------------------------------------- /fakeshell/commands/cat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phishing-hunter/fakeshell/HEAD/fakeshell/commands/cat.py -------------------------------------------------------------------------------- /fakeshell/commands/chmod.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phishing-hunter/fakeshell/HEAD/fakeshell/commands/chmod.py -------------------------------------------------------------------------------- /fakeshell/commands/chown.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phishing-hunter/fakeshell/HEAD/fakeshell/commands/chown.py -------------------------------------------------------------------------------- /fakeshell/commands/curl.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phishing-hunter/fakeshell/HEAD/fakeshell/commands/curl.py -------------------------------------------------------------------------------- /fakeshell/commands/df.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phishing-hunter/fakeshell/HEAD/fakeshell/commands/df.py -------------------------------------------------------------------------------- /fakeshell/commands/grep.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phishing-hunter/fakeshell/HEAD/fakeshell/commands/grep.py -------------------------------------------------------------------------------- /fakeshell/commands/ls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phishing-hunter/fakeshell/HEAD/fakeshell/commands/ls.py -------------------------------------------------------------------------------- /fakeshell/commands/md5sum.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phishing-hunter/fakeshell/HEAD/fakeshell/commands/md5sum.py -------------------------------------------------------------------------------- /fakeshell/commands/mkdir.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phishing-hunter/fakeshell/HEAD/fakeshell/commands/mkdir.py -------------------------------------------------------------------------------- /fakeshell/commands/network.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phishing-hunter/fakeshell/HEAD/fakeshell/commands/network.py -------------------------------------------------------------------------------- /fakeshell/commands/rm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phishing-hunter/fakeshell/HEAD/fakeshell/commands/rm.py -------------------------------------------------------------------------------- /fakeshell/commands/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phishing-hunter/fakeshell/HEAD/fakeshell/commands/utils.py -------------------------------------------------------------------------------- /fakeshell/interpreter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phishing-hunter/fakeshell/HEAD/fakeshell/interpreter.py -------------------------------------------------------------------------------- /fakeshell/shell.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phishing-hunter/fakeshell/HEAD/fakeshell/shell.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | psutil 2 | humanfriendly 3 | requests 4 | pyfakefs 5 | -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phishing-hunter/fakeshell/HEAD/setup.py -------------------------------------------------------------------------------- /tests/test_base64.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phishing-hunter/fakeshell/HEAD/tests/test_base64.py -------------------------------------------------------------------------------- /tests/test_buildin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phishing-hunter/fakeshell/HEAD/tests/test_buildin.py -------------------------------------------------------------------------------- /tests/test_cat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phishing-hunter/fakeshell/HEAD/tests/test_cat.py -------------------------------------------------------------------------------- /tests/test_chmod.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phishing-hunter/fakeshell/HEAD/tests/test_chmod.py -------------------------------------------------------------------------------- /tests/test_chown.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phishing-hunter/fakeshell/HEAD/tests/test_chown.py -------------------------------------------------------------------------------- /tests/test_curl.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phishing-hunter/fakeshell/HEAD/tests/test_curl.py -------------------------------------------------------------------------------- /tests/test_ls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phishing-hunter/fakeshell/HEAD/tests/test_ls.py -------------------------------------------------------------------------------- /tests/test_md5sum.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phishing-hunter/fakeshell/HEAD/tests/test_md5sum.py -------------------------------------------------------------------------------- /tests/test_mkdir.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phishing-hunter/fakeshell/HEAD/tests/test_mkdir.py -------------------------------------------------------------------------------- /tests/test_rm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phishing-hunter/fakeshell/HEAD/tests/test_rm.py --------------------------------------------------------------------------------