Python Authentication with WordPress

Today, I was working on a script to automate detection of poor WordPress admin passwords by using the top 500 commonly used bad passwords. Digging into WordPress core functions is a simple task and I was quickly able to narrow down how they generate their password hashes to the following functions in wp-includes/pluggable.php:

function wp_hash_password($password) {
    global $wp_hasher;
    if ( 
read more

Homebrew Shellshock Fix

homebrew shellshock fix

Last week a major bug in the Bash shell was found, CVE-2014-6271, which provides remote code execution from a malicious attacker.

Here’s a detailed account:

GNU Bash through 4.3 processes trailing strings after function definitions in the values of environment variables, which allows remote attackers to execute arbitrary code via a crafted environment, as demonstrated by vectors involving the ForceCommand

read more

MySQL – Basic Design Concepts

MySQL is a relational database management system and when used properly becomes a great tool for storing and accessing data; however when designed and implemented improperly can cause many issues.

Recently while being introduced to a new project I noticed the database structure was practically non-existent leaving me blocked in continuing work. I had finished the front-end views and was … read more

Scrum Point Cards – Google Hangouts Extension

My hands can only show so many numbers, you know? So today I was looking into purchasing some Scrum Poker Cards for Pointing and during my research came across this awesome extension to Google Hangouts.

You can install it at the following URL:

https://googledrive.com/host/0B6f23k09j5OnSWJMcjVPeVVENGc/hangout.html

 

The original post where I found this can be found here:

https://plus.google.com/+ajmalRAMJAUN/posts/UQvgjp82BhZ

 

Please give … read more

App::cpanminus – The Skinny

It came to my attention today when I was asked to help a fellow programmer with a Perl Module dependency issue that not everyone is aware of cpanm / App::cpanminus. This perl module provides an amazing tool for installing Perl Modules and their dependencies.

How to install

A nice simple install just copy and paste this in your terminal:

curl 
read more

Perl Primer – Get Into Perl Fast

Perl

What is Perl?

Perl is a general-purpose programming language originally developed for text manipulation and now used for a wide range of tasks including system administration, web development, network programming, GUI development, and more.

The language is intended to be practical (easy to use, efficient, complete) rather than beautiful (tiny, elegant, minimal). Its major features are that it’s easy to

read more

Centering Rotated Elements

About a month ago I came across an issue where I was rotating some text to be vertical vs horizontal. When I did this it was impossible to keep the text correctly positioned.

Here’s the CSS I was using:

.box {
  width: 33.3%;
  height: 100%;
  float: left;
  font-size: 2em;
  cursor: pointer;
  filter: alpha(opacity=80);
  opacity: 0.8;
}
.vertical-text {
  -ms-transform: rotate(90deg);
  
read more

Bash While Loops – A How To

I work with a lot of people that just don’t understand what a while loop is, how it functions and most of all how to write one.

First off while loops are very useful for working with one-liners and data received on the command line. A while loop executes a portion of code until a condition that was true becomes … read more