When I spotted Steph's wrapper on R-Bloggers, I was quite happy as a result.
Steph built HIBPwned to allow users to:
- Set up your own notification system for account breaches of myriad email addresses & user names that you have
- Check for compromised company email accounts from within your company Active Directory
- Analyse past data breaches and produce reports and visualizations
You can also use devtools to install directly from the Censornet Github
# Get or upgrade from github
Source is available on the Censornet Github, as is recommended usage guidance.
As you run any of the HIBPwned functions, be sure to have called the library first: library("HIBPwned").
As mentioned, I've seen my share of pwnage, luckily to no real impact, but annoying nonetheless, and well worth constant monitoring.
I first combined my accounts into a vector and confirmed what I've already mentioned, popped thrice:
account_breaches(c("email@example.com","firstname.lastname@example.org","email@example.com"), truncate = TRUE)
You may want to call specific details about each breach to learn more, easily done continuing with my scenario using breached_site() for the company name or breached_sites() for its domain.
Need some simple markdown to run every so often and keep an eye on your accounts? Try HIBPwned.Rmd. Download the file, open it R Studio, swap out my email addresses for yours, then select Knit HTML. You can also produce Word or PDF output if you'd prefer.
Hi Russ, thank you for this great coverage!
I've submitted a PR to your RMD - you said you're learning R so I thought you might appreciate seeing how you can make a presentation function that combines the results into a table and shows it more prettily than my basic examples do. Different people have different table manipulation package preferences so I avoided being partisan in my vignettes and README ;)
You may also be interest in this gist for building a simple word cloud of breaches where the size of the name is based on the size of the breach... https://gist.github.com/stephlocke/865c368e627021970ac6645722a6d9ef
Thanks once again,
Post a Comment