Action()
{
web_url("webTours",
"URL=http://127.0.0.1:1080/webTours/",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t19.inf",
"Mode=HTML",
LAST);
lr_think_time(8);
web_submit_form("login.pl",
"Snapshot=t20.inf",
ITEMDATA,
"Name=username", "Value=jojo", ENDITEM,
"Name=password", "Value=bean", ENDITEM,
"Name=login.x", "Value=45", ENDITEM,
"Name=login.y", "Value=9", ENDITEM,
LAST);
web_image("Search Flights Button",
"Alt=Search Flights Button",
"Snapshot=t21.inf",
LAST);
web_set_sockets_option("SSL_VERSION", "TLS1.1");
/*web_custom_request("urs.asmx",
"URL=https://urs.microsoft.com/urs.asmx?MSURS-Client-Key=8/T0LeicT0EQJW3fLWuzdQ%3d%3d&MSURS-MAC=toVs0jupe9s%3d",
"Method=POST",
"Resource=0",
"RecContentType=text/xml",
"Referer=",
"Snapshot=t22.inf",
"Mode=HTML",
"EncType=text/xml; charset=utf-8",
"Body=<RepLookup v=\"6\"><G>4A72F430-B40C-4D36-A068-CE33ADA5ADF9</G><O>43BB80A1-B68C-5F1E-344A-E003D1EC4EA0</O><DID>NH2kg3UcVN93buSudgwWZbiWEKiwOzJswHisCefuG+g=:0</DID><UID>m:1b851cd2d9086b19</UID><D>10.0.8110.6</D><C>11.0.0.0</C><OS>10.0.17763.0.0</OS><I>9.11.17763.0</I><L>zh-CN</L><RU>aHR0cDovLzEyNy4wLjAuMToxMDgwL2NnaS1iaW4vd2VsY29tZS5wbD9zaWduT2ZmPXRydWU=</RU><RI>127.0.0.1</RI><R><Rq><URL>aHR0cDovLzEyNy4wLjAuMToxMDgwL1dlYlRvdXJzL2hvbWUuaHRtbA==</URL><O>POST</O><T>TOP</T><HIP>127.0.0.1</HIP></Rq>"
"</R><WA/><PRT/></RepLookup>",
LAST);
web_custom_request("urs.asmx_2",
"URL=https://urs.microsoft.com/urs.asmx?MSURS-Client-Key=/qunoUKNEH8SdfCSJIyHzA%3d%3d&MSURS-MAC=Qgk9XAS5FUs%3d",
"Method=POST",
"Resource=0",
"RecContentType=text/xml",
"Referer=",
"Snapshot=t23.inf",
"Mode=HTML",
"EncType=text/xml; charset=utf-8",
"Body=<RepLookup v=\"6\"><G>4A72F430-B40C-4D36-A068-CE33ADA5ADF9</G><O>43BB80A1-B68C-5F1E-344A-E003D1EC4EA0</O><DID>NH2kg3UcVN93buSudgwWZbiWEKiwOzJswHisCefuG+g=:0</DID><UID>m:1b851cd2d9086b19</UID><D>10.0.8110.6</D><C>11.0.0.0</C><OS>10.0.17763.0.0</OS><I>9.11.17763.0</I><L>zh-CN</L><RU></RU><RI>127.0.0.1</RI><R><Rq><URL>aHR0cDovLzEyNy4wLjAuMToxMDgwL3dlYlRvdXJzLw==</URL><O>POST</O><T>TOP</T><HIP>127.0.0.1</HIP></Rq><Rq><URL>aHR0cDovLzEyNy4wLjAuMToxMDgwL3dlYlRvdXJzL2hlYWRlci5odG1s</URL><O>POST</O><T"
">FRAME</T><HIP>0.0.0.0</HIP></Rq><Rq><URL>aHR0cDovLzEyNy4wLjAuMToxMDgwL1dlYlRvdXJzL2hvbWUuaHRtbA==</URL><O>POST</O><T>FRAME</T><HIP>0.0.0.0</HIP></Rq></R><WA/><PRT>2221</PRT></RepLookup>",
LAST);
web_custom_request("urs.asmx_3",
"URL=https://urs.microsoft.com/urs.asmx?MSURS-Client-Key=f4MncXxkga6ZUcrZze74sw%3d%3d&MSURS-MAC=d8UBEntEvrQ%3d",
"Method=POST",
"Resource=0",
"RecContentType=text/xml",
"Referer=",
"Snapshot=t24.inf",
"Mode=HTML",
"EncType=text/xml; charset=utf-8",
"Body=<RepLookup v=\"6\"><G>4A72F430-B40C-4D36-A068-CE33ADA5ADF9</G><O>43BB80A1-B68C-5F1E-344A-E003D1EC4EA0</O><DID>NH2kg3UcVN93buSudgwWZbiWEKiwOzJswHisCefuG+g=:0</DID><UID>m:1b851cd2d9086b19</UID><D>10.0.8110.6</D><C>11.0.0.0</C><OS>10.0.17763.0.0</OS><I>9.11.17763.0</I><L>zh-CN</L><RU>aHR0cDovLzEyNy4wLjAuMToxMDgwL2NnaS1iaW4vd2VsY29tZS5wbD9wYWdlPXNlYXJjaA==</RU><RI>0.0.0.0</RI><R><Rq><URL>aHR0cDovLzEyNy4wLjAuMToxMDgwL1dlYlRvdXJzL2NsYXNzZXMv</URL><O>PRE</O><T>ACTIVEX</T><HIP>0.0.0.0</HIP></Rq></R>"
"<WA/><PRT>2132</PRT></RepLookup>",
LAST);
web_custom_request("urs.asmx_4",
"URL=https://urs.microsoft.com/urs.asmx?MSURS-Client-Key=O%2bAe/O5bZng1vo5zRHvOzQ%3d%3d&MSURS-MAC=%2b0DQfG7oYJI%3d",
"Method=POST",
"Resource=0",
"RecContentType=text/xml",
"Referer=",
"Snapshot=t25.inf",
"Mode=HTML",
"EncType=text/xml; charset=utf-8",
"Body=<RepLookup v=\"6\"><G>4A72F430-B40C-4D36-A068-CE33ADA5ADF9</G><O>43BB80A1-B68C-5F1E-344A-E003D1EC4EA0</O><DID>NH2kg3UcVN93buSudgwWZbiWEKiwOzJswHisCefuG+g=:0</DID><UID>m:1b851cd2d9086b19</UID><D>10.0.8110.6</D><C>11.0.0.0</C><OS>10.0.17763.0.0</OS><I>9.11.17763.0</I><L>zh-CN</L><RU>aHR0cDovLzEyNy4wLjAuMToxMDgwL2NnaS1iaW4vd2VsY29tZS5wbD9wYWdlPXNlYXJjaA==</RU><RI>0.0.0.0</RI><R><Rq><URL>aHR0cDovLzEyNy4wLjAuMToxMDgwL1dlYlRvdXJzL2NsYXNzZXMv</URL><O>PRE</O><T>ACTIVEX</T><HIP>0.0.0.0</HIP></Rq></R>"
"<WA/><PRT>2131</PRT></RepLookup>",
LAST);
web_custom_request("urstelemetry.asmx",
"URL=https://t.urs.microsoft.com/urstelemetry.asmx?MSTel-Client-Key=ns6c4aIBhS7FJupUx6o/%2bw%3d%3d&MSTel-MAC=kkZygQGvZBo%3d",
"Method=POST",
"Resource=0",
"RecContentType=text/xml",
"Referer=",
"Snapshot=t26.inf",
"Mode=HTML",
"EncType=text/xml; charset=utf-8",
"Body=<T v=\"6\"><G>4A72F430-B40C-4D36-A068-CE33ADA5ADF9</G><D>10.0.8110.6</D><C>11.0.0.0</C><OS>10.0.17763.0.0</OS><I>9.11.17763.0</I><L>zh-CN</L><O>PRE</O><ID>F970240B-BF18-42CC-A0EF-ABDC4C22A892</ID><DID>NH2kg3UcVN93buSudgwWZbiWEKiwOzJswHisCefuG+g=:0</DID><UID>m:1b851cd2d9086b19</UID><URL>aHR0cDovLzEyNy4wLjAuMToxMDgwL1dlYlRvdXJzL2NsYXNzZXMv</URL><RU>aHR0cDovLzEyNy4wLjAuMToxMDgwL2NnaS1iaW4vd2VsY29tZS5wbD9wYWdlPXNlYXJjaA==</RU><RI>0.0.0.0</RI><HIP>0.0.0.0</HIP><UI"
">3498296d128f9e33ec715aca16b0a9bf7c06a9ada56a451efbe3a7a8f21056aa</UI><S>1089</S><DI>fec0:0:0:ffff::1%1</DI><Y><T>B|0|100.0000</T><T>I|0|100.0000</T><T>D|1|95.0000</T><T>P|0|100.0000|6.5000</T><T>F|0|0.0070|0.0070|0.0070</T><T>R|0|100.0000</T><T>U|0|1.0000</T><T>W|0|0.0050</T><T>H|0|100.0000</T><T>O|0|100.0000</T><T>T|0|100.0000</T><T>PP|0|100.0000</T></Y><M>ASHN</M><Fs><F><URL>aHR0cDovLzEyNy4wLjAuMToxMDgwL1dlYlRvdXJzL2NsYXNzZXMv</URL><Z>ASHN</Z><H>D32|0|0|0|0|0,0</H><K>3a003a00</K><T>ACTIVEX</T>"
"<HIP>0.0.0.0</HIP><SC/><SH></SH><NS></NS><SSL/><SSLLen/><REDIR/></F></Fs><WA/><GS/><Err/></T>",
LAST);*/
web_submit_data("reservations.pl",
"Action=http://127.0.0.1:1080/cgi-bin/reservations.pl",
"Method=POST",
"RecContentType=text/html",
"Referer=http://127.0.0.1:1080/cgi-bin/reservations.pl?page=welcome",
"Snapshot=t27.inf",
"Mode=HTML",
ITEMDATA,
"Name=advanceDiscount", "Value=0", ENDITEM,
"Name=depart", "Value=Frankfurt", ENDITEM,
"Name=departDate", "Value=09/20/2019", ENDITEM,
"Name=arrive", "Value=London", ENDITEM,
"Name=returnDate", "Value=09/21/2019", ENDITEM,
"Name=numPassengers", "Value=1", ENDITEM,
"Name=seatPref", "Value=None", ENDITEM,
"Name=seatType", "Value=Coach", ENDITEM,
"Name=.cgifields", "Value=roundtrip", ENDITEM,
"Name=.cgifields", "Value=seatType", ENDITEM,
"Name=.cgifields", "Value=seatPref", ENDITEM,
"Name=findFlights.x", "Value=46", ENDITEM,
"Name=findFlights.y", "Value=18", ENDITEM,
LAST);
web_submit_form("reservations.pl_2",
"Snapshot=t28.inf",
ITEMDATA,
"Name=outboundFlight", "Value=120;266;09/20/2019", ENDITEM,
"Name=reserveFlights.x", "Value=47", ENDITEM,
"Name=reserveFlights.y", "Value=15", ENDITEM,
LAST);
lr_think_time(10);
web_submit_form("reservations.pl_3",
"Snapshot=t29.inf",
ITEMDATA,
"Name=firstName", "Value=Jojo", ENDITEM,
"Name=lastName", "Value=Bean", ENDITEM,
"Name=address1", "Value=", ENDITEM,
"Name=address2", "Value=", ENDITEM,
"Name=pass1", "Value=Jojo Bean", ENDITEM,
"Name=creditCard", "Value=", ENDITEM,
"Name=expDate", "Value=", ENDITEM,
"Name=saveCC", "Value=<OFF>", ENDITEM,
"Name=buyFlights.x", "Value=39", ENDITEM,
"Name=buyFlights.y", "Value=8", ENDITEM,
LAST);
web_submit_form("reservations.pl_4",
"Snapshot=t30.inf",
ITEMDATA,
"Name=Book Another.x", "Value=47", ENDITEM,
"Name=Book Another.y", "Value=10", ENDITEM,
LAST);
web_custom_request("urs.asmx_5",
"URL=https://urs.microsoft.com/urs.asmx?MSURS-Client-Key=BVjDrVPIlMTRiDrIatFzlQ%3d%3d&MSURS-MAC=QO3pbf2xEgg%3d",
"Method=POST",
"Resource=0",
"RecContentType=text/xml",
"Referer=",
"Snapshot=t31.inf",
"Mode=HTML",
"EncType=text/xml; charset=utf-8",
"Body=<RepLookup v=\"6\"><G>4A72F430-B40C-4D36-A068-CE33ADA5ADF9</G><O>43BB80A1-B68C-5F1E-344A-E003D1EC4EA0</O><DID>NH2kg3UcVN93buSudgwWZbiWEKiwOzJswHisCefuG+g=:0</DID><UID>m:1b851cd2d9086b19</UID><D>10.0.8110.6</D><C>11.0.0.0</C><OS>10.0.17763.0.0</OS><I>9.11.17763.0</I><L>zh-CN</L><RU>aHR0cDovLzEyNy4wLjAuMToxMDgwL2NnaS1iaW4vcmVzZXJ2YXRpb25zLnBs</RU><RI>0.0.0.0</RI><R><Rq><URL>aHR0cDovLzEyNy4wLjAuMToxMDgwL1dlYlRvdXJzL2NsYXNzZXMv</URL><O>PRE</O><T>ACTIVEX</T><HIP>0.0.0.0</HIP></Rq></R><WA/><PRT"
">1224</PRT></RepLookup>",
LAST);
return 0;}