Skip to content
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

feat(nmap): add udp scan (-sU) and change default scan opts #418

Merged
merged 31 commits into from
Sep 18, 2024

Conversation

romisfrag
Copy link
Contributor

It's a try of adding the support for UDP scanning using nmap.
I had to add a new field inside the port output type.
Maybe more standardization will be needed.

@ocervell ocervell changed the title added nmap support for udp port scanning feat: added nmap support for udp port scanning Sep 6, 2024
Copy link
Contributor

@ocervell ocervell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this ! A few things to change but overall very good PR ! Could you run the linter secator test lint on it and fix linting errors please ?

secator/output_types/port.py Outdated Show resolved Hide resolved
secator/output_types/port.py Outdated Show resolved Hide resolved
secator/tasks/nmap.py Outdated Show resolved Hide resolved
secator/tasks/nmap.py Outdated Show resolved Hide resolved
secator/tasks/nmap.py Outdated Show resolved Hide resolved
secator/tasks/nmap.py Outdated Show resolved Hide resolved
secator/tasks/nmap.py Outdated Show resolved Hide resolved
secator/definitions.py Outdated Show resolved Hide resolved
secator/output_types/port.py Outdated Show resolved Hide resolved
secator/tasks/nmap.py Outdated Show resolved Hide resolved
secator/tasks/nmap.py Show resolved Hide resolved
secator/tasks/nmap.py Outdated Show resolved Hide resolved
@ocervell ocervell changed the title feat: added nmap support for udp port scanning feat(nmap): add support for udp scan (-sU) Sep 10, 2024
secator/tasks/nmap.py Outdated Show resolved Hide resolved
secator/output_types/port.py Outdated Show resolved Hide resolved
secator/output_types/port.py Outdated Show resolved Hide resolved
@ocervell ocervell changed the title feat(nmap): add support for udp scan (-sU) feat(nmap): add udp scan (-sU) and change default scan to TCP SYN (-sS) Sep 14, 2024
@ocervell ocervell changed the title feat(nmap): add udp scan (-sU) and change default scan to TCP SYN (-sS) feat(nmap): add udp scan (-sU) and change default scan opts Sep 16, 2024
@ocervell ocervell merged commit 36c6ff3 into freelabz:main Sep 18, 2024
8 checks passed
ocervell added a commit that referenced this pull request Nov 13, 2024
🤖 I have created a release *beep* *boop*
---


## [0.7.0](v0.6.0...v0.7.0)
(2024-11-13)


### Features

* **`bup`:** add proxy option and progress indicator
([#444](#444))
([d5c63c8](d5c63c8))
* **`dnsx`:** add IP output type on dnsx A record
([#426](#426))
([629439e](629439e))
* **`naabu`/`nmap`:** help for defaults and change workflow opts
([#438](#438))
([4dd0055](4dd0055))
* **`nmap`:** add udp scan (`-sU`) and change default scan opts
([#418](#418))
([36c6ff3](36c6ff3))
* add url_bypass workflow based on bup
([e96b1bc](e96b1bc))
* chunk dalfox input by 1
([#443](#443))
([26c38d7](26c38d7))
* **cli:** misc bug fixes and features
([#445](#445))
([fccfdb8](fccfdb8))
* **hooks:** explicit output type yield in static hooks
([#439](#439))
([2d1f8e6](2d1f8e6))
* **katana:** add form_fill option
([#419](#419))
([bebddb1](bebddb1))
* **refactor:** improve performance, add on_interval hook, rework CLI
opts ([#473](#473))
([4a22a70](4a22a70))
* **runner:** add GCS driver and secator threads
([#476](#476))
([cae475a](cae475a))
* **runner:** add skip_if_no_inputs to workflows
([#482](#482))
([5546b82](5546b82))
* **runner:** on serialized hooks
([#424](#424))
([fde6cd7](fde6cd7))
* **runner:** rework Celery core and mix fixes
([#450](#450))
([b72f152](b72f152))
* sudo prompt check test
([#432](#432))
([f45b123](f45b123))
* sudo prompts in non-tty mode
([#431](#431))
([0e26b55](0e26b55))
* **tasks:** bbot integration
([#375](#375))
([2f0dea4](2f0dea4))
* **tasks:** bup integration
([#398](#398))
([ed636aa](ed636aa))


### Bug Fixes

* **cli:** proper opts override for workflows
([#436](#436))
([1d1eaa3](1d1eaa3))
* **dalfox:** restore input_chunk_size to default
([8f0a3b4](8f0a3b4))
* dnsx parsing output loading error
([#422](#422))
([b9e98da](b9e98da))
* empty CVE should pass
([#478](#478))
([0644d68](0644d68))
* gcs bug with empty paths
([549ac4c](549ac4c))
* gcs bug with empty paths
([2d57e1a](2d57e1a))
* get_opt_value default value and reorg hooks
([#429](#429))
([a44a36d](a44a36d))
* mix bugfixes for stable release
([b743925](b743925))
* nmap defaults
([396f68a](396f68a))
* **nmap:** undefined service name
([#437](#437))
([596f1af](596f1af))
* runner opts processing
([#477](#477))
([d788e9d](d788e9d))
* runner toDict() errors
([#475](#475))
([b43c866](b43c866))
* **runner:** bug with no inputs
([#483](#483))
([4db7b46](4db7b46))
* **url_vuln:** repair bad condition
([214c8ab](214c8ab))


### Documentation

* add package json
([#415](#415))
([f9a7c2f](f9a7c2f))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants