Commit Graph

112 Commits (a942c05d22def0f224a45c5a172eb279ae61caea)

Author SHA1 Message Date
Tarun Koyalwar 619396a6b8
flow: flatten dynamic values array if len is 1 (#4625)
* flow: flatten dynamic values array if len is 1

* wait for exporters when closing

* misc updates
2024-01-13 00:44:25 +05:30
Ramana Reddy 53207a0bb0
Use auth helpers from utils (#4620) 2024-01-11 19:51:54 +05:30
Sandeep Singh 00edf0c7ec
misc api update for pdcp (#4527) 2023-12-21 18:06:46 +05:30
Dogan Can Bakir d07f31fb48
fix resume file creation issue (#4514) 2023-12-20 16:59:20 +05:30
Tarun Koyalwar f54ca1c94b
use file stat to check if file is empty (#4469) 2023-12-08 11:21:01 +05:30
Ice3man 49a67b534a feat: include req-resp in cloud upload 2023-11-30 22:00:28 +05:30
Dogan Can Bakir 7cb03f24b2
introduce exclude target flag (#4214)
* introduce exclude target flag

* change logging

* update docs

* misc option update

* update input count

* separate funcs

* exclude with host-based comparison

* fix test

* fix lint

* remove duplicate

* introduce SetWithExclusions

* init map /shrug

---------

Co-authored-by: sandeep <8293321+ehsandeep@users.noreply.github.com>
2023-11-24 00:05:20 +05:30
Tarun Koyalwar f1a4410019
optionally upload to pdcp cloud (#4396) 2023-11-20 21:19:19 +05:30
Tarun Koyalwar 87aeb57b0d
feat nuclei result upload (#4343)
* feat: add pdcp api key support

* add '-auth' cli option

* fix creds test

* results auto upload to pdcp

* fix upload on empty file

* dashboard env + fix test

* purge old cloud cli options

* misc updates in runner package

* fix headless integration test

* misc update

* add disable cloud upload env

---------

Co-authored-by: sandeep <8293321+ehsandeep@users.noreply.github.com>
2023-11-18 16:25:37 +05:30
Tarun Koyalwar 775c7f762b
add -code flag to run code proto templates (#4376) 2023-11-16 17:56:07 +05:30
Tarun Koyalwar 595ba8e3a5
bug fixes in js , network protocol and flow (#4313)
* fix net read

* only return N bytes if extra available

* use ConnReadN from readerutil

* add integration test

* print unsigned warning in stderr

* fix js protocol in flow #4318

* fix integration test: url encoding issue

* fix network protocol issue + integration tests

* multiple improvements to integration test

* replace all conn.Read() from tests

* disable network-basic.yaml in windows

* disable code protocol in win CI

* fix bitwise login  ps1-snippet.yaml

* hide previous matcher events in flow

* remove dead code+ update integration tests

---------

Co-authored-by: Sandeep Singh <sandeep@projectdiscovery.io>
2023-11-02 13:33:40 +05:30
Tarun Koyalwar 83681fb308
misc sdk enhancements (#4301)
* add template sign/parse  methods

* export installer package

* add readme

* consistent implementation of writefailure

* fix lint error
2023-10-30 19:02:06 +05:30
Tarun Koyalwar dc44105baf
nuclei v3 : misc updates (#4247)
* use parsed options while signing

* update project layout to v3

* fix .gitignore

* remove example template

* misc updates

* bump tlsx version

* hide template sig warning with env

* js: retain value while using log

* fix nil pointer derefernce

* misc doc update

---------

Co-authored-by: sandeep <8293321+ehsandeep@users.noreply.github.com>
2023-10-17 17:44:13 +05:30
Mzack9999 12c9ca7b12 fixing go mod 2020-09-23 22:38:59 +02:00
Víctor Zamanillo c1cc773cd8 Fixed colorizer
We use the new NucleiColorizer
2020-09-19 22:41:32 +02:00
Víctor Zamanillo 5955ee0caf Merge branch 'master' into tpl-http-port-path-preference 2020-09-19 22:40:41 +02:00
bauthard 76a4102a3f
Merge pull request #317 from vzamanillo/workflow-results
Fixed result condition while processing workflows
2020-09-20 01:53:09 +05:30
Víctor Zamanillo 650d71781a Fixed result condition 2020-09-19 22:13:11 +02:00
bauthard 4c76b25c34
Merge pull request #315 from vzamanillo/serverity-on-match
Added severity to match output message
2020-09-19 23:28:24 +05:30
Víctor Zamanillo 407a89acd2 Fix for return workflow results
Fixes #307
2020-09-19 17:55:05 +02:00
Víctor Zamanillo 5ff4fdb75a Added severity to match output message
Implements a new NewNucleiColorizer to colorize all nuclei messages (included severity).
Fixes severity color is always colorized even with nocolor flag.
2020-09-19 14:43:35 +02:00
Ice3man 02bf886fca
Merge branch 'master' into fix-inconsistent-output 2020-09-11 09:23:48 -07:00
Ice3man543 1c222e0011 misc 2020-09-11 21:50:32 +05:30
Ice3man543 718ed0b3f8 Pleasing golangci-lint 2020-09-11 21:47:54 +05:30
Ice3man543 1c737b0f40 Fixed no json output when using workflows 2020-09-11 21:42:27 +05:30
Ice3man543 1d8a80ade9 Fix panic with no output file provided 2020-09-11 21:35:29 +05:30
Ice3man543 011c88ade7 Fixed inconsistent output hopefully 2020-09-10 16:32:01 +05:30
bauthard d94dcf84d3
Preparing for future release. 2020-09-07 12:47:08 +05:30
Víctor Zamanillo d44b00cf3e Use pbar + silent
Fixes #279
2020-09-05 19:28:08 +02:00
Víctor Zamanillo 6e85eae5af Orange color for high, red for critical 2020-09-05 18:00:24 +02:00
Víctor Zamanillo 10ebc31202 Added template ID on HTTP request error message 2020-09-05 14:45:24 +02:00
Víctor Zamanillo fccc4520b1 Do not titleize the template folder name
Because is not the real name and can not be used with -t
2020-09-05 10:57:07 +02:00
Víctor Zamanillo 4b368f30a0 Fixed show critical severity while listing templates 2020-09-05 10:54:47 +02:00
Víctor Zamanillo 3a91e7fc5c Better nuclei-templates current and outdated messages 2020-08-31 22:31:19 +02:00
Víctor Zamanillo 01b74e51ec We always report errors, not with verbose mode only 2020-08-31 22:27:02 +02:00
Víctor Zamanillo 80f42999a8 Check if configured nuclei-templates directory exists 2020-08-30 13:25:34 +02:00
Víctor Zamanillo 4484ba8870 Implemented only "tl" to list available templates 2020-08-29 23:02:45 +02:00
Víctor Zamanillo 099a76aec5 Removed dup code 2020-08-29 16:25:30 +02:00
Víctor Zamanillo aba9efec90 Divide and conquer 2020-08-29 15:26:11 +02:00
Víctor Zamanillo e1868d8661 Do not show unparseable templates 2020-08-28 11:34:43 +02:00
Víctor Zamanillo 7ab9b0302f Added option to list available templates 2020-08-28 11:17:37 +02:00
Ice3man543 79723601f6 Misc 2020-08-27 18:19:39 +05:30
Víctor Zamanillo e4aa72eab5 Logic bytes declaration once 2020-08-26 20:36:54 +02:00
Víctor Zamanillo 113ccb1e0e Preload workflow templates once
Fixes memory leak reported on #242
2020-08-26 20:05:31 +02:00
Víctor Zamanillo 60005290b1 Initial adoption of golangci-lint for CI 2020-08-25 23:33:20 +02:00
Ice3man543 458dbc1b38 v2 update 2020-07-01 16:17:24 +05:30
bauthard c8e31074a4
Update banner.go 2020-07-01 01:50:27 +05:30
bauthard bf074a22ef
Update banner.go 2020-07-01 01:44:04 +05:30
Ice3man543 caaba6742a Fixed a bug with relative path 2020-06-30 22:27:52 +05:30
Ice3man543 aa9379479b Reiteration on the fix 2020-06-29 18:03:02 +05:30