{"action":"created","issue":{"url":"https://api.github.com/repos/rapid7/metasploit-framework/issues/11094","repository_url":"https://api.github.com/repos/rapid7/metasploit-framework","labels_url":"https://api.github.com/repos/rapid7/metasploit-framework/issues/11094/labels{/name}","comments_url":"https://api.github.com/repos/rapid7/metasploit-framework/issues/11094/comments","events_url":"https://api.github.com/repos/rapid7/metasploit-framework/issues/11094/events","html_url":"https://github.com/rapid7/metasploit-framework/pull/11094","id":389119324,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM3MTg2ODA2","number":11094,"title":"Fix  DisclosureDate format ","user":{"login":"Auxilus","id":23075789,"node_id":"MDQ6VXNlcjIzMDc1Nzg5","avatar_url":"https://avatars1.githubusercontent.com/u/23075789?v=4","gravatar_id":"","url":"https://api.github.com/users/Auxilus","html_url":"https://github.com/Auxilus","followers_url":"https://api.github.com/users/Auxilus/followers","following_url":"https://api.github.com/users/Auxilus/following{/other_user}","gists_url":"https://api.github.com/users/Auxilus/gists{/gist_id}","starred_url":"https://api.github.com/users/Auxilus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Auxilus/subscriptions","organizations_url":"https://api.github.com/users/Auxilus/orgs","repos_url":"https://api.github.com/users/Auxilus/repos","events_url":"https://api.github.com/users/Auxilus/events{/privacy}","received_events_url":"https://api.github.com/users/Auxilus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-12-10T03:22:24Z","updated_at":"2018-12-10T06:19:13Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/rapid7/metasploit-framework/pulls/11094","html_url":"https://github.com/rapid7/metasploit-framework/pull/11094","diff_url":"https://github.com/rapid7/metasploit-framework/pull/11094.diff","patch_url":"https://github.com/rapid7/metasploit-framework/pull/11094.patch"},"body":"See https://github.com/rapid7/metasploit-framework/issues/10974 https://github.com/rapid7/metasploit-framework/pull/11090"},"comment":{"url":"https://api.github.com/repos/rapid7/metasploit-framework/issues/comments/445700375","html_url":"https://github.com/rapid7/metasploit-framework/pull/11094#issuecomment-445700375","issue_url":"https://api.github.com/repos/rapid7/metasploit-framework/issues/11094","id":445700375,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NTcwMDM3NQ==","user":{"login":"Auxilus","id":23075789,"node_id":"MDQ6VXNlcjIzMDc1Nzg5","avatar_url":"https://avatars1.githubusercontent.com/u/23075789?v=4","gravatar_id":"","url":"https://api.github.com/users/Auxilus","html_url":"https://github.com/Auxilus","followers_url":"https://api.github.com/users/Auxilus/followers","following_url":"https://api.github.com/users/Auxilus/following{/other_user}","gists_url":"https://api.github.com/users/Auxilus/gists{/gist_id}","starred_url":"https://api.github.com/users/Auxilus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Auxilus/subscriptions","organizations_url":"https://api.github.com/users/Auxilus/orgs","repos_url":"https://api.github.com/users/Auxilus/repos","events_url":"https://api.github.com/users/Auxilus/events{/privacy}","received_events_url":"https://api.github.com/users/Auxilus/received_events","type":"User","site_admin":false},"created_at":"2018-12-10T06:19:13Z","updated_at":"2018-12-10T06:19:13Z","author_association":"CONTRIBUTOR","body":"no..\r\n```\r\nrequire 'time'\r\n\r\nDir.glob('*.rb').each do |file|\r\n  puts file\r\n  data = File.read(file)\r\n  if data =~ /[\"']DisclosureDate[\"'].*\\=\\>[\\x0d\\x20]*['\\\"](.+?)['\\\"]/\r\n    date = $1\r\n    #if date =~ /\\[A-z]\\w+/\r\n    d = Date.parse(date)\r\n    p \"new: #{d.iso8601}\"\r\n    data.sub!(date, d.iso8601)\r\n    File.open(file, \"w\") {|file| file.puts data }\r\n    p \"old: #{date}\"\r\n    #end\r\n  else\r\n    puts \"no date in #{file}\"\r\n  end\r\nend\r\n```"}}
{"actor":{"display_login":"Auxilus"}}