[prev in list] [next in list] [prev in thread] [next in thread] 

List:       grinder-use
Subject:    Re: [Grinder-use] Error Security token
From:       rub zorghy <gdrub13 () gmail ! com>
Date:       2012-06-20 9:06:09
Message-ID: CAHkdDooaLXw2C=_xDkbU7v2gWea5Ni=dhX9GiFGtkwsu3i8VZQ () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Thanks Gary for your advice.

2012/6/20 Gary Mulder <flyingkiwiguy@gmail.com>

> On 20 June 2012 07:16, rub zorghy <gdrub13@gmail.com> wrote:
> > Clearing cache/restarting browser did not solve the issue. The "GET"
> request
> > refers to the iwcp.js file (in attachment).
> >
> > $ grep iwcp grinder.py
> > request146 = Test(146, 'GET iwcp.js').wrap(request146)
> > request2647 = Test(2647, 'GET iwcp.js').wrap(request2647)
> >     request146.GET('/iwc_static/js/iwc/protocol/iwcp.js' +
> >     result = request301.POST('/iwc/svc/iwcp/login.iwc',
> >     result = request501.GET('/iwc/svc/iwcp/get_allprefs.iwc' +
> >     result = request1601.GET('/iwc/svc/iwcp/get_sieves.iwc' +
> >     result = request2501.GET('/iwc/svc/iwcp/logout.iwc' +
> >     request2647.GET('/iwc_static/js/iwc/protocol/iwcp.js' +
>
> I suspect the server error is due to the fact that you need to pass
> some authorisation token to your server. This token is likely stored
> in a cookie after you've called "/iwc/svc/iwcp/login.iwc" in
> request301. Try using your browser and an HTTP tracing tool like
> Fiddler (http://www.fiddler2.com/fiddler2/) to see the entire
> conversation between your browser and the server, keeping an eye out
> for what is returned when you login.
>
> There's some sample code on how to handle cookies in the Script
> Gallery (http://grinder.sourceforge.net/g3/script-gallery.html#cookies.py
> ).
>
> Regards,
> Gary
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> grinder-use mailing list
> grinder-use@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/grinder-use
>

[Attachment #5 (text/html)]

Thanks Gary for your advice.<br><br><div class="gmail_quote">2012/6/20 Gary Mulder \
<span dir="ltr">&lt;<a href="mailto:flyingkiwiguy@gmail.com" \
target="_blank">flyingkiwiguy@gmail.com</a>&gt;</span><br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"> <div class="im">On 20 June 2012 07:16, rub zorghy &lt;<a \
href="mailto:gdrub13@gmail.com">gdrub13@gmail.com</a>&gt; wrote:<br> &gt; Clearing \
cache/restarting browser did not solve the issue. The &quot;GET&quot; request<br> \
&gt; refers to the iwcp.js file (in attachment).<br> &gt;<br>
&gt; $ grep iwcp grinder.py<br>
&gt; request146 = Test(146, &#39;GET iwcp.js&#39;).wrap(request146)<br>
&gt; request2647 = Test(2647, &#39;GET iwcp.js&#39;).wrap(request2647)<br>
&gt;     request146.GET(&#39;/iwc_static/js/iwc/protocol/iwcp.js&#39; +<br>
&gt;     result = request301.POST(&#39;/iwc/svc/iwcp/login.iwc&#39;,<br>
&gt;     result = request501.GET(&#39;/iwc/svc/iwcp/get_allprefs.iwc&#39; +<br>
&gt;     result = request1601.GET(&#39;/iwc/svc/iwcp/get_sieves.iwc&#39; +<br>
&gt;     result = request2501.GET(&#39;/iwc/svc/iwcp/logout.iwc&#39; +<br>
&gt;     request2647.GET(&#39;/iwc_static/js/iwc/protocol/iwcp.js&#39; +<br>
<br>
</div>I suspect the server error is due to the fact that you need to pass<br>
some authorisation token to your server. This token is likely stored<br>
in a cookie after you&#39;ve called &quot;/iwc/svc/iwcp/login.iwc&quot; in<br>
request301. Try using your browser and an HTTP tracing tool like<br>
Fiddler (<a href="http://www.fiddler2.com/fiddler2/" \
target="_blank">http://www.fiddler2.com/fiddler2/</a>) to see the entire<br> \
conversation between your browser and the server, keeping an eye out<br> for what is \
returned when you login.<br> <br>
There&#39;s some sample code on how to handle cookies in the Script<br>
Gallery (<a href="http://grinder.sourceforge.net/g3/script-gallery.html#cookies.py" \
target="_blank">http://grinder.sourceforge.net/g3/script-gallery.html#cookies.py</a>).<br>
 <br>
Regards,<br>
Gary<br>
<div class="HOEnZb"><div class="h5"><br>
------------------------------------------------------------------------------<br>
Live Security Virtual Conference<br>
Exclusive live event will cover all the ways today&#39;s security and<br>
threat landscape has changed and how IT managers can respond. Discussions<br>
will include endpoint security, mobile security and the latest in malware<br>
threats. <a href="http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/" \
target="_blank">http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/</a><br> \
_______________________________________________<br> grinder-use mailing list<br>
<a href="mailto:grinder-use@lists.sourceforge.net">grinder-use@lists.sourceforge.net</a><br>
 <a href="https://lists.sourceforge.net/lists/listinfo/grinder-use" \
target="_blank">https://lists.sourceforge.net/lists/listinfo/grinder-use</a><br> \
</div></div></blockquote></div><br>



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

_______________________________________________
grinder-use mailing list
grinder-use@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/grinder-use


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic