{"action":"created","issue":{"url":"https://api.github.com/repos/wufeifei/cobra/issues/88","repository_url":"https://api.github.com/repos/wufeifei/cobra","labels_url":"https://api.github.com/repos/wufeifei/cobra/issues/88/labels{/name}","comments_url":"https://api.github.com/repos/wufeifei/cobra/issues/88/comments","events_url":"https://api.github.com/repos/wufeifei/cobra/issues/88/events","html_url":"https://github.com/wufeifei/cobra/issues/88","id":176158962,"number":88,"title":"新增规则：硬编码密码","user":{"login":"wufeifei","id":1611552,"avatar_url":"https://avatars.githubusercontent.com/u/1611552?v=3","gravatar_id":"","url":"https://api.github.com/users/wufeifei","html_url":"https://github.com/wufeifei","followers_url":"https://api.github.com/users/wufeifei/followers","following_url":"https://api.github.com/users/wufeifei/following{/other_user}","gists_url":"https://api.github.com/users/wufeifei/gists{/gist_id}","starred_url":"https://api.github.com/users/wufeifei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wufeifei/subscriptions","organizations_url":"https://api.github.com/users/wufeifei/orgs","repos_url":"https://api.github.com/users/wufeifei/repos","events_url":"https://api.github.com/users/wufeifei/events{/privacy}","received_events_url":"https://api.github.com/users/wufeifei/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/wufeifei/cobra/labels/rule","name":"rule","color":"0052cc"}],"state":"open","locked":false,"assignee":{"login":"wufeifei","id":1611552,"avatar_url":"https://avatars.githubusercontent.com/u/1611552?v=3","gravatar_id":"","url":"https://api.github.com/users/wufeifei","html_url":"https://github.com/wufeifei","followers_url":"https://api.github.com/users/wufeifei/followers","following_url":"https://api.github.com/users/wufeifei/following{/other_user}","gists_url":"https://api.github.com/users/wufeifei/gists{/gist_id}","starred_url":"https://api.github.com/users/wufeifei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wufeifei/subscriptions","organizations_url":"https://api.github.com/users/wufeifei/orgs","repos_url":"https://api.github.com/users/wufeifei/repos","events_url":"https://api.github.com/users/wufeifei/events{/privacy}","received_events_url":"https://api.github.com/users/wufeifei/received_events","type":"User","site_admin":false},"assignees":[{"login":"wufeifei","id":1611552,"avatar_url":"https://avatars.githubusercontent.com/u/1611552?v=3","gravatar_id":"","url":"https://api.github.com/users/wufeifei","html_url":"https://github.com/wufeifei","followers_url":"https://api.github.com/users/wufeifei/followers","following_url":"https://api.github.com/users/wufeifei/following{/other_user}","gists_url":"https://api.github.com/users/wufeifei/gists{/gist_id}","starred_url":"https://api.github.com/users/wufeifei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wufeifei/subscriptions","organizations_url":"https://api.github.com/users/wufeifei/orgs","repos_url":"https://api.github.com/users/wufeifei/repos","events_url":"https://api.github.com/users/wufeifei/events{/privacy}","received_events_url":"https://api.github.com/users/wufeifei/received_events","type":"User","site_admin":false},{"login":"LiGhT1EsS","id":4077553,"avatar_url":"https://avatars.githubusercontent.com/u/4077553?v=3","gravatar_id":"","url":"https://api.github.com/users/LiGhT1EsS","html_url":"https://github.com/LiGhT1EsS","followers_url":"https://api.github.com/users/LiGhT1EsS/followers","following_url":"https://api.github.com/users/LiGhT1EsS/following{/other_user}","gists_url":"https://api.github.com/users/LiGhT1EsS/gists{/gist_id}","starred_url":"https://api.github.com/users/LiGhT1EsS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LiGhT1EsS/subscriptions","organizations_url":"https://api.github.com/users/LiGhT1EsS/orgs","repos_url":"https://api.github.com/users/LiGhT1EsS/repos","events_url":"https://api.github.com/users/LiGhT1EsS/events{/privacy}","received_events_url":"https://api.github.com/users/LiGhT1EsS/received_events","type":"User","site_admin":false},{"login":"magerx","id":16398641,"avatar_url":"https://avatars.githubusercontent.com/u/16398641?v=3","gravatar_id":"","url":"https://api.github.com/users/magerx","html_url":"https://github.com/magerx","followers_url":"https://api.github.com/users/magerx/followers","following_url":"https://api.github.com/users/magerx/following{/other_user}","gists_url":"https://api.github.com/users/magerx/gists{/gist_id}","starred_url":"https://api.github.com/users/magerx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magerx/subscriptions","organizations_url":"https://api.github.com/users/magerx/orgs","repos_url":"https://api.github.com/users/magerx/repos","events_url":"https://api.github.com/users/magerx/events{/privacy}","received_events_url":"https://api.github.com/users/magerx/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2016-09-10T05:23:10Z","updated_at":"2016-09-14T03:50:57Z","closed_at":null,"body":"# Need Matched\r\n\r\n## Match 1 @LiGhT1EsS \r\n```\r\n$pwd = 'test';\r\n$passwd = 'test';\r\n$password = 'test';\r\n\r\nconst PAD = 'te\\'s12$t';\r\nconst X_PASSWD = 'te\\'s12$t';\r\nconst A_PASSWORD = 'te\\'s12$t';\r\n\r\nprivate $ftp_pwd = 'test123';\r\nprivaate $ssh_passwd = \"tes1t\";\r\nprivaate $db_password = \"tes1t\";\r\n\r\n'pwd' => 'test123'\r\n'passwd' => 'test123'\r\n'password' => 'test123'\r\n\r\n$pwd = md5(\"test123\");\r\n$passwd = md5('test123');\r\n$password = md5(\"test123\");\r\n\r\n$VAR_ZPDO['ctu']['pwd'] = 'test123';\r\n$VAR_ZPDO['ctu']['passwd'] = 'test123';\r\n$VAR_ZPDO['ctu']['password'] = 'test123';\r\n```\r\n\r\n## Match 2\r\n```php\r\nmysql -uroot -p'test123' -e \"ALTER TABLE TEST ADD INDEX(twitterId);\"\r\n```\r\n\r\n## Match 3\r\n```php\r\n$pdo = new PDO(\"mysql:host=127.0.0.1;dbname=stats\", 'bda', 'thisispassword');\r\n```\r\n\r\n## Match 4\r\n```php\r\n$con = mysql_connect('127.0.0.1:3306', 'root', 'thisispassword');\r\n```\r\n\r\n## Match 5\r\n```php\r\ncurl_setopt($curl, CURLOPT_USERPWD, \"thisispassword\");\r\n```\r\n# Don't Matched\r\n```php\r\n$password = post('password');\r\n<input type=\"password\" placeholder=\"Password...\" class=\"form-control\">\r\n```"},"comment":{"url":"https://api.github.com/repos/wufeifei/cobra/issues/comments/246898917","html_url":"https://github.com/wufeifei/cobra/issues/88#issuecomment-246898917","issue_url":"https://api.github.com/repos/wufeifei/cobra/issues/88","id":246898917,"user":{"login":"LiGhT1EsS","id":4077553,"avatar_url":"https://avatars.githubusercontent.com/u/4077553?v=3","gravatar_id":"","url":"https://api.github.com/users/LiGhT1EsS","html_url":"https://github.com/LiGhT1EsS","followers_url":"https://api.github.com/users/LiGhT1EsS/followers","following_url":"https://api.github.com/users/LiGhT1EsS/following{/other_user}","gists_url":"https://api.github.com/users/LiGhT1EsS/gists{/gist_id}","starred_url":"https://api.github.com/users/LiGhT1EsS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LiGhT1EsS/subscriptions","organizations_url":"https://api.github.com/users/LiGhT1EsS/orgs","repos_url":"https://api.github.com/users/LiGhT1EsS/repos","events_url":"https://api.github.com/users/LiGhT1EsS/events{/privacy}","received_events_url":"https://api.github.com/users/LiGhT1EsS/received_events","type":"User","site_admin":false},"created_at":"2016-09-14T03:50:57Z","updated_at":"2016-09-14T03:50:57Z","body":"还有一种：define(\"PASSWORD\", \"123456\");"}}
{"actor":{"display_login":"LiGhT1EsS"}}