TechSNAP 82 Viewer Feedback – scottlinux | Thanks Chris and Allan,
How to Fetch DKIM Records from DNS
How to Fetch DKIM Records from DNS | DKIM is simply a TXT record in DNS. A simple host command can fetch this record. I’ll show you how! The command is: $ host -t TXT dkimrecord So how do you find that dkim value? DKIM records are in the following format: [selector]._domainkey.[domain] The selector and domain are provided in the email headers of
Check key length from the command line with OpenSSL
Check key length from the command line with OpenSSL | To check the key length of a certificate, use the openssl command. Here is how to check an RSA private key length: $ openssl rsa -text -noout -in private.key The top of the output will have: Private-Key: (1024 bit) For a certificates (.crt or .pem), use this command: $ openssl x509 -text -noout -in certificate.crt
OpenVAS 0 byte pdf | Backtrack Linux
OpenVAS 0 byte pdf | Backtrack Linux | If OpenVAS is creating 0 byte PDF reports, you will need to install some extra latex packages. For Backtrack Linux, just install this one meta package to pull in all that is required: $ sudo apt-get install texlive-latex-extra Done! Here is an example PDF.
fping for ICMP Discovery and Monitoring
fping for ICMP Discovery and Monitoring | fping is an ICMP command line utility to verify ICMP reponses from any number of targets. fping is a better choice than ping for scripting tasks as it is able to check a list or range of IP addresses in numerical order to discover ICMP response. I’ll show you some basic info on using fping!
useradd: cannot lock /etc/passwd; try again later.
useradd: cannot lock /etc/passwd; try again later. | Can’t add a user in Linux because of this: ‘useradd: cannot lock /etc/passwd; try again later.’ ? Here’s what to check! $ sudo useradd -m -g users -s /bin/bash jsmith useradd: cannot lock /etc/passwd; try again later. If you receive this message even when running with sudo, there are small lock files that are causing
Online regex checker
Online regex checker | If you ever needed to validate regular expressions, this site is invaluable. http://regexpal.com This site has really saved my bacon more than once. Check it out!
Install BIND in Red Hat 6 or CentOS 6
Install BIND in Red Hat 6 or CentOS 6 | As of Red Hat 6 and CentOS 6, the DNS server bind is super easy to get up and running. Here’s how it works! Install bind: $ sudo yum install bind Start bind – the service is called named $ sudo /etc/init.d/named start Generating /etc/rndc.key: [ OK ] Starting named: [ OK ] Done. If
Drupal Security Notes
Drupal Security Notes | Check out this article on Drupal Security: Drupal Security Notes If you find this topic interesting, you may also be interested in Expert Pen Testing or CISSP training. Cool!
Enable or Disable Compression in Apache
Enable or Disable Compression in Apache | I’ll show you a quick way to actively check a server for compression as well as how to disable compression in Apache. Note: This has _no_ effect on the CRIME TLS vulnerability. Test for Compression A simple test page to test for HTTP compression is here: http://www.gidnetwork.com/tools/gzip-test.php Or alternatively, below is a manual test for




