Skip to content

Add Lightfuzz #1817

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 480 commits into from
Apr 25, 2025
Merged

Add Lightfuzz #1817

merged 480 commits into from
Apr 25, 2025

Conversation

liquidsec
Copy link
Collaborator

@liquidsec liquidsec commented Oct 3, 2024

For now, a placeholder to assist in keeping the lightfuzz branch synced with changes to dev until it's ready

  • Body Parameters (new type, xml / JSON)
    - [ ] SSRF Submodule (on hold)
  • Documentation
  • Add comments to all lightfuzz submodules explaining detection logic, etc
  • override logging to automatically prepend lightfuzz submodule to messages
  • add portfilter module to all lightfuzz presets
  • Answer the question - deadly module or not?
  • Negate if statements to prevent unnecessary indentation

Other TODOs:

  • Make lightfuzz into a folder
  • Reduce duplicate code in excavate (emission of WEB_PARAMETER)

@TheTechromancer follow up on:

  • Autogenerating documentation for lightfuzz modules based off their docstrings/metadata (similar to BBOT modules)
  • Necessity of using acorasick python library over yara
  • Final docs update (to reflect changes to presets, etc)

@liquidsec liquidsec marked this pull request as draft October 3, 2024 14:33
Copy link

codecov bot commented Oct 3, 2024

Codecov Report

Attention: Patch coverage is 92.57760% with 220 lines in your changes missing coverage. Please review.

Project coverage is 93%. Comparing base (ed020b8) to head (dfa7364).
Report is 483 commits behind head on dev.

Files with missing lines Patch % Lines
bbot/modules/lightfuzz/submodules/crypto.py 76% 54 Missing ⚠️
bbot/modules/lightfuzz/lightfuzz.py 70% 36 Missing ⚠️
.../test_step_2/module_tests/test_module_lightfuzz.py 98% 25 Missing ⚠️
bbot/modules/lightfuzz/submodules/serial.py 83% 13 Missing ⚠️
bbot/core/helpers/web/envelopes.py 96% 9 Missing ⚠️
bbot/modules/internal/excavate.py 94% 9 Missing ⚠️
bbot/modules/lightfuzz/submodules/base.py 94% 9 Missing ⚠️
bbot/modules/lightfuzz/submodules/nosqli.py 81% 9 Missing ⚠️
bbot/modules/lightfuzz/submodules/path.py 80% 9 Missing ⚠️
bbot/modules/lightfuzz/submodules/sqli.py 84% 9 Missing ⚠️
... and 12 more
Additional details and impacted files
@@           Coverage Diff           @@
##             dev   #1817     +/-   ##
=======================================
+ Coverage     93%     93%     +1%     
=======================================
  Files        383     399     +16     
  Lines      30165   32994   +2829     
=======================================
+ Hits       27888   30521   +2633     
- Misses      2277    2473    +196     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@TheTechromancer
Copy link
Collaborator

Sqlite test failure is due to upstream change in pydantic:

fastapi/sqlmodel#1215

@ausmaster ausmaster self-requested a review April 25, 2025 18:23
@TheTechromancer TheTechromancer merged commit 1ca8943 into dev Apr 25, 2025
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants