• Skip to main content
  • Skip to header right navigation
  • Skip to site footer
  • About
  • Contact
  • Subscribe
  • Advertise
methodshop

methodshop

tech news, reviews & how to's

  • Top Stories
  • Latest
  • Fun
  • Life
  • Learn

Home : VIDEO: Shellshock Bug Explained + Helpful Command Line Tests

Shellshock Bug Explained

VIDEO: Shellshock Bug Explained + Helpful Command Line Tests

September 26, 2014 by Joe Michaels
FacebookTweetPinLinkedIn

If you run a website, then you’ve probably heard about a massive new security flaw called Shellshock. Any web server using Unix, Linux or Mac OS X is at risk of being hacked into and giving root access to all of your files.

As you might guess, everyone’s freaked out. We all know it’s bad, but what exactly does the Shellshock bug mean to the average blogger or business owner and how do you test your server to see if you’re at risk? In this video, YouTube user Tom Scott tells you everything you need to know about Shellshock in just 4 mins. We’ve also posted some shell commands that will enable you to test your server below.

If you want to see if you’re at risk from Shellshock, then connect to your server and copy and paste the below into a command prompt (doesn’t have to be root).

env x='() { :;}; echo vulnerable’ bash -c ‘echo hello’

If it echoes the below you are vulnerable:

[[email protected] rtm-admin]# env x='() { :;}; echo vulnerable’ bash -c ‘echo hello’
vulnerable
hello

If you are patched it will echo the following:

[[email protected] ~]# env x='() { :;}; echo vulnerable’ bash -c ‘echo hello’
bash: warning: x: ignoring function definition attempt
bash: error importing function definition for `x’
hello

If you want to check your httpd access logs to see if hackers have been checking you out:

cat /var/log/httpd/access_log | grep “{ :;}”

 

If you’re unsure about using command line, then ask a professional for help. Command line can be pretty powerful stuff. Whatever you do, DON’T type “rm -rf /” unless you want to erase everything. Those 8 characters have the power to kill. Be careful and good luck!

Related Posts:

  • Music industry tests digital-only releases
    Music industry tests digital-only releases
  • 6 Helpful Tips On How To Use Social Media at a Renaissance Faire
    6 Helpful Tips On How To Use Social Media at a Renaissance…
  • Helpful Infographic Shows You How To Stay Out of Jail on Super Bowl Sunday
    Helpful Infographic Shows You How To Stay Out of Jail on…



FacebookTweetPinLinkedIn
Tag: Apple, Bash, Internet, linux, Mac OS X, Security, Shellshock, Tom Scott, Unix, YouTube
Previous Post: « Giant Wasp Nest VIDEO: Massive Wasp Nest On Living Room Window
Next Post: Infographic: The Evolution of Cell Phone Chargers Cellphone Charger Evolution »

Sidebar

Trending Now

  • 18 Weird Facts About Sea-Monkeys You Won't Believe Are True, Including Their Connection To The Ku Klux Klan18 Weird Facts About Sea-Monkeys You Won’t Believe Are True, Including Their…
  • 20 Famous People Who Are Members Of The Sleepless Elite20 Famous People Who Are Members Of The Sleepless Elite
  • 7 Pictures Of Naked People Captured By Google's Cameras7 Pictures Of Naked People Captured By Google’s Cameras
  • 25 Reasons Why Action Park Was The World's Most Dangerous Amusement Park25 Reasons Why Action Park Was The World’s Most Dangerous Amusement Park
  • 50+ Famous Happy Birthday Quotes From Notable Personalities50+ Famous Happy Birthday Quotes From Notable Personalities
  • How To Easily Create A PayPal Shipping Label Without InvoiceHow To Easily Create A PayPal Shipping Label Without Invoice
  • The 30 Best Caddyshack Quotes That'll Make You LaughThe 30 Best Caddyshack Quotes That’ll Make You Laugh
  • 55 Funny Out Of Office Messages That Will Make Your Coworkers Smile55 Funny Out Of Office Messages That Will Make Your Coworkers Smile
  • 3 Ways Dropbox Showcase Makes Life Easier For Photographers3 Ways Dropbox Showcase Makes Life Easier For Photographers
  • Controversial Nimbus 2000 Vibrating Harry Potter Broomstick Has Parents In An UproarControversial Nimbus 2000 Vibrating Harry Potter Broomstick Has Parents In An Uproar

Categories

About

MethodShop’s mission is to entertain, inform, and sometimes gross you out. MethodShop has affiliate relationships, so we may get a small share of the revenue from your purchases. Items are sold by the retailer, not by us. All prices are subject to change.

Latest

Vintage Sexist Ads

The 25 Most Sexist Ads From The Mad Men Era Of Advertising

Alexa Music

15 Essential Music Commands For Amazon Alexa

Follow

  • Facebook
  • Twitter
  • Instagram
  • YouTube
  • Pinterest
MethodShop Animated Zoom Icon
  • About
  • Submit
  • Disclaimer
  • Privacy Policy
  • Contact
  • Subscribe
  • Store

Copyright © 2022 MethodShop · All Rights Reserved · Powered by BizBudding Inc.

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie settingsACCEPT
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Non-necessary
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
SAVE & ACCEPT