Commit Graph

20 Commits

Author SHA1 Message Date
dependabot[bot] 5d905edce4
Bump ruff from 0.7.3 to 0.12.11 (#1131)
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.7.3 to 0.12.11.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/0.7.3...0.12.11)

---
updated-dependencies:
- dependency-name: ruff
  dependency-version: 0.12.11
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-02 22:11:43 +00:00
Sam Stepanyan 5fedd73868
Update pyproject.toml URLs (#1119)
* Update pyproject.toml -homepage

added homepage and project email address to pyproject.toml

* Update pyproject.toml

ruff
2025-08-11 20:06:46 +00:00
Achintya Jai e450c819d8
[feature] add custom headers for http requests via CLI and remove sensitive headers before adding it to the database (#1107)
* [feature] add custom headers for http requests via CLI. Removes sensitive info before logging in the database

* better help message

* input validation - coderabbit changes

* ruff fixes

* allow for header chaining with multiple -H flags and for complex headers involving comma separated values

* test case for http.py that include using headers. Added pytest-asyncio for the same

* ruff fixes

* formatting changes suggested by coderabbit

* docs update

* correct usage and en.yaml file
2025-07-26 20:30:05 +00:00
Packet Phantom 958e1bc075
feature: add smb_brute command (#1070)
* Update dependencies in poetry.lock and pyproject.toml for new packages

* feat: add SMB brute force module

* feat: add unit tests for SMB brute force module

* ran make pre-commit

---------

Co-authored-by: Sam Stepanyan <sam.stepanyan@owasp.org>
2025-06-09 15:49:15 +00:00
Achintya Jai a72bdfc9b6
Fixing database issues (#1056)
* fixing mysql connections using pymysql

* fixing threading issues

* fixed postgres conns

* fix ruff

* reverting to original config

* sslmode as a user configurable parameter
2025-04-04 23:08:56 +00:00
Achintya Jai c0962bcd9d
adding default loop policy for asyncio (#1020) 2025-02-20 21:31:26 +00:00
Arkadii Yakovets 5f6bc8e0b3
Remove `numpy` dependency (#947)
* Refactor code for future `numpy` removal

* Remove `numpy` dependency

* Update dependencies
2024-11-05 18:38:42 +00:00
dependabot[bot] 2dc69b6f3c
Bump pytest-cov from 5.0.0 to 6.0.0 (#953)
Bumps [pytest-cov](https://github.com/pytest-dev/pytest-cov) from 5.0.0 to 6.0.0.
- [Changelog](https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest-cov/compare/v5.0.0...v6.0.0)

---
updated-dependencies:
- dependency-name: pytest-cov
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-29 23:59:18 +00:00
dependabot[bot] 637aa76508
Bump ruff from 0.6.9 to 0.7.0 (#945)
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.6.9 to 0.7.0.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/0.6.9...0.7.0)

---
updated-dependencies:
- dependency-name: ruff
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-18 16:36:35 +00:00
Arkadii Yakovets a397fa9e4b
Implement `nettacker` command 2024-09-05 09:44:03 -07:00
dependabot[bot] f1ff5ed124
Bump ruff from 0.2.2 to 0.6.3 (#884)
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.2.2 to 0.6.3.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/v0.2.2...0.6.3)

---
updated-dependencies:
- dependency-name: ruff
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Arkadii Yakovets <2201626+arkid15r@users.noreply.github.com>
2024-09-03 09:10:59 -07:00
dependabot[bot] 0126926472
Bump pytest from 7.4.4 to 8.3.2 (#886)
Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.4.4 to 8.3.2.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/7.4.4...8.3.2)

---
updated-dependencies:
- dependency-name: pytest
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-03 08:45:24 -07:00
dependabot[bot] 4593e7790d
Bump pytest-cov from 4.1.0 to 5.0.0 (#883)
Bumps [pytest-cov](https://github.com/pytest-dev/pytest-cov) from 4.1.0 to 5.0.0.
- [Changelog](https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest-cov/compare/v4.1.0...v5.0.0)

---
updated-dependencies:
- dependency-name: pytest-cov
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-03 08:32:22 -07:00
dependabot[bot] c3259abf9c
Bump numpy from 1.26.4 to 2.0.2 (#881)
Bumps [numpy](https://github.com/numpy/numpy) from 1.26.4 to 2.0.2.
- [Release notes](https://github.com/numpy/numpy/releases)
- [Changelog](https://github.com/numpy/numpy/blob/main/doc/RELEASE_WALKTHROUGH.rst)
- [Commits](https://github.com/numpy/numpy/compare/v1.26.4...v2.0.2)

---
updated-dependencies:
- dependency-name: numpy
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-31 18:36:10 -07:00
Arkadii Yakovets 0651a8596a
Bump requests from 2.31.0 to 2.32.3
Correct zipp dependency syntax
2024-08-31 18:09:48 -07:00
Arkadii Yakovets 4ed68f6333
Pin zipp >= 3.19.1
Based on https://github.com/OWASP/Nettacker/pull/856
2024-08-31 17:56:58 -07:00
Arkadii Yakovets 6c56fee299
Update release name/version handling 2024-08-21 08:28:19 -07:00
Arkadii Yakovets 22525603b7
Update version 2024-08-19 08:48:11 -07:00
Arkadii Yakovets 8a64187048
Change the entry point name/location
As per request by Sam Stepanyan
2024-08-11 11:31:18 -07:00
Arkadii Yakovets 14f6c06207
Nettacker code base major refactoring
This is a refactor of existing Nettacker code I've been working on recently. The (incomplete) list of changes:

          - add pre-commit checks
          - apply OOP approach to the application architecture
          - consolidate common modules logic into a base class
          - extract YAML parsing logic into a separate module
          - fix some typos
          - get rid of (not all) misused try/except blocks
          - migrate to poetry, remove requirements.* files
          - re-design configuration module
          - re-design logging module
          - split application logic into classes
          - use `pathlib` for path related manipulations
          - use context-based naming for variables, modules, directories, etc
          - use module level imports (vs function level)
          - use the base class for specific protocol libraries
2024-08-08 11:04:35 -07:00