Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ce56bb6

Browse files
authored
increase hacklib.send's recv buffer
1 parent 7cfb8bb commit ce56bb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hacklib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -596,7 +596,7 @@ def send(IP, port, message, keepalive = False):
596596
sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
597597
sock.connect((IP, port))
598598
sock.send(message)
599-
response = sock.recv(2048)
599+
response = sock.recv(2400000)
600600
if not keepalive:
601601
sock.close()
602602
return response

0 commit comments

Comments
 (0)