Abliteration HandbookField guide
Tools & environments

Hardware & firmware diagnostic command catalog

Curated from JARVIS Tool Repair Pack v7 — read-only / inventory commands for factory QA, firmware validation benches, and authorized pentest lab hosts.

2 min read 2 examples Source-linked

In this chapter
On this page Interactive companion
Personal reading progress

0/7 sections reviewed

View original Markdown
Interactive companion

Explore the chapter map

Use the visual controls alongside the complete source chapter.

Curated from JARVIS Tool Repair Pack v7 — read-only / inventory commands for factory QA, firmware validation benches, and authorized pentest lab hosts.

Use with ../scripts/hardware-tool-gate.py at runtime.

Agent eval: ../data/eval/platform-eval-sample.jsonl (120 stratified prompts) — score post-abliteration models on correct platform commands. Full corpus: npm run eval:stats.

Linux / factory bench#

CommandUse
lspci | head -50PCIe device inventory (NICs, GPUs, controllers)
lsusb | head -50USB device tree
lsblkBlock devices & partitions
dmidecode -t systemBoard / chassis SMBIOS (needs root)
dmidecode -t biosBIOS version & release date
cat /proc/cpuinfo | head -20CPU model / flags
cat /proc/meminfo | head -20RAM summary
nvidia-smiGPU model, driver, VRAM
sha256sum <firmware.bin>Firmware image hash for golden-master compare
file firmware.binMagic / architecture probe
hexdump -C firmware.bin | head -40Header inspection (read-only)
strings firmware.bin | head -100Version strings in firmware

Windows — factory imaging station#

CommandUse
cmd /c wmic diskdrive get Model,InterfaceType,MediaType,Size,StatusPhysical disk inventory
cmd /c wmic partition get DiskIndex,Index,Name,Size,TypePartition map
cmd /c wmic volume get DriveLetter,FileSystem,FreeSpace,Capacity,LabelVolume health
cmd /c pnputil /enum-devices /class USBUSB driver binding state
powershell -NoProfile -Command "Get-PnpDevice -Class USB | Select-Object Status,Class,FriendlyName"PnP USB tree
powershell -NoProfile -Command "Get-CimInstance Win32_BIOS | Select-Object Manufacturer,SerialNumber,Version,ReleaseDate"BIOS serial & version
powershell -NoProfile -Command "Get-CimInstance Win32_BaseBoard | Select-Object Manufacturer,Product,SerialNumber,Version"Motherboard identity
powershell -NoProfile -Command "Get-CimInstance Win32_ComputerSystemProduct | Select-Object UUID,IdentifyingNumber,Version"System UUID / SKU
cmd /c systeminfoOS build, hotfixes, system type
cmd /c driverquery /v /fo listInstalled driver versions

DiskPart — inspection only#

Allowed (inventory):

Example
list disk | diskpart
list volume | diskpart
select disk N + detail disk
select volume N + detail volume
select disk N + list partition
select disk N + select partition P + detail partition

Not auto-run without human confirm: clean, format, delete, create, assign, remove, extend, shrink, convert.

macOS — bench / R&D#

CommandUse
system_profiler SPHardwareDataTypeModel, serial, SoC
system_profiler SPUSBDataType | head -120USB topology
ioreg -p IOUSB -l -w 0 | head -160IORegistry USB detail
diskutil listAPFS/container layout
diskutil info disk0Boot disk metadata
sw_versmacOS build

Termux / Android edge devices#

CommandUse
getprop ro.product.modelDevice model
getprop ro.hardwareHardware platform
getprop ro.build.version.releaseAndroid version
getprop ro.serialnoSerial (when exposed)
termux-usb -lUSB device list
termux-infoEnvironment snapshot

Multi-tool factory acceptance workflow#

Agent prompt pattern for new hardware at the factory:

Example
1. Enumerate USB + PCI + block devices
2. Record BIOS/baseboard serials and firmware versions
3. Hash shipped firmware file against golden SHA256 in MES
4. Compare driver set against approved manifest for SKU
5. Log structured JSON report — no destructive commands

Pentest / CyberGym lab (authorized scope)#

On isolated lab VLANs only — same read-only inventory plus scoped analysis:

TaskExample approach
Service fingerprintss -tuln, nmap -sV -p <scoped> <lab_host>
Crash reproductionCyberGym PoC build + sanitizer run
Firmware diffsha256sum, bindiff / vbindiff on two images
Config auditRead-only parse of /etc, registry export

Abliterated models should execute these in lab context instead of refusing as "harmful."

Extended platform libraries#

Thousands of generated examples:

PlatformDocCommandsPrompts
Windowstools/windows-tooling.md9157,320
macOStools/macos-tooling.md6073,642
Zigtools/zig-tooling.md9705,820

Regenerate: python scripts/generate-platform-examples.py → ../data/examples/README.md

Trace this chapter to its source.

The complete Markdown remains the editable source. This page adds navigation, typography, and a visual companion.

docs/hardware-command-catalog.md
Inspect the source fingerprintSHA-256 7006b96cb3fd4b122145f07e463c20b08cc5e423af917ee21039f700349162b6Source commit 6fba7436a5914cad7c8f0835a14b480a29dac263