From 9cc671bc7684d2f64db8711101d9adcc358c89db Mon Sep 17 00:00:00 2001 From: Alicja Date: Fri, 31 May 2024 22:59:47 +0200 Subject: [PATCH] Adding license and readme files --- LICENSE | 9 +++++++++ README.md | 3 +++ backend/backend.py | 2 +- 3 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 LICENSE create mode 100644 README.md diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..2029b60 --- /dev/null +++ b/LICENSE @@ -0,0 +1,9 @@ +MIT License + +Copyright (c) 2024 s452649 + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..1318fd6 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# PhishGuardian + +PhishGuardian - Keep you e-mails safe! \ No newline at end of file diff --git a/backend/backend.py b/backend/backend.py index 6d375c7..84ed9a7 100644 --- a/backend/backend.py +++ b/backend/backend.py @@ -65,7 +65,7 @@ training_data = [ ("Quarterly earnings report", "finance@example.com", 0), ("Urgent: Verify your identity", "security@example.com", 1), ("Birthday celebration", "events@example.com", 0), -] +]cd subjects = [x[0] for x in training_data] senders = [x[1] for x in training_data]