Re: [Zope-dev] how to accept an arbitrary parameter/anti-NIMDA script

2001-09-30 Thread Dieter Maurer

marc lindahl writes:
  I'm looking at how to get this anti-NIMDA script to work in zope (
  http://pc.xs4all.nl/default.ida)
  
  The thing is, it's called with a parameter (trying to cause a buffer
  overflow).   For example:
  
  
  /default.ida?XXX
  
  
  X%u9090%u6858%ucbd3%u7801%u9090%u6858%ucbd3%u7801%u9090%u6858%ucbd3%
  u7801%u9090%u9090%u8190%u00c3%u0003%u8b00%u531b%u53ff%u0078%u%u00=a
  
  
  That site has a default.ida which will pass back a perlscript that turns off
  that particular machine's virus under certain cases... sounds like a good
  thing.  But how can I get an object called default.ida to accept anything
  passed after the ? and what kind of object (python script?) should it be?
It can be anything with an explicit or implicit REQUEST parameter.

You can look at REQUEST.form, e.g. REQUEST.form.items().


Dieter

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: [Zope-dev] how to accept an arbitrary parameter/anti-NIMDA script

2001-09-28 Thread Florent Guillaume

You can use a **kw argument in a Python Script.

Florent Guillaume
Nuxeo

marc lindahl  [EMAIL PROTECTED] wrote:
 I'm looking at how to get this anti-NIMDA script to work in zope (
 http://pc.xs4all.nl/default.ida)
 
 The thing is, it's called with a parameter (trying to cause a buffer
 overflow).   For example:
 
 
 /default.ida?XXX
 
 
 X%u9090%u6858%ucbd3%u7801%u9090%u6858%ucbd3%u7801%u9090%u6858%ucbd3%
 u7801%u9090%u9090%u8190%u00c3%u0003%u8b00%u531b%u53ff%u0078%u%u00=a
 
 
 That site has a default.ida which will pass back a perlscript that turns off
 that particular machine's virus under certain cases... sounds like a good
 thing.  But how can I get an object called default.ida to accept anything
 passed after the ? and what kind of object (python script?) should it be?
 
 
 ___
 Zope-Dev maillist  -  [EMAIL PROTECTED]
 http://lists.zope.org/mailman/listinfo/zope-dev
 **  No cross posts or HTML encoding!  **
 (Related lists - 
  http://lists.zope.org/mailman/listinfo/zope-announce
  http://lists.zope.org/mailman/listinfo/zope )
 


-- 
Florent Guillaume, Nuxeo SARL (Paris, France)
+33 1 40 33 79 87  http://nuxeo.com  mailto:[EMAIL PROTECTED]

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )