Skip to content

Latest commit

 

History

History
28 lines (23 loc) · 925 Bytes

README.md

File metadata and controls

28 lines (23 loc) · 925 Bytes

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