Parth Malhotra f14e926dea
Added -ai option to generate and run nuclei templates on the fly for given prompt (#6041)
* Add ai flag

* Add AI flag 2

* fix stdin

* fix stdin 2

* minor

* print both url and path

* store ai generated templates in `$HOME/nuclei-templates/pdcp`

* todo

* do not remove all

* make it less restrictive

* use retryablehttp

* fix creds check

* return errs

* return more detailed err for non-ok status code

* add prompt validation

* fix integration tests

---------

Co-authored-by: Doğan Can Bakır <dogancanbakir@protonmail.com>
2025-02-13 16:32:50 +05:30
..
2024-04-12 00:22:11 +02:00
2023-06-27 20:21:14 +05:30
2023-10-30 19:02:06 +05:30
2024-04-03 17:25:12 +05:30
2024-05-21 21:42:01 +05:30