Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

daguy666/Dont_Cry

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Dont_Cry

This is a wrapper shell script using the nmap scripting engine to scan for systems vulnerable to petya and wannacry a cron might be needed to run this frequently

Requirements

  • Nmap
  • I used version 7.50 of nmap.
    • Specifically this nmap script vuln-ms17-010.nse
  • $DIR exists. (Create it where ever you want.)
  • If nmaps path is different than /usr/local/bin/nmap you will have to change the path.

Recommendations

  • I would recommend putting this on a cron.
  • Writing a quick script to clean up the mess from the day and put that on a 24 hour cron.

TODOs

  • Clean up the code a bit.
  • Have a file check that the path of nmap and $DIR exist.
  • Have this log out to a file on runtime.

Other info

About

This is a wrapper shell script using the nmap scripting engine to scan for systems vulnerable to petya and wannacry a cron might be needed to run this frequently

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.