I need a script that works the way illustrated below...
Working with two text files.
The first file has lines like:
(...About 100 lines like these)
The second file has lines like:
(...About 500 lines like these)
Accessing the url '[url removed, login to view]', get the cookies, which are 2.
Now using that cookies POST 'A' 'B' 'C' parameters to '[url removed, login to view]'
Parameters 'A' and 'B' are found in the first file
The '00002' is the parameter 'A' and '9658' the 'B'
The 'C' parameter is found in the second file.
What I need is to test each line of the first file with all lines from the second file
Searching for '/LINE/MAGIC/' in the html response of the POST
If it finds the '/LINE/MAGIC/' then save in the file '[url removed, login to view]' the parameters
that were used to find it, like '00002|9658|102030'. Now the script should skip to
the next line in the first file because already found the right parameter 'C'...
*** I need it done ASAP
*** The script MUST be multi thread (testing several lines at once)