msploitego
msploitego copied to clipboard
Possible to point to a different Postgresql instance?
Outstanding looking tool!
I use Metasploit Pro locally and on remote dropboxes via VPN.
Is it possible to connect to DB on a different port and remote IP?
My local MSP database.yml:
adapter: "postgresql" database: "msf3" username: "msf3" password: "XXXXXXXXXX" port: 7337 host: "localhost" pool: 256 timeout: 5
edit src/msploitego/transforms/common/postgresdb.pyc & add "port=xxxx"
conn = psycopg2.connect(dbname=self._db, user=self._user, host="localhost", password=self._password, port=5433)
Thank you.
Error I still receive. Running transform Enum Workspaces[Postgres] on 1 entities (from entity "msf3") Error running local transform: Local transform "/usr/bin/python" returned with exit code 1 (from entity "msf3") Transform Enum Workspaces[Postgres] returned with an error: Error running local transform: Local transform "/usr/bin/python" returned with exit code 1 (from entity "msf3")