Problem Statement
Describe a safe plan to pivot from a foothold host to reach a database in an internal subnet.
Explanation
First, map routes and confirm the database and subnet are in scope. Choose a simple, reversible tunnel like SSH local or SOCKS through the foothold. Limit ports and bandwidth. Authenticate with a test account. Log start and stop times. When done, close the tunnel and confirm no processes are left behind. Share exact commands and evidence so the owner can verify.
Code Solution
SolutionRead Only
ssh -N -L 5432:10.0.2.25:5432 tester@foothold # then connect to localhost:5432
