Skip to content

Commit

Permalink
ruff fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
h3xitsec committed Feb 14, 2025
1 parent 3e53c54 commit 7b62150
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion src/h3xrecon/core/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -1050,7 +1050,7 @@ async def insert_website_path(
update_fields.append(f"page_type: {current['page_type']} -> {page_type}")
if body_preview is not None and current['body_preview'] != body_preview:
needs_update = True
update_fields.append(f"body_preview changed")
update_fields.append("body_preview changed")
if resp_header_hash is not None and current['resp_header_hash'] != resp_header_hash:
needs_update = True
update_fields.append(f"resp_header_hash: {current['resp_header_hash']} -> {resp_header_hash}")
Expand Down
1 change: 0 additions & 1 deletion src/h3xrecon/plugins/plugins/assetfinder.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
from h3xrecon.plugins import ReconPlugin
from h3xrecon.plugins.helper import send_domain_data
from loguru import logger
import asyncio
import os
from h3xrecon.core.utils import is_valid_hostname, get_domain_from_url
class AssetfinderPlugin(ReconPlugin):
Expand Down
1 change: 0 additions & 1 deletion src/h3xrecon/plugins/plugins/ctfr.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
from loguru import logger
from h3xrecon.core.utils import is_valid_hostname, get_domain_from_url
from h3xrecon.plugins.helper import send_domain_data
import asyncio
import os
class CTFRPlugin(ReconPlugin):
@property
Expand Down
3 changes: 0 additions & 3 deletions src/h3xrecon/plugins/plugins/find_subdomains.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
from loguru import logger
from h3xrecon.core.utils import is_valid_hostname, get_domain_from_url
from h3xrecon.plugins.helper import send_domain_data
import importlib
import pkgutil
import asyncio
from h3xrecon.plugins.plugins.subfinder import SubfinderPlugin
from h3xrecon.plugins.plugins.ctfr import CTFRPlugin
from h3xrecon.plugins.plugins.assetfinder import AssetfinderPlugin
Expand Down
1 change: 0 additions & 1 deletion src/h3xrecon/plugins/plugins/katana.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
import asyncio
import hashlib
from bs4 import BeautifulSoup
import re

class KatanaPlugin(ReconPlugin):
@property
Expand Down
1 change: 0 additions & 1 deletion src/h3xrecon/plugins/plugins/subfinder.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
from h3xrecon.plugins import ReconPlugin
from h3xrecon.plugins.helper import send_domain_data
from loguru import logger
import asyncio
import os
from h3xrecon.core.utils import is_valid_hostname, get_domain_from_url
class SubfinderPlugin(ReconPlugin):
Expand Down

0 comments on commit 7b62150

Please sign in to comment.