Skip to content
leg3ndProjects & tools
01Home02Projects03Tools04Notes
GMT+8
O/ OSCP exploitation reference
Workspace controls Memory only · 0 steps
Visualize path ↗
Command values 0 filled

Temporary connection values clear on reload. Passwords, hashes and tickets remain placeholders. Check address-family syntax in the selected command.

Reference index ↗ Search all procedures & variants ↗
01Discovery02Enumeration03Initial access04Usable access05Local privilege06Active Directory07Internal access08Evidence & reporting

QUICK REFERENCE

Discovery›Services›Web mapping›Web exploitation›Credentials›Public exploits›Sessions & transfers›Linux escalation›Windows escalation›AD enumeration›AD identity attacks›Lateral movement›Pivoting & tunnels›Execution troubleshooting›Integration & evidence›
174 methods · 15 topicsFull reference on GitHub ↗Commands · scripts · next steps
Tools/OSCP/Evidence & reporting/Integration & evidence
← All integration & evidence tasks

Recover from dead ends without repeating disproven paths

CommandsIf → thenExplanation & examples

Needs: A saved last-known-working state, recorded errors and a bounded next uncertainty

Treat stagnation as a state problem, not an instruction to try more commands. Warning signs include unchanged evidence, repeated disproven tests, increasingly exotic mechanisms, tool switching without a new hypothesis, and work whose success would not advance the objective.

When progress stalls:

  1. Freeze the current host/identity/route/credential map.
  2. Mark each path with the last decisive result.
  3. Recheck scan/service/application coverage and authenticated views.
  4. Separate environment/tool failure from a disproven prerequisite.
  5. Choose the cheapest test that can change the decision.
  6. Switch paths when the expected information gain is higher.
  7. Return only when new evidence changes an assumption.

Use this failure router:

SymptomClassificationNext action
Tool cannot reach any known-good endpointEnvironment/route failureRepair source interface, proxy, DNS or tool configuration
Test did not exercise the claimed prerequisiteInconclusiveReplace it with a discriminating test
Exact prerequisite is absentDisproven pathClose the card until state changes
Authentication works but action is deniedAuthorization boundaryEnumerate service/object rights under that identity
New credential or route exists but old enumeration is unchangedStale stateRe-enumerate from the new identity/vantage point
Many weak possibilities, no decisive observationCoverage gapReturn to surface/service/application enumeration

Verify → The recovery action should create new evidence and preserve the reason an old path was rejected.

If it fails → If the same prerequisite remains absent, switch to an enabled path and retain a clear return condition. More detail ↓

If → then

  • Command execution or payload delivery exists but the expected usable channel does not → Diagnose connection direction, listener and session failures in order

    Needs: A recorded first execution proof, correct advertised route, active compatible listener and observable connection evidence

  • Scanners disagree, a result is ambiguous, or a new identity changes accessible behavior → Validate uncertain results and rebuild the service queue

    Needs: A selected endpoint and a test that can resolve the decision-changing uncertainty

  • Several hosts, identities, routes or competing hypotheses need coordination → Maintain state and select the next evidence-producing test

    Needs: Explicit scope/objective and a record of observations, unknowns and available capabilities

No useful finding → another task in this topic. Failed check → resolve the failure before ruling out the path.

Explanation & examples

Recover from dead ends without repeating disproven paths

USE WHEN
Repeated attempts add no new evidence or several layers have been changed at once
STARTING ACCESS
An assigned objective, scope and accumulated host/identity/route evidence
RESULT
A targeted recovery test or a justified switch to another candidate

Recognize the clue

Compare recent attempts with the last saved working state and classify the first newly introduced boundary.

LAST VERIFIED STATE | FIRST NEW FAILURE | EXACT ERROR | CHANGED CONDITION | NEXT CONTROL
SYNTHETIC EXAMPLE OUTPUT
Last working: target command identity proof
New failure: artifact download has no server request
Recent changes: several payload variants

Means: Repeated payload changes are not testing the first missing transfer/route condition.

Confirm: Reproduce the last proof and isolate one new condition at a time; preserve rejected paths and return conditions.

After validation
The new test identifies/fixes the actual boundary or justifies another enabled path: proceed.
Ruled out in this context
The same absent prerequisite remains unchanged: reject another identical attempt.
Still inconclusive
Unknown last-working state calls for a small reproducible baseline rather than another full chain.

Troubleshooting: If the same prerequisite remains absent, switch to an enabled path and retain a clear return condition.

Additional prerequisite checks

LAST WORKING STATE | FIRST FAILED BOUNDARY | EXACT ERROR | CHANGED CONDITION | DISCRIMINATING TEST

Treat stagnation as a state problem, not an instruction to try more commands. Warning signs include unchanged evidence, repeated disproven tests, increasingly exotic mechanisms, tool switching without a new hypothesis, and work whose success would not advance the objective.

When progress stalls:

  1. Freeze the current host/identity/route/credential map.
  2. Mark each path with the last decisive result.
  3. Recheck scan/service/application coverage and authenticated views.
  4. Separate environment/tool failure from a disproven prerequisite.
  5. Choose the cheapest test that can change the decision.
  6. Switch paths when the expected information gain is higher.
  7. Return only when new evidence changes an assumption.

Use this failure router:

SymptomClassificationNext action
Tool cannot reach any known-good endpointEnvironment/route failureRepair source interface, proxy, DNS or tool configuration
Test did not exercise the claimed prerequisiteInconclusiveReplace it with a discriminating test
Exact prerequisite is absentDisproven pathClose the card until state changes
Authentication works but action is deniedAuthorization boundaryEnumerate service/object rights under that identity
New credential or route exists but old enumeration is unchangedStale stateRe-enumerate from the new identity/vantage point
Many weak possibilities, no decisive observationCoverage gapReturn to surface/service/application enumeration

Why it works

Tool/environment failure and target evidence must be separated. Re-enumeration after a new credential/route is often more valuable than repeating a disproven exploit under unchanged conditions.

Worked example · hypothetical

Observation: successive payload changes have no effect. Test: return to the last working command proof and verify the first new boundary. Illustrative output: the download route is absent. Interpretation: repair transfer connectivity instead of swapping exploit families.

New identity, privilege, host or route? Re-enumerate → All topic tasks →

Study guide ↗Full procedure ↗Cheatsheet ↗
HomeProjectsToolsNotes
Interactive toolsOSCP notes ↗Extended OSCP workspace ↗Attack-path visualizer ↗

© 2026 Armaan. Built with curiosity.

GitHub ↗GMT+8