lib/micro_blitz/attacks/eraser.rb
# Eraser is exactly what the name implies, it erases things.
# There are multiple abilities it has such as; deleting a whole file,
# deleting half a file, etc.
#
# This is a relatively easy error to trace down in production. All that is
# required is a login to the prod server and verify if the file is there or
# not. Slightly more tricky is if only deleting half the file. Visually, the
# engineer won't notice anything unless they open the file.
Eraser is exactly what the name implies, it erases things.
There are multiple abilities it has such as; deleting a whole file,
deleting half a file, etc.

This is a relatively easy error to trace down in production. All that is
required is a login to the prod server and verify if the file is there or
not. Slightly more tricky is if only deleting half the file. Visually, the
engineer won't notice anything unless they open the file.
Eraser is exactly what the name implies it erases things . There are multiple abilities it has such as ; deleting a whole file deleting half a file etc . This is a relatively easy error to trace down in production . All that is required is a login to the prod server and verify if the file is there or not . Slightly more tricky is if only deleting half the file . Visually the engineer won ' t notice anything unless they open the file .
def delete_whole
      raise ::MissingFileError, "File path unknown" unless @file
      FileUtils.rm(@file)
    end
def delete_whole raise :: MissingFileError , "File path unknown" unless @file FileUtils . rm ( @file ) end
Eraser is exactly what the name implies, it erases things.
Eraser is exactly what the name implies it erases things .
# Simple delete `rm <path_to_file>`, pretty traceable in logs.