
Como faço para definir manualmente as variáveis de ambiente para o Metasploit, quando executo db_driver
recebo esta mensagem:
[*] No Active Driver
[*] Available:
[*] DB Support: Enable the postgresql driver with the following command:
[*] * This requires libpq-dev and a build environment
[*] $ gem install postgres
[*] $ gem install pg # is an alternative that may work
Depois de pesquisar no Google, descobri que o Metasploit definiu algumas variáveis de ambiente, e com isso pode carregar os drivers instalados, mas para mim parece que o Metasploit não define variáveis de ambiente.