Skip to content

A small bash script which uses USBRIP to parse sytem logs and alert user if suspicious devices have been connected to their computer via email.

Notifications You must be signed in to change notification settings

nsgodshall/USBRipCron

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

USBRipCron

A small bash script which uses USBRIP to parse sytem logs and alert user if suspicious devices have been connected to their computer via email. Meant to be used as a crontab.

How to use

Simply clone the shell script to a directory of your choosing and modify the $authDir variable in the script to the auth.json file that you made with USBRip (more information can be found here). Also ensure you change [email protected] and [email protected] in the scrip to the email adress for the updates to be sent to and the email adress sending the messages

Additionally [email protected] must be configured with your linux MTA. As of now, this script only supports sendmail, meaning that if you use a different MTA such as PostFix you must modify line 14 of the code to work with your MTA of choice. If you don't know what this means, you can easily configure your machine to work with this script by following this guide

About

A small bash script which uses USBRIP to parse sytem logs and alert user if suspicious devices have been connected to their computer via email.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages