def output_dir
      @output_dir_name = File.join(Dir.home, 'dawnscanner', 'results', File.basename(@target), Time.now.strftime('%Y%m%d'))
      if Dir.exist?(@output_dir_name)
        i=1
        while (Dir.exist?(@output_dir_name)) do
          @output_dir_name = File.join(Dir.home, 'dawnscanner', 'results', File.basename(@target), "#{Time.now.strftime('%Y%m%d')}_#{i}")
          i+=1
        end
      end
      @output_dir_name
    end
def output_dir
      @output_dir_name = File.join(Dir.home, 'dawnscanner', 'results', File.basename(@target), Time.now.strftime('%Y%m%d'))
      if Dir.exist?(@output_dir_name)
        i=1
        while (Dir.exist?(@output_dir_name)) do
          @output_dir_name = File.join(Dir.home, 'dawnscanner', 'results', File.basename(@target), "#{Time.now.strftime('%Y%m%d')}_#{i}")
          i+=1
        end
      end
      @output_dir_name
    end
Output stuff - START

 Creates the directory name where dawnscanner results will be saved

 Examples
   engine.create_output_dir
   # => /Users/thesp0nge/dawnscanner/results/railsgoat/20151123
   # => /Users/thesp0nge/dawnscanner/results/railsgoat/20151123_1 (if
               previous directory name exists)