From fb5c14b28eb2bd9198fac1efe9e01cbeb164799a Mon Sep 17 00:00:00 2001 From: Maximilien LEDOUX Date: Tue, 15 Feb 2022 12:30:11 +0100 Subject: [PATCH] Standardized definitions --- .idea/.gitignore | 8 ++++++++ .idea/compiler.xml | 6 ++++++ .idea/jarRepositories.xml | 20 ++++++++++++++++++++ .idea/misc.xml | 10 ++++++++++ .idea/vcs.xml | 6 ++++++ app/src/main/resources/rules.txt | 21 +++++++++++++++++++++ 6 files changed, 71 insertions(+) create mode 100644 .idea/.gitignore create mode 100644 .idea/compiler.xml create mode 100644 .idea/jarRepositories.xml create mode 100644 .idea/misc.xml create mode 100644 .idea/vcs.xml create mode 100644 app/src/main/resources/rules.txt diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..13566b8 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,8 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Editor-based HTTP Client requests +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/.idea/compiler.xml b/.idea/compiler.xml new file mode 100644 index 0000000..fb7f4a8 --- /dev/null +++ b/.idea/compiler.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/jarRepositories.xml b/.idea/jarRepositories.xml new file mode 100644 index 0000000..fdc392f --- /dev/null +++ b/.idea/jarRepositories.xml @@ -0,0 +1,20 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..5d98256 --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,10 @@ + + + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..35eb1dd --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/app/src/main/resources/rules.txt b/app/src/main/resources/rules.txt new file mode 100644 index 0000000..766386a --- /dev/null +++ b/app/src/main/resources/rules.txt @@ -0,0 +1,21 @@ +//Standardized definitions +digit = [0-9]; +port = [1-65536]{1,5}; TODO: Corriger +size = [0-9]{1,10}; +line = \r\n; +visiblechar = \p{Print}; +passchar = [^\s!]; +binary = .; +password = [^\s!]{5,50}; +bl = \s; +letter = [A-Za-z]; +digit_letter = [A-Za-z0-9]; +filename = [^\s!]{1,20}; +domain = [A-Za-z0-9.]{5,20}; +hash_filename = [A-Za-z0-9.]{50,200}; +hash_filecontent = [A-Za-z0-9.]{50,200}; +file_info = [A-Za-z0-9.]{50,200}\s[0-9]{1,10}\s[A-Za-z0-9.]{50,200}; +login = [A-Za-z0-9]{2,20}; + +//StorBackEnd to FileFrontEnd +sbe_hello = \ No newline at end of file