Categories
Tips and Tricks

Prevent Ransomware By Automatically Finding The Checksum Of Downloaded Files

Apple has already shut down the ransomware found in the Transmission torrent client.  You can easily prevent this from happening to you in the future by adding a Hazel rule to your downloads folder, which will automatically determine the checksum, so you can compare it with the one the legitimate file has.

Categories
Automation

How I Went Paperless And Clutter-free For $32

Ever since I discovered Dropbox, I felt weighed down by the clutter of physical documents.  I use it for all of my digital documents.  After a while, physical documents and pieces of paper began to get on my nerves.  It was much easier to have searchable PDFs that I could access anywhere.  To that end, […]

Categories
Tips and Tricks Uncategorized

Automatically Sort Dropbox Camera Uploads Based On Their Geographical Data

I have been a long time fan of using Dropbox to manage my photos, even with the release of Photos.  I have especially liked it ever since Dropbox enabled Camera Uploads from their iOS app.  With my latest script, I can now upload photos from my iPhone and have them automatically sorted into folders based […]

Categories
Automation Uncategorized

Batch Rotate Photo Files With Hazel and sips

If you have a ton of photos that are all facing the wrong direction and don’t want to do them individually, you can use Hazel to automatically go through a folder and rotate the images for you.  All it takes is a one-line bash script and a Hazel rule. sips -r 90 “$f” This rotates the image 90 […]

Categories
Automation Uncategorized

Trigger Scripts Via Dropbox And Hazel

I haven’t found a great use for this yet, but you can have your Mac automatically run a script by simply creating a file/folder in your Dropbox.  To do this, you need to set up Hazel to watch your Dropbox folder for a certain file/folder, and if it appears, trigger a script.  You could also […]

Categories
Automation Uncategorized

Reduce And Resize Dropbox Camera Uploads Automatically With Hazel

I usually use my iPhone to take pictures for my Website and then upload them via the Dropbox app so they appear on my computer.  This is a nice feature, but the photos are way too large to use on a Website.  Instead of opening each one in Preview, scaling it down and saving it. […]

Categories
Tips and Tricks Uncategorized

Detecting Wirelurker Malware

[UPDATE] It appears the command and control infrastructure has been neutralized. Palo Alto has already written a script that will detect the Wirelurker malware.  It basically scans for the files known to be malicious.  Just download the script and run it from Terminal: curl -O https://raw.githubusercontent.com/PaloAltoNetworks-BD/WireLurkerDetector/master/WireLurkerDetectorOSX.py</code> python WireLurkerDetectorOSX.py

Categories
Tips and Tricks Uncategorized

Roll-you-own Ventir Trojan Detector for OS X

Get Alerted If Your Computer Gets Infected With The Ventir Trojan With this trick, you can get alerted if your system gets infected and then take steps to manually neutralize it.  The Ventir Trojan is a keylogger, which means all of your keystrokes are recorded.

Categories
Automation Uncategorized

Folder Actions On Yosemite Broken? Use launchd Instead

My roll-your-own malware detection has been having troubles in OS X Yosemite.  It appears that it increases CPU usage to abnormal amounts.  I have come up with two alternative solutions that you may want to try. To detect many pieces of malware, you will want to monitor these folders: /Library/LaunchAgents /Library/LaunchDaemons /Users/your_user/LaunchAgents There are other folders to […]

Categories
Tips and Tricks Uncategorized

Roll-your-own Defense Against Mac.BackDoor.iWorm

[UPDATE]: Advanced settings added below Get Alerted If Your Computer Gets Infected When the Mac.BackDoor.iWorm malware gets installed via pirated software, your computer and becomes part of a botnet.  While you may not be able to stop it from getting there, you can be alerted when it does and then take steps to manually neutralize it.