A deliberately small, local-first OSCP+ checklist and command notebook for Kali Linux.
Fieldnotes keeps four things together:
- a phase-based checklist with copy-ready command examples;
- reusable command variables such as
lhost,rhost, ports, domain, user, password, hash, subnet, and wordlist; - machine-scoped endpoints, accounts, loot, notes, command output, and screenshots;
- an OSCP-style machine report with the complete workspace and evidence embedded for later restoration.
The exam-time application is deterministic and fully offline. It has no AI runtime, chatbot, prompt field, cloud API, exploit selector, scan-to-exploit path, or automatic credential chain. Every attack-relevant action is a separately reviewed command card initiated by the operator.
The app has no login, cloud sync, database, rich-text editor, or plugin system. State is stored in browser localStorage and can be exported at any time. Its localhost-only runner backs an embedded terminal workspace with real Kali PTYs; it never launches a desktop terminal window.
Node.js 22 is recommended (the project was created with Node 22.23.3).
git clone <your-repository-url> fieldnotes-oscp
cd fieldnotes-oscp
npm ci
npm run devOpen the local URL printed by Vite. The top bar should report Runner, and the checklist shows whether the small Kali tool set is present. Commands run in persistent tabs inside Fieldnotes. For a production-style local run:
npm test
npm run build
npm run serve:localThe local server binds only to 127.0.0.1 and permits working directories only beneath /home/kali/oscp. Override that root only when needed with FIELDNOTES_WORKSPACE_ROOT=/another/path npm run serve:local.
npm run dev and npm run dev:local both start the runner-backed Vite app on loopback. npm run dev:static is an explicit review-only mode for inspecting the static UI; it cannot execute commands. A published dist/ build likewise supports notes, imports, and reports but requires npm run serve:local on Kali for embedded execution.
If Vite reports that it cannot resolve pdf-lib after pulling newer commits, stop the development server, run npm install (or npm ci for a clean install), and restart it. The PDF dependency is recorded in both package.json and package-lock.json; an older node_modules directory is the usual cause.
- Add a box under Machines with its initial IP. Fieldnotes assigns a unique filesystem-safe folder slug, such as
/home/kali/oscp/active/, separately from the display name. - Add or select endpoints inside that machine. Parsed IP addresses and hostname/IP pairs remain endpoint-bound candidates until you confirm them; changing endpoints never creates another machine folder.
- Set
LHOST, the filesystem-safe target slug, TCP/UDP collections, selected service/web endpoint, domain context, and the default wordlist in the checklist's Variables panel. Select one saved credential explicitly before credential-derived cards are rendered. - Work down the checklist. An LHOST card can open a new embedded tab or be staged in an existing compatible tab. Fieldnotes ranks only tabs with the same machine, endpoint, confirmed context, working folder, requested role, and operator-confirmed ready prompt; it suggests or preselects a unique best match but never stages or runs the command automatically. Long-running listeners, SSH, WinRM, and tunnel sessions remain visible while you navigate the app and stop only when you explicitly stop them or close the app.
- After verifying an interactive shell, label its tab with the confirmed context (
foothold-linux,foothold-windows,pivot, orligolo-console). A target-side card can then be staged only to a matching tab. Review the exact preview and press Run reviewed command; ties and interrupt/cleanup actions require an explicit tab choice. Fieldnotes never infers shell ownership, sends the next card, or chains actions automatically. - Each local run writes a dedicated log beneath
notes/commands/. The Start command log setup card startsscript -a '<machine>/notes/terminal.log'as the sole writer in a reusable machine-shell tab; later reviewed commands can run in that same tab until Stop terminal log sendsexitand flushes the transcript. Other tabs retain the runner-managed journey log. Save output snapshot preserves the bounded capture without freeing a listener or foreground process; mark the visible prompt ready only after it can accept another command. Fieldnotes categorizes command and item activity as preparation, discovery, validation, access, controlled change, cleanup, or proof, while the operator still explicitly chooses the result. Each saved run keeps its own outcome, and later evidence reopens only that run for review. Exit code zero never completes a check or proves a hypothesis. - Review parser-extracted ports, domains, credentials, hashes, tickets, endpoints, and proof values under Findings. They remain unverified candidates and cannot affect variables or command generation until you confirm them.
- Fill in the operator profile under Report once (name, OSID, GitHub, photo — shared by every machine), attach user and root/Administrator proof screenshots, and review the short narrative. Generate the direct machine PDF, or edit the deterministic Markdown draft and generate the styled PDF from that version. Reset to generated Markdown discards the target's draft and rebuilds it from its current reviewed activity.
- Import that PDF on another machine to restore the full workspace. JSON export remains available as a fallback under Backup.
The direct PDF has a cover page, clickable contents and bookmarks, and a header on every page with your circular profile photo, name, OSID, and linked GitHub profile. Its compact Attack Path presents each conclusion, exact command, timestamp, target, and a bounded output excerpt once, in chronological order; proof excerpts retain enough rows for identity, IP address, original path, and value. Long terminal lines use an adaptive monospace size and wrap instead of being clipped. Full console logs remain exact embedded attachments instead of being duplicated in a second appendix. Dark terminal blocks keep ANSI colors (16/256/truecolor), Unicode box drawing, and emoji. Save output with colors intact (for example nxc ... | tee out.log, or script -q out.log) to keep them. DejaVu fonts ship with the app and are loaded by both browser and direct Node exports, so Kali prompt glyphs remain intact offline. Emoji are drawn with the system color-emoji font (fonts-noto-color-emoji on Kali). CJK text is not covered by the bundled fonts.
The target-scoped Markdown is generated locally from the same reviewed report data and uses stable Fieldnotes markers and internal evidence references. It can be downloaded, edited in the Report page, reset to the current generated source, or rendered as a styled PDF. The styled PDF embeds the exact edited Markdown, complete restorable workspace, and evidence files. Remote and filesystem image references are rejected; only evidence already stored in Fieldnotes can be rendered. Both PDF paths remain available and work offline.
The exam clock in the top bar counts down the exam window and then the report deadline. Its start time and length are editable and saved with the workspace. Press / on the checklist to jump to search.
A checklist item requires saved evidence before it can be classified as finding-confirmed or no-finding. Failed, blocked, and needs-review states remain incomplete so uncertainty is visible.
TCP and UDP ports are tracked separately and accumulated across scan files. Nmap open and open|filtered UDP results populate UDP PORT(S), and the focused UDP command automatically uses that list.
The bounded credential check uses only the one credential explicitly selected for the active machine, with jitter and saved logs. It does not combine or spray every stored secret. Review and confirm lockout policy before any multi-user authentication attempt.
The in-app Exam safety page records rules_last_verified: 2026-11-17 and links directly to the current official Exam Guide, FAQ, AI policy, Body of Knowledge, and reporting requirements. Official current policy controls; Fieldnotes is not OffSec approved and does not guarantee compliance or an exam result.
Conservative safeguards include:
- prohibited or policy-verification cards are instructional and cannot be copied or run in exam-safe mode;
- Metasploit/Meterpreter is kept outside the core workflow, including its one-selected-target commitment and no-pivot rule;
- spoofing, poisoning, automatic exploitation, mass vulnerability scanning, automatic proof submission, and runtime AI are not implemented;
- proof values remain visible candidates until the operator verifies the interactive shell, original path, identity, target IP, screenshot, and manual control-panel submission;
- Daybreak and any AI-assisted development are pre-exam activities only. Do not use an AI assistant during the exam or reporting period.
The supplied PWK V3 study table is reconciled without walkthroughs: 208 raw rows (204 machine rows plus four resource rows), 204 grouped coverage records, 200 machine presets, and 189 normalized machine names. Core, legacy, post-OSCP, enterprise, and study-only scope are visibly separated. Every record has a traceable methodology/scope mapping; machine-specific public technique research remains explicitly unresolved unless a spoiler-safe source is actually reviewed.
The checklist prefers a small set of common Kali tools: Nmap, curl, ffuf, NetExec, Impacket, John/Hashcat, Netcat/Socat, and Ligolo-ng. It uses or discovers assets under:
/usr/share/windows-resources
/usr/share/wordlists
/usr/share/seclists
/usr/share/ligolo-ng-common-binaries
Exact resource contents can vary with the Kali package snapshot, so commands that stage helper binaries use find before assuming a filename.
Passwords, hashes, commands, terminal logs, notes, and results are stored as plain text on disk and/or in browser storage, exported JSON, and the PDF's embedded workspace. This is an exam notebook, not a password manager. Runner-created case/log directories are restricted to 0700 and terminal logs to 0600; staged commands receive their own timestamped disk-log marker even when a remote console does not echo input. The runner deliberately executes the exact rendered shell command you select; keep it bound to localhost, review each command, lock the workstation, and protect reports and backups.
If the browser reports a storage error, export a backup and remove large saved results. Text files are limited to 1 MB and screenshots/files to 3 MB. Keep large binaries and full scan archives in /home/kali/oscp/<machine>/; save useful excerpts or paths in the app.
Checklist content lives in src/data/checklist.js. Each command is normalized into a stable structured record containing its purpose, execution host, applicability facts, prerequisites, typed variables, expected positive/negative signals, manual branches, risk, state change, evidence, verification, cleanup, fallback, and policy classification. Typed placeholders are validated and shell-quoted before copy or execution.
Keep additions focused on repeatable decisions and commands you will actually use. The local drgoteee.github.io/ checkout is ignored by Git and is reference material only.
Use these commands only against systems you own or are explicitly authorized to assess. Always follow the current OSCP exam guide and restrictions supplied by OffSec; the app intentionally does not try to encode policy that may change.