import { stripIndents } from 'common-tags' ; import type { Breach , Paste } from '../src/api/haveibeenpwned/types' ; export const VERIFIED_BREACH = { Name : 'Adobe' , Title : 'Adobe' , Domain : 'adobe.com' , BreachDate : '2013-10-04' , AddedDate : '2013-12-04T00:00:00Z' , ModifiedDate : '2013-12-04T00:00:00Z' , PwnCount : 152445165 , Description : 'In October 2013, 153 million Adobe accounts were breached with each containing an internal ID, username, email, <em>encrypted</em> password and a password hint in plain text. The password cryptography was poorly done and <a href="http://stricture-group.com/files/adobe-top100.txt" target="_blank" rel="noopener">many were quickly resolved back to plain text</a>. The unencrypted hints also <a href="http://www.troyhunt.com/2013/11/adobe-credentials-and-serious.html" target="_blank" rel="noopener">disclosed much about the passwords</a> adding further to the risk that hundreds of millions of Adobe customers already faced.' , LogoPath : 'https://haveibeenpwned.com/Content/Images/PwnedLogos/Adobe.png' , DataClasses : [ 'Email addresses' , 'Password hints' , 'Passwords' , 'Usernames' ] , IsVerified : true , IsFabricated : false , IsSensitive : false , IsRetired : false , IsSpamList : false , } ; export const UNVERIFIED_BREACH = { Name : 'Badoo' , Title : 'Badoo' , Domain : 'badoo.com' , BreachDate : '2013-06-01' , AddedDate : '2016-07-06T08:16:03Z' , ModifiedDate : '2016-07-06T08:16:03Z' , PwnCount : 112005531 , Description : 'In June 2016, <a href="http://motherboard.vice.com/read/another-day-another-hack-user-accounts-of-dating-site-badoo" target="_blank" rel="noopener">a data breach allegedly originating from the social website Badoo was found to be circulating amongst traders</a>. Likely obtained several years earlier, the data contained 112 million unique email addresses with personal data including names, birthdates and passwords stored as MD5 hashes. Whilst there are many indicators suggesting Badoo did indeed suffer a data breach, <a href="https://www.troyhunt.com/introducing-unverified-breaches-to-have-i-been-pwned" target="_blank" rel="noopener">the legitimacy of the data could not be emphatically proven</a> so this breach has been categorised as &quot;unverified&quot;.' , LogoPath : 'https://haveibeenpwned.com/Content/Images/PwnedLogos/Badoo.png' , DataClasses : [ 'Dates of birth' , 'Email addresses' , 'Genders' , 'Names' , 'Passwords' , 'Usernames' , ] , IsVerified : false , IsFabricated : false , IsSensitive : true , IsRetired : false , IsSpamList : false , } ; export const EXAMPLE_PASTE = { Source : 'Pastebin' , Id : '8Q0BvKD8' , Title : 'syslog' , Date : '2014-03-04T19:14:54Z' , EmailCount : 139 , } ; export const EXAMPLE_PASSWORD_HASHES = stripIndents `
  003D68EB55068C33ACE09247EE4C639306B:3
  1E4C9B93F3F0682250B6CF8331B7EE68FD8:3303003
  01330C689E5D64F660D6947A93AD634EF8F:1
` ;