Andres, Thanks for feedback!
22.10.2011 15:55, Andres Riancho пишет: > Taras, > > On Wed, Oct 19, 2011 at 5:18 AM, ox...@oxdef.info<ox...@oxdef.info> wrote: >> >> I just has commited generic auth plugin [0]. >> It can be used in most cases with simple auth form (username/password). Will >> be glad to read feedback from you! > > I think that the auth plugins are going to give lots of power to > the advanced users, they look very clean and I hope users will dig the > idea. Here are some comments about the code: > > * "except Exception, e:" , I would recommend doing a more > specific error handling if possible. In common I agree with this point of view. But it is *generic* plugin and we don't know in it about such things like "Incorrect password" or something like this. So we can only tell to the user that this generic plugin can't login? What else information can we say? > * o5 = option('auth_url', self.auth_url, d5, 'string') and o6, > I think that you can change 'string' with 'url', and you'll get better > error handling > * "This auth plugin can logging in to generic-passport" , help > is too short, I would expand that A LOT in order to explain what the > plugin does and how it does it. Agree with these two things and will fix it. > * Header is missing What header? > And how is this plugin used? When is login() / is_logged() / > logout() called? Hmmm, I can describe it on our wiki? > >> [0] >> https://w3af.svn.sourceforge.net/svnroot/w3af/branches/auth-plugins/plugins/auth/generic.py >> [1] >> https://w3af.svn.sourceforge.net/svnroot/w3af/branches/auth-plugins/scripts/script-auth_generic.w3af >> >> -- >> Taras >> -- Taras ------------------------------------------------------------------------------ The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev _______________________________________________ W3af-develop mailing list W3af-develop@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/w3af-develop