Added change
parent
7b1638fd88
commit
e596960e1e
|
@ -40,7 +40,7 @@ class Client:
|
|||
resolver_object = dns.resolver.get_default_resolver()
|
||||
nameserver = resolver_object.nameservers[0]
|
||||
|
||||
while (byte_reader < len(data_to_transmit) + self.length):
|
||||
while (byte_reader < len(data_to_transmit)):
|
||||
if not self.file_transfer:
|
||||
encoded_data = base64.b64encode(data_to_transmit[byte_reader:byte_reader + self.length])
|
||||
encoded_data = encoded_data.replace("=", ".---")
|
||||
|
|
Loading…
Reference in New Issue