Skip to content

Commit 51e70c4

Browse files
author
jvazquez-r7
committed
fix error message after cleanup
1 parent 0755cbe commit 51e70c4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

modules/auxiliary/server/capture/postgresql.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@ def on_client_data(c)
9292
sdata = [ 0x45, 97 - 8 + @state[c][:username].length].pack("CN")
9393
sdata << "SFATAL"
9494
sdata << "\x00"
95+
sdata << "C28P01"
96+
sdata << "\x00"
9597
sdata << "Mpassword authentication failed for user \"#{@state[c][:username]}\""
9698
sdata << "\x00"
9799
sdata << "Fauth.c"

0 commit comments

Comments
 (0)