Forum Discussion
Rusty_Hale_8009
Nimbostratus
Apr 26, 2005Grab cookie contents and insert it as another.
I want to grab the contents of a cookie (from an http post) and insert that value into a new cookie with a different name. This is what I have so far that will not pass syntax:
when HT...
Rusty_Hale_8009
Nimbostratus
Apr 27, 2005Joe, It appears that the information I am trying to get is in the payload. I tried to get cookie and header and neither one work. It has to be in the payload. I am pasting the output of the tcpdump where I captured the transaction. You will see a line right after the Cookie: SMIDENTITY= and it starts with txtUsernameView= What I am trying to get is the second value which is txtUsername=00556987 and store the part after the = in a cookie. I have tried everything I know to try to capture this information. I am hoping you can help me out. Thanks.
POST /SiteminderAgent/Forms/Login/login.fcc HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-shockwave-flash, */*
Referer: http://login.bx05.aa.com/AACMApp/aacm_login/Login2.jsp?DYNAPP=JETNET&TYPE=33554433&REALMOID=06-3dd14351-13b7-00bd-0000-0fb600000fb6&GUID=&SMAUTHREASON=0&METHOD=GET&SMAGENTNAME=$SM$xlJw41cJE2Lt7cV2xXV8iexV9FKte%2fdzlVCtGXhmS%2fFCI3Ccg0ToAd91AhcF1bw%2bcEMe2ZRPCeU%3d&TARGET=$SM$http%3a%2f%2fetravel00001%2ey1%2eetravel%2ebx05%2eaa%2ecom%2fNonRev2App%2findex%2ejsp%3fheader%3dplanner
Accept-Language: en-us
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Host: login.bx05.aa.com
Content-Length: 274
Connection: Keep-Alive
Cache-Control: no-cache
Cookie: SMIDENTITY=xmiytBBnyHEnz8vzjZ0ePDVZbMm4/YWLHVOhDHi9svmTMHJAFBUq1TQGM/QZzPlvkhTtcHBjIoQX7oiMlIze0k2jFlhf/94jDxFXb9XcJA+uBlJGAe19HPhYmh78zAMb1ZnFtLdla8EwvywAAIZJ7SUVRVZdPCuOyJxR7bP2x+0aQzDP7PLLZG4hF3KLxIZghfXfom4ykgG3Y/VsnX/oSxFukWbQKJ3S4Pempl4xwPiKeqSyO+xUEXLxaZVp5koUU7T5v43YhFDt0d8IJJfbm7VA285nz1nUTtiqaUVWntibNLx5BY4qrjH05taFgyIFdVPstsTAkVMJEDHiJx9BT+PgHRcZ3e6pdSHa7tbZ0kQAUQtH8S8hklFY6Y4SBa9PIY21RKzcL8+4hcCU7eECHQxiWMTfEWZ6OKasYqxHDVH0n/YeuhWibKMEgu0tFX0kPB3Vjxx57O0Pyq+0V9Pp0COAEwHmZ9v0yOavRxGluO3IggAPYrk4tVXa4wV0qhCU7P3+ewGayiXGgwFUO5AOVaTrzH82KVdG9OyhlxKjNIScJ4Sqil2u4wltAjWL9CrluVlbk9Vrb7rHnajxa77JJ/FoS43bNa4gEEizdceggd7Of77E4MM9+ePz3ZPLtd8WSdCuLM8x5pM=; JSESSIONID=0DOGC33V5H1J0CUXH20SFEY
***** The next line is what I am trying to capture ****
txtUsernameView=556987&txtUsername=00556987&Password=sunshine69&target=%2FAACMApp%2Faacm_register%2Ffps6Redirect.jsp%3Ffinalpg%3Dhttp%253a%252f%252fetravel00001%252ey1%252eetravel%252ebx05%252eaa%252ecom%252fNonRev2App%252findex%252ejsp%253fheader%253dplanner&smauthreason=0HTTP/1.1 100
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects