Commit Graph

4 Commits

Author SHA1 Message Date
Mike Salvatore 52412ab1b7 Tests: Add test_readme.txt to .gitattributes 2021-07-19 06:41:53 -04:00
Mike Salvatore c451a51b66 Agent: Add ransomware_readme.txt to .gitattributes 2021-07-19 06:41:53 -04:00
Mike Salvatore 3912b85d08 Common: Add get_file_sha256_hash() 2021-07-16 10:22:35 -04:00
Mike Salvatore 04b2ac6bd9 Don't normalize line endings in ransomware_targets test data
On Windows, git will normalize the line endings of .txt (and other)
files to crlf instead of lf. This is useful for many files, but the
ransomware_target files need unmodified when they are checked out.

By adding an exception in .gitattributes, the files in
monkey/tests/data_for_tests/ransomware_targets are not modified on
windows.
2021-06-28 20:52:42 -04:00