{"action":"created","comment":{"url":"https://api.github.com/repos/owtf/owtf/pulls/comments/66904597","id":66904597,"diff_hunk":"@@ -5,35 +5,35 @@\n \n \n def run(PluginInfo):\n-    Content = DESCRIPTION + \" Results:<br />\"\n+    Content = []\n     plugin_params = ServiceLocator.get_component(\"plugin_params\")\n     config = ServiceLocator.get_component(\"config\")\n \n     args = {\n         'Description': DESCRIPTION,\n         'Mandatory': {\n-            'EMAIL_TARGET': config.Get('EMAIL_TARGET_DESCRIP'),\n-            'EMAIL_FROM': config.Get('EMAIL_FROM_DESCRIP'),\n-            'SMTP_LOGIN': config.Get('SMTP_LOGIN_DESCRIP'),\n-            'SMTP_PASS': config.Get('SMTP_PASS_DESCRIP'),\n-            'SMTP_HOST': config.Get('SMTP_HOST_DESCRIP'),\n-            'SMTP_PORT': config.Get('SMTP_PORT_DESCRIP'),\n-            'EMAIL_PRIORITY': config.Get('EMAIL_PRIORITY_DESCRIP'),\n-            'EMAIL_SUBJECT': config.Get('EMAIL_SUBJECT_DESCRIP'),\n-            'EMAIL_BODY': config.Get('EMAIL_BODY_DESCRIP'),\n+            'EMAIL_TARGET': config.FrameworkConfigGet('EMAIL_TARGET_DESCRIP'),\n+            'EMAIL_FROM': config.FrameworkConfigGet('EMAIL_FROM_DESCRIP'),\n+            'SMTP_LOGIN': config.FrameworkConfigGet('SMTP_LOGIN_DESCRIP'),\n+            'SMTP_PASS': config.FrameworkConfigGet('SMTP_PASS_DESCRIP'),\n+            'SMTP_HOST': config.FrameworkConfigGet('SMTP_HOST_DESCRIP'),\n+            'SMTP_PORT': config.FrameworkConfigGet('SMTP_PORT_DESCRIP'),\n+            'EMAIL_PRIORITY': config.FrameworkConfigGet('EMAIL_PRIORITY_DESCRIP'),\n+            'EMAIL_SUBJECT': config.FrameworkConfigGet('EMAIL_SUBJECT_DESCRIP'),\n+            'EMAIL_BODY': config.FrameworkConfigGet('EMAIL_BODY_DESCRIP'),\n         },\n         'Optional': {\n-            'EMAIL_ATTACHMENT': config.Get('EMAIL_ATTACHMENT_DESCRIP'),\n-            'REPEAT_DELIM': config.Get('REPEAT_DELIM_DESCRIP')}\n+            'EMAIL_ATTACHMENT': config.FrameworkConfigGet('EMAIL_ATTACHMENT_DESCRIP'),\n+            'REPEAT_DELIM': config.FrameworkConfigGet('REPEAT_DELIM_DESCRIP')}\n     }\n \n     for Args in plugin_params.GetArgs(args, PluginInfo):\n         plugin_params.SetConfig(Args)  # Update config\n         if ServiceLocator.get_component(\"smtp\").Send(Args):\n-            Content += \"Email delivered succcessfully\"\n+            print \"Email delivered succcessfully\"","path":"plugins/auxiliary/se/Targeted_Phishing@OWTF-ASEP-002.py","position":42,"original_position":42,"commit_id":"2ca79c3343889b64c0ab552399d5bb2a286eb176","original_commit_id":"2ca79c3343889b64c0ab552399d5bb2a286eb176","user":{"login":"delta24","id":4557897,"avatar_url":"https://avatars.githubusercontent.com/u/4557897?v=3","gravatar_id":"","url":"https://api.github.com/users/delta24","html_url":"https://github.com/delta24","followers_url":"https://api.github.com/users/delta24/followers","following_url":"https://api.github.com/users/delta24/following{/other_user}","gists_url":"https://api.github.com/users/delta24/gists{/gist_id}","starred_url":"https://api.github.com/users/delta24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/delta24/subscriptions","organizations_url":"https://api.github.com/users/delta24/orgs","repos_url":"https://api.github.com/users/delta24/repos","events_url":"https://api.github.com/users/delta24/events{/privacy}","received_events_url":"https://api.github.com/users/delta24/received_events","type":"User","site_admin":false},"body":"Can you use something like `cprint` or `logging` here instead of `print`?","created_at":"2016-06-14T03:35:12Z","updated_at":"2016-06-14T03:35:12Z","html_url":"https://github.com/owtf/owtf/pull/690#discussion_r66904597","pull_request_url":"https://api.github.com/repos/owtf/owtf/pulls/690","_links":{"self":{"href":"https://api.github.com/repos/owtf/owtf/pulls/comments/66904597"},"html":{"href":"https://github.com/owtf/owtf/pull/690#discussion_r66904597"},"pull_request":{"href":"https://api.github.com/repos/owtf/owtf/pulls/690"}}},"pull_request":{"url":"https://api.github.com/repos/owtf/owtf/pulls/690","id":70027162,"html_url":"https://github.com/owtf/owtf/pull/690","diff_url":"https://github.com/owtf/owtf/pull/690.diff","patch_url":"https://github.com/owtf/owtf/pull/690.patch","issue_url":"https://api.github.com/repos/owtf/owtf/issues/690","number":690,"state":"open","locked":false,"title":"Fix Aux plugins","user":{"login":"DoomTaper","id":10975138,"avatar_url":"https://avatars.githubusercontent.com/u/10975138?v=3","gravatar_id":"","url":"https://api.github.com/users/DoomTaper","html_url":"https://github.com/DoomTaper","followers_url":"https://api.github.com/users/DoomTaper/followers","following_url":"https://api.github.com/users/DoomTaper/following{/other_user}","gists_url":"https://api.github.com/users/DoomTaper/gists{/gist_id}","starred_url":"https://api.github.com/users/DoomTaper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DoomTaper/subscriptions","organizations_url":"https://api.github.com/users/DoomTaper/orgs","repos_url":"https://api.github.com/users/DoomTaper/repos","events_url":"https://api.github.com/users/DoomTaper/events{/privacy}","received_events_url":"https://api.github.com/users/DoomTaper/received_events","type":"User","site_admin":false},"body":"This is not a complete PR. As of now I am able to run OWTF-ADoS-001 aux plugin so before fixing other plugins I want to know if all changes are good to go. @delta24 @DePierre @7a @tunnelshade \r\n**Note:** only OWTF-ADoS-001 is working for now\r\n\r\n## Related Issue\r\n<!--- This project only accepts pull requests related to open issues -->\r\n<!--- If suggesting a new feature or change, please discuss it in an issue first -->\r\n<!--- If fixing a bug, there should be an issue describing it with steps to reproduce -->\r\n<!--- Please link to the issue here: -->\r\n#602 \r\n\r\n## How Has This Been Tested?\r\n<!--- Please describe in detail how you tested your changes. -->\r\n<!--- Include details of your testing environment, and the tests you ran to -->\r\n<!--- see how your change affects other areas of the code, etc. -->\r\ntested commands \r\n`./owtf.py -o OWTF-ADoS-001 RHOST=127.0.0.1 RPORT=80`\r\n`./owtf.py -o OWTF-ADoS-001 RPORT=80`\r\n`./owtf.py -o OWTF-ADoS-001 127.0.0.1`\r\n\r\n## Screenshots (if appropriate):\r\n<!--- Before the change and after the change. -->\r\n\r\n![screenshot 95](https://cloud.githubusercontent.com/assets/10975138/15255471/d5e2ffce-1959-11e6-8616-c8a355cc90b8.png)\r\n\r\n## Types of changes\r\n<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->\r\n- [x] Bug fix (non-breaking change which fixes an issue)\r\n- [ ] New feature (non-breaking change which adds functionality)\r\n- [ ] Breaking change (fix or feature that would cause existing functionality to change)\r\n- [ ] Other\r\n\r\n### Checklist:\r\n<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->\r\n<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->\r\n- [ ] My code follows the code style (modified PEP8) of this project.\r\n- [ ] My change requires a change to the documentation.\r\n- [ ] I have updated the documentation accordingly.","created_at":"2016-05-13T16:58:50Z","updated_at":"2016-06-14T03:35:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"aa573f24c51d1897787e0c5288cd5e00dc15b9a0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/owtf/owtf/pulls/690/commits","review_comments_url":"https://api.github.com/repos/owtf/owtf/pulls/690/comments","review_comment_url":"https://api.github.com/repos/owtf/owtf/pulls/comments{/number}","comments_url":"https://api.github.com/repos/owtf/owtf/issues/690/comments","statuses_url":"https://api.github.com/repos/owtf/owtf/statuses/2ca79c3343889b64c0ab552399d5bb2a286eb176","head":{"label":"DoomTaper:aux_plugins","ref":"aux_plugins","sha":"2ca79c3343889b64c0ab552399d5bb2a286eb176","user":{"login":"DoomTaper","id":10975138,"avatar_url":"https://avatars.githubusercontent.com/u/10975138?v=3","gravatar_id":"","url":"https://api.github.com/users/DoomTaper","html_url":"https://github.com/DoomTaper","followers_url":"https://api.github.com/users/DoomTaper/followers","following_url":"https://api.github.com/users/DoomTaper/following{/other_user}","gists_url":"https://api.github.com/users/DoomTaper/gists{/gist_id}","starred_url":"https://api.github.com/users/DoomTaper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DoomTaper/subscriptions","organizations_url":"https://api.github.com/users/DoomTaper/orgs","repos_url":"https://api.github.com/users/DoomTaper/repos","events_url":"https://api.github.com/users/DoomTaper/events{/privacy}","received_events_url":"https://api.github.com/users/DoomTaper/received_events","type":"User","site_admin":false},"repo":{"id":34998972,"name":"owtf","full_name":"DoomTaper/owtf","owner":{"login":"DoomTaper","id":10975138,"avatar_url":"https://avatars.githubusercontent.com/u/10975138?v=3","gravatar_id":"","url":"https://api.github.com/users/DoomTaper","html_url":"https://github.com/DoomTaper","followers_url":"https://api.github.com/users/DoomTaper/followers","following_url":"https://api.github.com/users/DoomTaper/following{/other_user}","gists_url":"https://api.github.com/users/DoomTaper/gists{/gist_id}","starred_url":"https://api.github.com/users/DoomTaper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DoomTaper/subscriptions","organizations_url":"https://api.github.com/users/DoomTaper/orgs","repos_url":"https://api.github.com/users/DoomTaper/repos","events_url":"https://api.github.com/users/DoomTaper/events{/privacy}","received_events_url":"https://api.github.com/users/DoomTaper/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/DoomTaper/owtf","description":"OWASP OWTF, the Offensive (Web) Testing Framework, is an OWASP+PTES-focused try to unite great tools and make pen testing more efficient, written mostly in Python @owtfp http://owtf.org","fork":true,"url":"https://api.github.com/repos/DoomTaper/owtf","forks_url":"https://api.github.com/repos/DoomTaper/owtf/forks","keys_url":"https://api.github.com/repos/DoomTaper/owtf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DoomTaper/owtf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DoomTaper/owtf/teams","hooks_url":"https://api.github.com/repos/DoomTaper/owtf/hooks","issue_events_url":"https://api.github.com/repos/DoomTaper/owtf/issues/events{/number}","events_url":"https://api.github.com/repos/DoomTaper/owtf/events","assignees_url":"https://api.github.com/repos/DoomTaper/owtf/assignees{/user}","branches_url":"https://api.github.com/repos/DoomTaper/owtf/branches{/branch}","tags_url":"https://api.github.com/repos/DoomTaper/owtf/tags","blobs_url":"https://api.github.com/repos/DoomTaper/owtf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DoomTaper/owtf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DoomTaper/owtf/git/refs{/sha}","trees_url":"https://api.github.com/repos/DoomTaper/owtf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DoomTaper/owtf/statuses/{sha}","languages_url":"https://api.github.com/repos/DoomTaper/owtf/languages","stargazers_url":"https://api.github.com/repos/DoomTaper/owtf/stargazers","contributors_url":"https://api.github.com/repos/DoomTaper/owtf/contributors","subscribers_url":"https://api.github.com/repos/DoomTaper/owtf/subscribers","subscription_url":"https://api.github.com/repos/DoomTaper/owtf/subscription","commits_url":"https://api.github.com/repos/DoomTaper/owtf/commits{/sha}","git_commits_url":"https://api.github.com/repos/DoomTaper/owtf/git/commits{/sha}","comments_url":"https://api.github.com/repos/DoomTaper/owtf/comments{/number}","issue_comment_url":"https://api.github.com/repos/DoomTaper/owtf/issues/comments{/number}","contents_url":"https://api.github.com/repos/DoomTaper/owtf/contents/{+path}","compare_url":"https://api.github.com/repos/DoomTaper/owtf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DoomTaper/owtf/merges","archive_url":"https://api.github.com/repos/DoomTaper/owtf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DoomTaper/owtf/downloads","issues_url":"https://api.github.com/repos/DoomTaper/owtf/issues{/number}","pulls_url":"https://api.github.com/repos/DoomTaper/owtf/pulls{/number}","milestones_url":"https://api.github.com/repos/DoomTaper/owtf/milestones{/number}","notifications_url":"https://api.github.com/repos/DoomTaper/owtf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DoomTaper/owtf/labels{/name}","releases_url":"https://api.github.com/repos/DoomTaper/owtf/releases{/id}","deployments_url":"https://api.github.com/repos/DoomTaper/owtf/deployments","created_at":"2015-05-03T20:04:58Z","updated_at":"2016-06-11T12:14:30Z","pushed_at":"2016-06-13T11:26:56Z","git_url":"git://github.com/DoomTaper/owtf.git","ssh_url":"git@github.com:DoomTaper/owtf.git","clone_url":"https://github.com/DoomTaper/owtf.git","svn_url":"https://github.com/DoomTaper/owtf","homepage":"https://www.owasp.org/index.php/OWASP_OWTF","size":17829,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"aux_plugins"}},"base":{"label":"owtf:develop","ref":"develop","sha":"4c5897d5f694c7c7733393630a9a12586954233b","user":{"login":"owtf","id":1230211,"avatar_url":"https://avatars.githubusercontent.com/u/1230211?v=3","gravatar_id":"","url":"https://api.github.com/users/owtf","html_url":"https://github.com/owtf","followers_url":"https://api.github.com/users/owtf/followers","following_url":"https://api.github.com/users/owtf/following{/other_user}","gists_url":"https://api.github.com/users/owtf/gists{/gist_id}","starred_url":"https://api.github.com/users/owtf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/owtf/subscriptions","organizations_url":"https://api.github.com/users/owtf/orgs","repos_url":"https://api.github.com/users/owtf/repos","events_url":"https://api.github.com/users/owtf/events{/privacy}","received_events_url":"https://api.github.com/users/owtf/received_events","type":"Organization","site_admin":false},"repo":{"id":3215654,"name":"owtf","full_name":"owtf/owtf","owner":{"login":"owtf","id":1230211,"avatar_url":"https://avatars.githubusercontent.com/u/1230211?v=3","gravatar_id":"","url":"https://api.github.com/users/owtf","html_url":"https://github.com/owtf","followers_url":"https://api.github.com/users/owtf/followers","following_url":"https://api.github.com/users/owtf/following{/other_user}","gists_url":"https://api.github.com/users/owtf/gists{/gist_id}","starred_url":"https://api.github.com/users/owtf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/owtf/subscriptions","organizations_url":"https://api.github.com/users/owtf/orgs","repos_url":"https://api.github.com/users/owtf/repos","events_url":"https://api.github.com/users/owtf/events{/privacy}","received_events_url":"https://api.github.com/users/owtf/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/owtf/owtf","description":"OWASP OWTF, the Offensive (Web) Testing Framework, is an OWASP+PTES-focused try to unite great tools and make pen testing more efficient, written mostly in Python @owtfp http://owtf.org","fork":false,"url":"https://api.github.com/repos/owtf/owtf","forks_url":"https://api.github.com/repos/owtf/owtf/forks","keys_url":"https://api.github.com/repos/owtf/owtf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/owtf/owtf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/owtf/owtf/teams","hooks_url":"https://api.github.com/repos/owtf/owtf/hooks","issue_events_url":"https://api.github.com/repos/owtf/owtf/issues/events{/number}","events_url":"https://api.github.com/repos/owtf/owtf/events","assignees_url":"https://api.github.com/repos/owtf/owtf/assignees{/user}","branches_url":"https://api.github.com/repos/owtf/owtf/branches{/branch}","tags_url":"https://api.github.com/repos/owtf/owtf/tags","blobs_url":"https://api.github.com/repos/owtf/owtf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/owtf/owtf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/owtf/owtf/git/refs{/sha}","trees_url":"https://api.github.com/repos/owtf/owtf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/owtf/owtf/statuses/{sha}","languages_url":"https://api.github.com/repos/owtf/owtf/languages","stargazers_url":"https://api.github.com/repos/owtf/owtf/stargazers","contributors_url":"https://api.github.com/repos/owtf/owtf/contributors","subscribers_url":"https://api.github.com/repos/owtf/owtf/subscribers","subscription_url":"https://api.github.com/repos/owtf/owtf/subscription","commits_url":"https://api.github.com/repos/owtf/owtf/commits{/sha}","git_commits_url":"https://api.github.com/repos/owtf/owtf/git/commits{/sha}","comments_url":"https://api.github.com/repos/owtf/owtf/comments{/number}","issue_comment_url":"https://api.github.com/repos/owtf/owtf/issues/comments{/number}","contents_url":"https://api.github.com/repos/owtf/owtf/contents/{+path}","compare_url":"https://api.github.com/repos/owtf/owtf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/owtf/owtf/merges","archive_url":"https://api.github.com/repos/owtf/owtf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/owtf/owtf/downloads","issues_url":"https://api.github.com/repos/owtf/owtf/issues{/number}","pulls_url":"https://api.github.com/repos/owtf/owtf/pulls{/number}","milestones_url":"https://api.github.com/repos/owtf/owtf/milestones{/number}","notifications_url":"https://api.github.com/repos/owtf/owtf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/owtf/owtf/labels{/name}","releases_url":"https://api.github.com/repos/owtf/owtf/releases{/id}","deployments_url":"https://api.github.com/repos/owtf/owtf/deployments","created_at":"2012-01-19T06:42:44Z","updated_at":"2016-06-13T15:06:16Z","pushed_at":"2016-06-13T11:26:57Z","git_url":"git://github.com/owtf/owtf.git","ssh_url":"git@github.com:owtf/owtf.git","clone_url":"https://github.com/owtf/owtf.git","svn_url":"https://github.com/owtf/owtf","homepage":"https://www.owasp.org/index.php/OWASP_OWTF","size":134055,"stargazers_count":294,"watchers_count":294,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":120,"mirror_url":null,"open_issues_count":38,"forks":120,"open_issues":38,"watchers":294,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/owtf/owtf/pulls/690"},"html":{"href":"https://github.com/owtf/owtf/pull/690"},"issue":{"href":"https://api.github.com/repos/owtf/owtf/issues/690"},"comments":{"href":"https://api.github.com/repos/owtf/owtf/issues/690/comments"},"review_comments":{"href":"https://api.github.com/repos/owtf/owtf/pulls/690/comments"},"review_comment":{"href":"https://api.github.com/repos/owtf/owtf/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/owtf/owtf/pulls/690/commits"},"statuses":{"href":"https://api.github.com/repos/owtf/owtf/statuses/2ca79c3343889b64c0ab552399d5bb2a286eb176"}}}}
{"actor":{"display_login":"delta24"}}