Skip to content

Commit

Permalink
Update msfdb.erb
Browse files Browse the repository at this point in the history
  • Loading branch information
data0nf committed Jan 9, 2018
1 parent 483e8ba commit fcfe4cd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config/templates/metasploit-framework/msfdb.erb
Expand Up @@ -155,8 +155,9 @@ def create_db
f.puts "host \"msf\" \"#{@msf_user}\" 127.0.0.1/32 md5"
f.puts "host \"msftest\" \"#{@msftest_user}\" 127.0.0.1/32 md5"
f.puts "host \"postgresql\" \"#{@msftest_user}\" 127.0.0.1/32 md5"
f.puts "local all all trust"
f.puts "host \"template1\" all 127.0.0.1/32 trust"
f.puts "host all all 127.0.0.1/32 trust"
f.puts "host all all ::1/128 trust"
end

File.open("#{@db}/postgresql.conf", 'a') do |f|
Expand Down

0 comments on commit fcfe4cd

Please sign in to comment.