{"action":"closed","issue":{"url":"https://api.github.com/repos/andresriancho/w3af/issues/6726","labels_url":"https://api.github.com/repos/andresriancho/w3af/issues/6726/labels{/name}","comments_url":"https://api.github.com/repos/andresriancho/w3af/issues/6726/comments","events_url":"https://api.github.com/repos/andresriancho/w3af/issues/6726/events","html_url":"https://github.com/andresriancho/w3af/issues/6726","id":51977630,"number":6726,"title":"XML output (and other output plugins) generated every N seconds","user":{"login":"andresriancho","id":865200,"avatar_url":"https://avatars.githubusercontent.com/u/865200?v=3","gravatar_id":"","url":"https://api.github.com/users/andresriancho","html_url":"https://github.com/andresriancho","followers_url":"https://api.github.com/users/andresriancho/followers","following_url":"https://api.github.com/users/andresriancho/following{/other_user}","gists_url":"https://api.github.com/users/andresriancho/gists{/gist_id}","starred_url":"https://api.github.com/users/andresriancho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andresriancho/subscriptions","organizations_url":"https://api.github.com/users/andresriancho/orgs","repos_url":"https://api.github.com/users/andresriancho/repos","events_url":"https://api.github.com/users/andresriancho/events{/privacy}","received_events_url":"https://api.github.com/users/andresriancho/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/andresriancho/w3af/labels/improvement","name":"improvement","color":"02e10c"},{"url":"https://api.github.com/repos/andresriancho/w3af/labels/plugin","name":"plugin","color":"02d7e1"},{"url":"https://api.github.com/repos/andresriancho/w3af/labels/priority:medium","name":"priority:medium","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/andresriancho/w3af/milestones/3","html_url":"https://github.com/andresriancho/w3af/milestones/1.8%20-%20Increase%20benchmark%20coverage","labels_url":"https://api.github.com/repos/andresriancho/w3af/milestones/3/labels","id":249162,"number":3,"title":"1.8 - Increase benchmark coverage","description":" * Improve WAVSEP coverage\r\n * Improve sqlmap testenv coverage\r\n * Add Inquisition coverage tests\r\n * Add hackazon coverage tests","creator":{"login":"andresriancho","id":865200,"avatar_url":"https://avatars.githubusercontent.com/u/865200?v=3","gravatar_id":"","url":"https://api.github.com/users/andresriancho","html_url":"https://github.com/andresriancho","followers_url":"https://api.github.com/users/andresriancho/followers","following_url":"https://api.github.com/users/andresriancho/following{/other_user}","gists_url":"https://api.github.com/users/andresriancho/gists{/gist_id}","starred_url":"https://api.github.com/users/andresriancho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andresriancho/subscriptions","organizations_url":"https://api.github.com/users/andresriancho/orgs","repos_url":"https://api.github.com/users/andresriancho/repos","events_url":"https://api.github.com/users/andresriancho/events{/privacy}","received_events_url":"https://api.github.com/users/andresriancho/received_events","type":"User","site_admin":false},"open_issues":28,"closed_issues":44,"state":"open","created_at":"2013-01-22T12:23:24Z","updated_at":"2015-08-14T21:54:46Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2014-12-15T11:55:42Z","updated_at":"2015-08-14T21:54:46Z","closed_at":"2015-08-14T21:54:46Z","body":"Since w3af can crash/get killed by the user in the middle of the scan, it might be a good idea to write the XML output to the file every N seconds/minutes instead of waiting until the end of the scan. This would help some tools which wrap around w3af: they would get a usable output even if the scan is taking a long time.\r\n\r\nThe output.text_file is already doing this\r\n\r\nOutput plugins that would benefit from this change:\r\n - [x] csv_file\r\n - [x] export_requests\r\n - [x] html_file\r\n - [x] xml_file\r\n\r\nNeed to be careful with things like this in `html_file` plugin and other:\r\n```\r\nself._additional_info.clear()\r\n```\r\n\r\nWhich clear information after writing to disk.\r\n"}}