[W3af-svn-notify] [Task #146172] Think about w3afCore.quit() , w3afCore.stop(), etc.
Status: Beta
Brought to you by:
andresriancho
From: SourceForge.net <no...@so...> - 2008-02-25 15:47:27
|
Task #146172 has been updated. Project: w3af Subproject: gtkUi - Phase 2 Summary: Think about w3afCore.quit() , w3afCore.stop(), etc. Complete: 100% Status: Closed Authority : andresriancho Assigned to: facundobatista Description: Think about w3afCore.quit() , w3afCore.stop(), etc. Follow-Ups: ------------------------------------------------------- Date: 2008-02-25 12:47 By: facundobatista Comment: All stop() and resume() works ok now. Commited in r731. ------------------------------------------------------- Date: 2008-02-12 14:17 By: facundobatista Comment: The pause() part is handled through other task for this phase 2. The KeyboardError exception appears, as the GUI can not catch it because it's generated in other thread (Andres will take a look at this). As of the rest of this task, it's implemented (r676) and almost working, but a strange error appears... it seems that a plugin is configured strangely, needs to check the cleanup() stuff. Andres? ------------------------------------------------------- Date: 2008-02-12 12:44 By: facundobatista Comment: Check r671. There I'm calling to stop, and then waiting for isRunning() to return False to change the button to "go back to config". But isRunning() is lying... ------------------------------------------------------- Date: 2008-02-11 19:34 By: andresriancho Comment: pyGTK should call: - w3afCore.stop() to stop the process but keep kb and cf in the current state. - w3afCore.cleanup() to clean all variables of the w3afCore, kb and config; in order to start a new scan. - w3afCore.pause(True) to pause the scan, and w3afCore.pause(False) to unpause the scan. Scans can be paused and then stoped. Please perform some testing with the cleanup() method, because it was implemented and never really tested. The stop() method may raise an KeyboardInterrupt exception. Thats "normal" because of the hack I used to code it ;) ------------------------------------------------------- For more info, visit: http://sourceforge.net/pm/task.php?func=detailtask&project_task_id=146172&group_id=170274&group_project_id=55112 |