Andres,

     1. falsePositiveManager is removed
     2. Added option for smtp server port, so it is validated as int in
        the 'option' class
     3. Added more text to the description =)
     4. Changed W3AF => w3af (by the way, why we use such notation?)
     5. Changed doc string for the class
     6. Committed to the trunk

> > NB! Plugin uses experimental false-positive manager to prevent sending a
> > lot of trash to your email. But I can switch off this feature.
> 
>     For now the falsePositive thing is too experimental, but the
> emailReport.py plugin is very nice, so I would recommend you remove
> the falsePositive manager from it and commit it to the trunk. Here are
> some other comments about the plugin:
> 
> - self.smtpServer, self.smtpPort = smtpServer.split(":") , I would
> validate there that the smtpPort is really an int, and not in server =
> smtplib.SMTP(self.smtpServer, int(self.smtpPort))
> 
> - getLongDesc() output should be LONG :) Please see the other outputs,
> where we describe the parameters, etc.
> 
> - msg['Subject'] = 'W3AF report on %s' % self.targets[0] , I would
> change that from "W3AF" to "w3af"
> 
> - '''Email reporter class.''' , please remember that this is shown in
> the consoleUi when a user lists all plugins. It should be more
> descriptive, something like "Email report to specified addresses".
> 
> > What do you think about it? Any comments are welcome!
> 
>     I haven't been able to run pylint over the plugin, does it pass
> without any errors?
Pylint shows mostly name convention warnings. May be we make config for
PyLint to test code against our code convention?

> 
> > [0]
> > http://w3af.svn.sourceforge.net/viewvc/w3af/branches/taras/plugins/output/emailReport.py
> 
>     Great stuff! :)
> 

-- 
Taras
http://oxdef.info
----
"Software is like sex: it's better when it's free." - Linus Torvalds



------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
_______________________________________________
W3af-develop mailing list
W3af-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/w3af-develop

Reply via email to