Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Assemblyline/issues/181
  • Loading branch information
cccs-rs authored Jan 26, 2024
2 parents b82697c + 0997ab8 commit 997440a
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 33 deletions.
61 changes: 30 additions & 31 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,33 +1,32 @@
{
"editor.codeActionsOnSave": {
"source.organizeImports": true
},
"editor.formatOnSave": true,
"editor.rulers": [120],
"editor.tabSize": 4,
"editor.wordWrap": "wordWrapColumn",
"editor.wordWrapColumn": 120,
"files.insertFinalNewline": true,
"files.trimFinalNewlines": true,
"files.trimTrailingWhitespace": true,
"isort.args": [
"-l",
"120",
"--profile=black"
// "--src=${workspaceFolder}"
],
"[python]": {
"editor.defaultFormatter": "ms-python.black-formatter"
},
"black-formatter.args": ["--line-length=120"],
"flake8.args": [
"--max-line-length=120",
//Added the ignore of E203 for now : https://github.com/PyCQA/pycodestyle/issues/373
"--ignore=E203,W503"
],
"python.testing.pytestArgs": [
"tests"
],
"python.testing.unittestEnabled": false,
"python.testing.pytestEnabled": true
"editor.codeActionsOnSave": {
"source.organizeImports": true,
},
"editor.formatOnSave": true,
"editor.rulers": [
120
],
"editor.tabSize": 4,
"editor.wordWrap": "wordWrapColumn",
"editor.wordWrapColumn": 120,
"files.insertFinalNewline": true,
"files.trimFinalNewlines": true,
"files.trimTrailingWhitespace": true,
"isort.args": [
"-l",
"120",
"--profile=black",
// "--src=${workspaceFolder}"
],
"[python]": {
"editor.defaultFormatter": "ms-python.black-formatter"
},
"black-formatter.args": [
"--line-length=120"
],
"flake8.args": [
"--max-line-length=120",
//Added the ignore of E203 for now : https://github.com/PyCQA/pycodestyle/issues/373
"--ignore=E203,W503"
],
}
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
multidecoder==1.0.0
multidecoder>=1.0.0,<2
2 changes: 1 addition & 1 deletion urlcreator.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def execute(self, request: ServiceRequest) -> None:
high_port_table = ResultTableSection("High Port Usage", heuristic=Heuristic(2))
tool_table = ResultTableSection("Discovery Tool Found in URI Path", heuristic=Heuristic(3))
max_extracted_section = ResultTextSection("Too many URI files to be created")
url_analysis_section = ResultSection("URL Analysis")
url_analysis_section = ResultSection("MultiDecoder Analysis")

for tag_value, tag_score in urls:
# Analyse the URL for the possibility of it being a something we should download
Expand Down

0 comments on commit 997440a

Please sign in to comment.