A modern platform for visual, flexible, and extensible graph-based investigations. For cybersecurity analysts and investigators.
fix: remove unecessary test files and bump pytest to ^8.4.2
dextmorgnbeb121086b2e
diff --git a/flowsint-transforms/pyproject.toml b/flowsint-transforms/pyproject.tomlindex d1679188..3ac42b77 100644--- a/flowsint-transforms/pyproject.toml+++ b/flowsint-transforms/pyproject.toml@@ -29,7 +29,7 @@ reconspread = { git = "https://github.com/reconurge/reconspread.git" }dnspython = "^2.4"[tool.poetry.group.dev.dependencies]-pytest = "^7.4"+pytest = "^8.4.2"pytest-asyncio = "^0.21"black = "^25.0"isort = "^6.0"@@ -52,4 +52,4 @@ multi_line_output = 3python_version = "3.11"warn_return_any = truewarn_unused_configs = true-disallow_untyped_defs = true\ No newline at end of file+disallow_untyped_defs = truediff --git a/test.js b/test.jsdeleted file mode 100644index 58eef64c..00000000--- a/test.js+++ /dev/null@@ -1,21 +0,0 @@---export function deepObjectDiff(obj1, obj2) {- let diffObject = {}- // We want object 2 to be compared against object 1- if (typeof obj1 != "object" || typeof obj2 != "object") throw Error("Items to compare mustr be objects.")- // We map over the obj2 key:value duos- Object.entries(obj2).forEach(([key, value]) => {- // We check for additional keys- if (!obj1.hasOwnProperty(key))- diffObject = { ...diffObject, [key]: { value, new: true } }- else {- diffObject = { ...diffObject, [key]: { value, new: false, oldValue: obj1[key] ?? null, newValue: obj2[key] ?? null, identical: obj2[key] === obj1[key] } }- }- })- return diffObject--}--const diffObject = deepObjectDiff({ key1: "value1", key2: "value2" }, { key1: "value1", key2: "value3", key3: "value4" })-console.log(diffObject)\ No newline at end of filediff --git a/test.py b/test.pydeleted file mode 100644index fe862cc3..00000000--- a/test.py+++ /dev/null@@ -1,30 +0,0 @@-import requests-from bs4 import BeautifulSoup--def extract_text_from_url(url):- try:- # Send a GET request to the URL- response = requests.get(url)- response.raise_for_status() # Raise an exception for HTTP errors-- # Parse the HTML content using BeautifulSoup- soup = BeautifulSoup(response.text, 'html.parser')-- # Extract all the text from the page- text = soup.get_text()-- return text- except requests.exceptions.RequestException as e:- print(f"Error fetching the URL: {e}")- return None- except Exception as e:- print(f"An error occurred: {e}")- return None--# Example usage-if __name__ == "__main__":- url = input("Enter the URL of the webpage: ")- extracted_text = extract_text_from_url(url)- if extracted_text:- print("Extracted Text:")- print(extracted_text)\ No newline at end of file