Skip to content

Commit

Permalink
Fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
gamer191 authored Jun 21, 2024
1 parent 4f72bf8 commit 045c85d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions innerbrute.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
import requests

client_number = int(sys.argv[1])
client_versions = open(f'Clients/{client_number.zfill(3)}.txt', 'r').readlines()
client_versions = open(f'Clients/{client_number:03}.txt', 'r').readlines()
data_template = open('payloads/post_data.txt', 'r').read()

response_directory = f'responses/{client_number.zfill(3)}'
response_directory = f'responses/{client_number:03}'
if not os.path.exists(response_directory):
os.makedirs(response_directory)

Expand Down

0 comments on commit 045c85d

Please sign in to comment.