Hi James, Sorry, I forgot the second set of <@CHAR CODE=13><@CHAR CODE=10> at the end of the <@ASSIGN local$httpHeader ...>
All HTTP Headers have to end with two carriage returns to mark where the content starts. For those that are interested in seeing the actual HTTP Response Headers, I might recommend FakeBrowser which you can download from my site http://xml-extra.net/webpage.xmlx?node=6 FakeServer allows you to see your HTTP Request Headers from a Browser or Web-service. HTTP Headers precede all your web traffic content (HTML, GIF, JPG, etc..) to instruct Browsers or Servers about your requests and responses, and is not visible when you 'view-source'. Thus the 'http' before all your URL's. :-). Attached is James' file which I have modified and I tested it on my machine. Cheers.... ----- Original Message ----- From: "James MacFarlane" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, September 04, 2002 1:02 PM Subject: Spoofing MIME headers -sorta > It didn't like that either :( > > - James > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Scott Cadillac > Sent: Wednesday, September 04, 2002 2:55 PM > To: Multiple recipients of list witango-talk > Subject: Re: Witango-Talk: Spoofing MIME headers -sorta > > Hi James, > > In your Results Action (Output_Image), you should try: > > <@ASSIGN local$encodeResults VALUE="false"><@ASSIGN local$httpHeader > 'HTTP/1.0 200 OK<@CHAR CODE=13><@CHAR CODE=10>Content-Type: image/gif<@CHAR > CODE=13><@CHAR CODE=10>Content-length: <@LENGTH <@VAR local$image>><@CHAR > CODE=13><@CHAR CODE=10>'><@PURGERESULTS><@VAR local$image encoding=none> > > > You don't need the <@VAR local$httpHeader encoding=none>. Once you make the > <@ASSIGN ...> for local$httpHeader, this information is passed to the > Web-server automatically and sent as your HTTP Header. Your output must > have been including the HTTP Header information twice (once properly and > once as text before your GIF content). > > >
ImageDetect.taf
Description: Binary data
