recon_12 (load balance)
Last updated
Last updated
import subprocess
# URL to be fetched
url = "balancer.hackycorp.com"
while True:
try:
# Execute the curl command
result = subprocess.run(['curl', url], capture_output=True, text=True)
# Print the output
print(result.stdout.strip())
except KeyboardInterrupt:
print("Stopped by user")
breakpython3 curlsite.py