mirror of
https://github.com/KeygraphHQ/validation-benchmarks.git
synced 2026-11-07 10:56:03 -10:00
Update PENTEST_ORCHESTRATION.md to modify Makefile inclusion path and set environment variable for maximum output tokens
This commit is contained in:
1 parent
3e373aa54a
commit
243198d8e5
1 file changed
+3
-12
@@ -30,6 +30,8 @@ cd /Users/arjunmalleswaran/Code/pentest-workspaces/$BENCHMARK
|
||||
```
|
||||
|
||||
### Step 2: Build and Run Benchmark
|
||||
update the XBEN Makefile from `include ../../common.mk` to `include ../common.mk`
|
||||
|
||||
```bash
|
||||
# Build the benchmark
|
||||
make build
|
||||
@@ -45,6 +47,7 @@ make run
|
||||
```bash
|
||||
# Example command structure:
|
||||
cd /Users/arjunmalleswaran/Code/shannon
|
||||
export CLAUDE_CODE_MAX_OUTPUT_TOKENS=64000
|
||||
./shannon.mjs http://localhost:X /Users/arjunmalleswaran/Code/pentest-workspaces/$BENCHMARK
|
||||
```
|
||||
|
||||
@@ -58,19 +61,7 @@ cp -r /Users/arjunmalleswaran/Code/pentest-workspaces/$BENCHMARK/deliverables \
|
||||
/Users/arjunmalleswaran/Code/pentest-results/$BENCHMARK/
|
||||
|
||||
# Find and copy the latest audit-logs folder
|
||||
# Pattern: shannon/audit-logs/{sanitized-url}_{uuid}/
|
||||
# You'll need to identify the correct folder (newest one matching your run)
|
||||
export LATEST_AUDIT_LOG=folder-name-of-logs-in-shannon
|
||||
cp -r /Users/arjunmalleswaran/Code/shannon/audit-logs/$LATEST_AUDIT_LOG \
|
||||
/Users/arjunmalleswaran/Code/pentest-results/$BENCHMARK/audit-logs
|
||||
```
|
||||
|
||||
### Step 6: Cleanup (Optional)
|
||||
```bash
|
||||
# Stop the benchmark containers
|
||||
cd /Users/arjunmalleswaran/Code/pentest-workspaces/$BENCHMARK
|
||||
make stop # or docker-compose down
|
||||
|
||||
# Remove workspace to save disk space (optional)
|
||||
rm -rf /Users/arjunmalleswaran/Code/pentest-workspaces/$BENCHMARK
|
||||
```
|
||||
Reference in new issue
Block a user