GitBook: [master] one page modified

This commit is contained in:
CPol 2021-10-08 00:41:38 +00:00 committed by gitbook-bot
parent ce399c0860
commit b38608ac6c
No known key found for this signature in database
GPG key ID: 07D2180C7B12D0FF

View file

@ -60,7 +60,7 @@ def connect_binary():
def send_payload(payload):
payload = PREFIX_PAYLOAD + payload + SUFFIX_PAYLOAD
log.info("payload = %s" % repr(payload))
if len(payload) > MAX_LENTGH: print("!!!!!!!!! ERROR, MAX LENGTH EXCEEDED")
if len(payload) > MAX_LENTGH: print("!!!!!!!!! ERROR, MAX LENGTH EXCEEDED. To mae it shorter consider changing the <num>c% for <num/4>x%")
P.sendline(payload)
sleep(0.5)
return P.recv()