From 6b3a0a3489b6c06422b87a798ff5b8c05e9ca4e5 Mon Sep 17 00:00:00 2001 From: Max Woolf Date: Tue, 11 Aug 2015 07:51:21 -0700 Subject: [PATCH 1/3] Added EICAR note --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 1cee0c5..f29102f 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,8 @@ Although this is not a malicious error, and typical users aren't Tweeting weird Feel free to send a pull request to add more strings, or additional sections. However, please do not send pull requests with very-long strings (255+ characters), as that makes the list much more difficult to view. +Likewise, please do not send pull requests which compromise *manual usability of the file*. This includes the [EICAR test string](https://en.wikipedia.org/wiki/EICAR_test_file), which can cause the file to be flagged by antivirus scanners, and files which alter the encoding of `blns.txt`. + ## Disclaimer The Big List of Naughty Strings is intended to be used *for software you own and manage*. Some of the Naughty Strings can indicate security vulnerabilies, and as a result using such strings with third-party software may be a crime. The maintainer is not responsible for any negative actions that result from the use of the list. From 18c98526a6316d201ffd9e4ae2dcf47312148ac9 Mon Sep 17 00:00:00 2001 From: Juanito Fatas Date: Tue, 11 Aug 2015 23:42:19 +0800 Subject: [PATCH 2/3] Fix comment [ci skip] --- scripts/txt_to_json.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/txt_to_json.py b/scripts/txt_to_json.py index 0575e88..5569efb 100644 --- a/scripts/txt_to_json.py +++ b/scripts/txt_to_json.py @@ -6,7 +6,7 @@ import json with open('../blns.txt', 'r') as f: - # put all lines in the file into a Python list + # put all lines in the file into a Python list content = f.readlines() # above line leaves trailing newline characters; strip them out @@ -22,4 +22,4 @@ with open('../blns.json', 'wb') as f: # write JSON to file; note the ensure_ascii parameter json.dump(content, f, indent=2, ensure_ascii=False) - \ No newline at end of file + From 7500c5ff3be4e05e4e814ac706f1493bdf111e9e Mon Sep 17 00:00:00 2001 From: Shawn M Moore Date: Tue, 11 Aug 2015 13:08:49 -0400 Subject: [PATCH 3/3] Add Perl's "undef" --- blns.json | 1 + blns.txt | Bin 6744 -> 6750 bytes 2 files changed, 1 insertion(+) diff --git a/blns.json b/blns.json index 51ac199..4c4d078 100644 --- a/blns.json +++ b/blns.json @@ -1,6 +1,7 @@ [ "", "undefined", + "undef", "null", "NULL", "nil", diff --git a/blns.txt b/blns.txt index d52abc51637c09eb1a99b07ce36a09ed51bef6d7..b9b7a24d88b9bce3ac47bce157fce4e8ebad8266 100644 GIT binary patch delta 16 Xcmca%a?fOfA8Tn|N^06hUv4P?JTL|~ delta 10 Rcmca-a>HbT-^LIwDF7Ra1SS9g