• 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

  • Trending
  • Latest Stories
  • Fun
  • Culture
  • Learn
  • Tech
  • Search
You are here: Home / Entertainment / Internet / 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
Facebook0Tweet0Pin0LinkedIn0

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:

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

Facebook0Tweet0Pin0LinkedIn0
Category: Internet Tag: Apple, Bash, 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

  • How To Easily Create A PayPal Shipping Label Without InvoiceHow To Easily Create A PayPal Shipping Label Without Invoice
  • 7 Pictures Of Naked People Captured By Google's Cameras7 Pictures Of Naked People Captured By Google’s Cameras
  • The 30 Best Caddyshack Quotes That'll Make You LaughThe 30 Best Caddyshack Quotes That’ll Make You Laugh
  • Controversial Nimbus 2000 Vibrating Harry Potter Broomstick Has Parents In An UproarControversial Nimbus 2000 Vibrating Harry Potter Broomstick Has Parents In An Uproar
  • 50+ Famous Happy Birthday Quotes From Notable Personalities50+ Famous Happy Birthday Quotes From Notable Personalities
  • 20 Famous People Who Are Members Of The Sleepless Elite20 Famous People Who Are Members Of The Sleepless Elite
  • The 30 Best Office Space Quotes (How Many Do You Know?)The 30 Best Office Space Quotes (How Many Do You Know?)
  • How To Import Microsoft Teams Customized BackgroundsHow To Import Microsoft Teams Customized Backgrounds
  • 20 Silly 90s Fads That Were Cool Then, But Definitely Aren't Now20 Silly 90s Fads That Were Cool Then, But Definitely Aren’t Now
  • 20 Best Ferris Bueller Quotes From Ferris Bueller's Day Off20 Best Ferris Bueller Quotes From Ferris Bueller’s Day Off

Categories

COLD Podcast & Amazon Music

The COLD Podcast Gets Scooped Up In Exclusive Distribution Deal With Amazon Music And Has Been Optioned As A TV Series

Gina Carano Fired Poll

Was Disney Right To Fire Gina Carano From The Mandalorian?

After months of posting controversial messages on social media mocking pronouns supporting trans people, the 2020 election, face coverings, and Covid-19 lockdowns, The Mandalorian star Gina Carano got fired for her Instagram post about Jews in Nazi Germany that went too far for Disney.



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

The Sunbather by Ohad Meromi

The 25 Weirdest Statues And Sculptures From Around The World

Perseverance Mars Landing Photos

This Incredible Midair Photo Shows The Perseverance Mars Landing From Above

Follow

MethodShop Animated Zoom Icon
  • About
  • Submit
  • Disclaimer
  • Privacy Policy
  • Contact
  • Subscribe
  • Store

Copyright © 2021 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