I have a list in .txt in the email | password format of my clients and I want to check the integrity of some entries. I wanted to create a variable that would catch line by txt line and change in curl payload the email and password. For example, it read .txt and tests the records one by one, line by line, automatically. example:
file.txt
[email protected]|123
[email protected]|456
[email protected]|789
The curl payload will look like this (an example):
payload = "username=variavel1&password=variavel2&clientVersion=2.4.9-undefined"
Variable1 would be the email, already variable 2 the client password, in case the first client would look something like this:
payload = "[email protected]&password=123&clientVersion=2.4.9-undefined"