TorryCrass.com

  • About
  • Gallery

Bash

Scripting

Linux Script Error: Bad Substitution (change shell from dash to bash)

This is a simple problem in the end that cost me serious troubleshooting time. Hopefully you found this article and it can save you some of what I lost. You may encounter a problem when running a script on the Linux CLI that results in error: bad substitution and a Read more…

By Torry Crass, 6 years6 years ago
Helpful Commands

List Files With Found Contents in Linux

There are so many ways to slice, dice, parse, and of course search through files in Linux. This is but one of those ways. What makes this method fancy is that it we go from finding and printing contents of all the files found to listing the columns related to Read more…

By Torry Crass, 7 years7 years ago
Scripting

Log Parsing Script for Shell Shock

The released script will take a given log directory, normally your website log directory, and search it for attempts to exploit the server using the recently released GNU Bourne Again Shell (bash) vulnerability also known as Shell Shock.  Once it identifies these entries, it will output them into a separate Read more…

By Torry Crass, 11 years ago
Security

Bash and Shell Shock Today, The Good, But Mostly Just Bad

A few days ago I posted about a nasty vulnerability pertaining to GNU Bourne Again Shell, otherwise known as bash,  The vulnerabilities still exist in unpatched systems and the scope of what could be affected is still expanding. The good news is a few vendors have provided updates clarifying that Read more…

By Torry Crass, 11 years11 years ago
Security

Holey Bash Batman! No Really, It Has Holes (CVE-2014-6271)

UPDATED: 09/26/2014 – 01:14 EST – Added vulnerability validation code This exploit may have bigger holes than even the Bat Cave.  CVE-2014-6271 (Credit to Stephane Chazelas for discovery) was publicly announced yesterday, September, 24th and some articles are already calling this bug a larger security hole than the recent Heartbleed SSL Read more…

By Torry Crass, 11 years11 years ago
Helpful Commands

List Locked Accounts in Linux

So you’re facing a system or security audit and you need to quickly print a list of accounts for the auditor as well as their statuses. Depending on your setup, this could be a trivial task. In other cases, especially with a passwd instance that doesn’t support the -a option, Read more…

By Torry Crass, 11 years11 years ago
Helpful Commands

Linux User Creation and Password Update with Simple Command Chaining

I needed to create a user, grant them super user sudo privileges, update user account passwords and expire them across a number of different servers so that the actual user could log in and be forced to change their password to a (hopefully) secure one after I was complete.  Initially, Read more…

By Torry Crass, 11 years11 years ago

Posts navigation

1 2 Next
Categories
  • Business (1)
  • Helpful Commands (23)
  • Notes (2)
  • Poetry (38)
  • Quips (3)
  • Scripting (6)
  • Security (19)
  • Technical (73)
  • Updates & News (9)
Valuable Products

Affordable Linode VPS

Help Others With Kiva

0.5GB Extra Storage with OneDrive

2GB Free Storage With Dropbox

 

Copyright & Image Usage
Content and images on this site are property of Torry Crass or their respective owners where cited or referenced.
Some images used through public domain licensing and obtained via http://www.publicdomainpictures.net/

© 2010 - 2018 TorryCrass.com

  • Gallery
  • NMP License v1.0
Hestia | Developed by ThemeIsle