Skip to content

Commit e5e1310

Browse files
committed
Refactor close handling
1 parent 5418cda commit e5e1310

File tree

1 file changed

+4
-0
lines changed
  • lib/msf/core/exploit/smb/server/share/command

1 file changed

+4
-0
lines changed

lib/msf/core/exploit/smb/server/share/command/close.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ module Close
99
# Responds to a client CLOSE request
1010
#
1111
def smb_cmd_close(c, buff)
12+
send_close_res(c)
13+
end
14+
15+
def send_close_res(c)
1216
pkt = CONST::SMB_CLOSE_RES_PKT.make_struct
1317
smb_set_defaults(c, pkt)
1418

0 commit comments

Comments
 (0)