Image for post
Image for post

According to Wikipedia, Typosquatting, “is a form of cybersquatting, and possibly brandjacking which relies on mistakes such as typos made by Internet users when inputting a website address into a web browser.” This same technique can be used to bypass email protections and get malicious mail into mailboxes with domains that are, or look like, they are authentic.

To thwart typosquatting you acquire look-alike domains before the bad guys, and you likely have domains that are used for things other than email. Here are some specific suggestions using SPF, DKIM, and DMARC to protect your domains that never send mail.

SPF


After upgrading to macOS Big Sur 11.2.1, I ran into an error after running a command to share my tmux config.

➜ ~ cat .tmux.conf | grep -v ^# | strings | pbcopy

xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

The fix is just an quick reinstall of the XCode command line tools, something that seems to be needed somewhat regularly after upgrading MacOS.

➜ ~ sudo xcode-select --install

Image for post
Image for post

But what happened? A little process of elimination reveals the command that triggered the error was strings. But why?

The error seems to point to xcrun. A…


Back of the napkin use of geolocation data to help validate connections to your services

Image for post
Image for post

I wrote previously about some basic use-cases of the incredibly awesome REST API from ipinfo.io for getting access to IP address data. That was great and all, but how can we make use this in our day-to-day operations?

To begin, create a free account to gain access to the higher usage limit of 50,000 API requests per month. After creating an account, access your dashboard from https://ipinfo.io/account, scroll down to the bottom, and grab your access token. You’ll need this later.

When someone’s credentials get compromised by spammers, you’re sure to see an increase in logins from locations that aren’t…


Image for post
Image for post

I hate winter. I need up-to-date data every couple of days telling me exactly how much more of winter I have to endure. I don’t trust foreign and/or unproven sources for this knowledge, I had to create something myself.

Here’s what I used:

Allocate a folder or something, example /var/www/html/spring, change to it, and download the plugin:

➜ ~ wget -q https://github.com/hilios/jQuery.countdown/releases/download/2.2.0/jquery.countdown-2.2.0.zip

➜ ~ unzip jquery.countdown-2.2.0.zip

➜ ~ cd jquery.countdown-2.2.0

➜ ~ cp jquery.countdown.js /var/www/html/spring

Make sure you have jQuery, too.

Create a file /var/www/html/spring/index.html with the contents below:

Navigate…

George J Ficzeri

I work in tech. Occasionally write about tech.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store