Why Would You Use A Reverse SSH Port Forwarding
3 min readJul 23, 2023
Moving laterally in the target network.
Imagine a situation where you’ve obtained a shell on a target machine/victim host. You’re looking around for interesting files and you find a PostgreSQL database config file. The file contains something like below:
tokyolab—server {
db {
url = "jdbc:postgresql://tokyolab—db:5432/postgres"
appPassword =…