Skip to content

Commit

Permalink
tds.py: fixed python3 incompatibility when receiving over TLS socket
Browse files Browse the repository at this point in the history
  • Loading branch information
exploide committed Mar 30, 2023
1 parent fb5d6d3 commit 5721aaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion impacket/tds.py
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,7 @@ def sendTDS(self, packetType, data, packetID = 1):
def socketRecv(self, packetSize):
data = self.socket.recv(packetSize)
if self.tlsSocket is not None:
dd = ''
dd = b''
self.tlsSocket.bio_write(data)
while True:
try:
Expand Down

0 comments on commit 5721aaf

Please sign in to comment.