[W3af-svn-notify] [Task #147325] plugin configuration validation
Status: Beta
Brought to you by:
andresriancho
From: SourceForge.net <no...@so...> - 2008-03-28 08:08:00
|
Task #147325 has been updated. Project: w3af Subproject: gtkUi - Phase 2 Summary: plugin configuration validation Complete: 0% Status: Open Authority : andresriancho Assigned to: andresriancho Description: The validation of the plugin configuration values should be done when the user clicks "Save". This problem was discovered while talking with Eduardo at his home. Do you remember ? The steps to reproduce it are: 0) ./w3af -g 1) Go to audit and xss 2) Change numberOfChecks to 66 3) Click on Save (here a pop-up should appear) 4) Enter target URL 5) Click start (this pop-up message shouldn't appear, it should appear on step 3) Follow-Ups: ------------------------------------------------------- Date: 2008-03-28 05:07 By: andresriancho Comment: Once again, you were right! =) I modified the setPluginOptions of the core and now we have a working validation at that phase. Done in r879. ------------------------------------------------------- Date: 2008-03-27 23:25 By: facundobatista Comment: Agree that it should, but it not depends of the GUI, but the Core, see: In step 3, I save the information in the plugin: the Core seems to don't do any check here. In step 5, I set all the activated plugins (main.py, line 307), save the target url (line 315), and even I init all the plugins (line 321), and the core is OK with all that. But then I try to verify the environment (line 322), and the Core reacts with the w3afException. So, I think that the Core should react when I'm saving the plugin. If you think that the GUI should verify the environment each time the user saves a Plugin, reassign this to me (but also tell me if I should init all the plugins at that moment). Thanks! ------------------------------------------------------- Date: 2008-03-26 18:04 By: andresriancho Comment: Related to bug #1904368. ------------------------------------------------------- For more info, visit: http://sourceforge.net/pm/task.php?func=detailtask&project_task_id=147325&group_id=170274&group_project_id=55112 |