Skip to content

Commit

Permalink
Update innerbrute.py
Browse files Browse the repository at this point in the history
  • Loading branch information
gamer191 authored Jun 19, 2024
1 parent 817420f commit efac8e3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions innerbrute.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
requests_failed = 0

client_name_id = sys.argv[1]
for client_version in client_versions:
for counter,client_version in enumerate(client_versions, start=1):
client_version = client_version.replace("\n", "").replace("\r", "")
if client_version == "":
continue
Expand All @@ -83,8 +83,8 @@
print("code 502")
continue
else:
print("ClientId: " + str(client_name_id) + " ClientVersion: " + str(client_version) + " @ " + host["domain"] +"Response Code: " + str(response.status_code))
sys.stderr.write(ClientId: " + str(client_name_id) + " ClientVersion: " + str(client_version) + " @ " + host["domain"] +"Response Code: " + str(response.status_code))
print("Counter: " + str(counter) + "ClientId: " + str(client_name_id) + " ClientVersion: " + str(client_version) + " @ " + host["domain"] +"Response Code: " + str(response.status_code))
sys.stderr.write("Counter: " + str(counter) + "ClientId: " + str(client_name_id) + " ClientVersion: " + str(client_version) + " @ " + host["domain"] +"Response Code: " + str(response.status_code))
sys.exit(response.status_code)
except Exception as ex:
print("request failed")
Expand Down

0 comments on commit efac8e3

Please sign in to comment.