Results 1 to 11 of 11

Thread: Detect Heartbleed Vulnerability Script

  1. #1
    Join Date
    2014-Jul
    Posts
    19

    Detect Heartbleed Vulnerability Script

    Hi guys,
    this is my first bash script and I hope you enjoy it. This script detects Heartbleed vulnerability on IP address or domain.
    After downloading the file you will need to chmod a+x the file to run as executable.
    It is a simple little front end for NMAP so NMAP 6.25 minimum is required for this to work.
    Any feedback would be appreciated!

    http://www3.zippyshare.com/v/49808833/file.html

    Click the ORANGE DOWNLOAD button to the right the ones underneath are ads.

  2. #2
    I will check it out and let you know how it works.

  3. #3
    Join Date
    2014-Jun
    Location
    Greece
    Posts
    133
    Nice try Defaultzero but your script can be summarized in one command:
    Code:
    nmap -d --script ssl-heartbleed --script-args vulns.showall -sV $IP
    why want you try to filter $IP variable to accept only real/valid IPs. Let's say it will be a task/lesson for you and a good one I believe.
    You will learn allot of things.
    Security always begins with personal responsibility. - quietman7

  4. #4
    Join Date
    2014-Jul
    Posts
    19
    I am very aware of the one command. But instead of writing it all manually thats why I wrote script

  5. #5
    Join Date
    2014-Jun
    Location
    Greece
    Posts
    133
    Maybe I sounded a little mean. I don't want to offended you. That's the results when someone (me) don't handle correctly the English language.

    I'm just saying that the script is very simple.
    I don't find any difficulty to type an IP address or domain, ruther to run your script.
    Personally speaking I'd loved to see a more complex bash script.
    My apologies...
    Last edited by Nick_the_Greek; 2014-10-17 at 06:32.
    Security always begins with personal responsibility. - quietman7

  6. #6
    Join Date
    2013-Jun
    Posts
    125
    Quote Originally Posted by Nick_the_Greek View Post
    Nice try Defaultzero but your script can be summarized in one command:
    Code:
    nmap -d --script ssl-heartbleed --script-args vulns.showall -sV $IP
    why want you try to filter $IP variable to accept only real/valid IPs. Let's say it will be a task/lesson for you and a good one I believe.
    You will learn allot of things.
    i agree with you Nick_the_Greek

    To: Default Zero
    Welcome to Bash Scripting ..hope that you create some complex scripts as you gain expierience in bash scripting but good work!

  7. #7
    Join Date
    2014-Jul
    Posts
    19
    I have a lot to learn on scripting! Nick the greek, I didnt take your comment offensive. That was very first script. I am thinking of of doing a pretty functional one. Thanks guys!

  8. #8
    Join Date
    2013-Jun
    Posts
    125
    Quote Originally Posted by Defaultzero View Post
    I have a lot to learn on scripting! Nick the greek, I didnt take your comment offensive. That was very first script. I am thinking of of doing a pretty functional one. Thanks guys!
    You can do alot of this with bash..if you know linux commands/programs very well, scripts creation will be like a piece of cake for you...linux was my arch enemy (was accustom to GUI windows)..lol

  9. #9
    Join Date
    2014-Jul
    Posts
    19
    I am pretty good with linux commands. Im just going to need to read every step of the way

  10. #10
    Join Date
    2013-Jun
    Posts
    125

    Quote Originally Posted by Defaultzero View Post
    I am pretty good with linux commands. Im just going to need to read every step of the way
    thumbs up!

  11. #11
    Join Date
    2014-Jun
    Location
    Greece
    Posts
    133
    Quote Originally Posted by Defaultzero View Post
    I have a lot to learn on scripting! Nick the greek, I didnt take your comment offensive. That was very first script. I am thinking of of doing a pretty functional one. Thanks guys!
    No worries Defaultzero. I'm looking forward for your next script.
    Security always begins with personal responsibility. - quietman7

Similar Threads

  1. Replies: 3
    Last Post: 2016-02-02, 13:26

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •