Commit Graph

409 Commits (d93b2d277e3b045fbb3d3cf1018dd9d9d3f5c863)

Author SHA1 Message Date
Ice3man543 8bc59fafc4 Finalized first iteration of execution groups + protocols 2020-12-25 20:33:52 +05:30
Ice3man543 9d3958743a Grouping things, added more internal result types, restructuring 2020-12-25 12:55:46 +05:30
Ice3man543 4c4978cd12 Modelling the data flow process and operations for executers 2020-12-25 02:24:55 +05:30
Ice3man543 60789f4ba2 More refactoring of nuclei packages 2020-12-24 20:47:41 +05:30
Ice3man543 2b50d99c0c Misc work on extractor and replacer 2020-12-24 12:56:28 +05:30
Ice3man543 5153647e0f Misc work on extractors + compat 2020-12-24 12:13:18 +05:30
Ice3man543 10642c6c77 Misc work on protocols 2020-12-24 01:42:04 +05:30
Ice3man543 8a64578890 Work on operators package and generic protocol agnostic matching capabilities 2020-12-24 01:41:32 +05:30
Ice3man543 ff4c61a0eb Added dns client pool + misc changes to http client pool 2020-12-23 22:09:11 +05:30
Ice3man543 c4428824b6 Misc work on restructuring + adding stuff 2020-12-23 20:46:42 +05:30
Ice3man543 095902089f Added a http client pooling implementation 2020-12-23 20:46:19 +05:30
Ice3man543 2317e1ba1b Data modelling, work on executor started 2020-12-23 16:16:16 +05:30
Ice3man543 de5f7e6ee6 Moved collaborator to internal 2020-12-22 04:11:07 +05:30
Ice3man543 5cbfa8eaba Misc modifications, cleaning up things 2020-12-22 03:54:55 +05:30
Ice3man543 3fc7291e16 Fixed generator bugs, test cases 2020-12-22 01:21:05 +05:30
Ice3man543 1fa79d6f1f Added reworked generators package 2020-12-22 01:02:38 +05:30
Ice3man543 7dcb6388d4 Raw request parser added in own package + test 2020-12-21 16:46:25 +05:30
Ice3man543 ed84bb187b Added per protocol responseToDSL function + misc cleanup with operators 2020-12-21 15:51:43 +05:30
Ice3man543 d631074e35 Separating matchers, extractors and requests as protocols and operators 2020-12-21 14:31:32 +05:30
Ice3man543 e6958d7aea Moved colorizer stuff to pkg/output 2020-12-21 12:04:33 +05:30
Ice3man543 e1bbb9d93d moved tracefile to pkg/output + misC 2020-12-21 11:58:33 +05:30
Ice3man543 5c79319af5 New reworked output package for generic output writing 2020-12-21 00:04:11 +05:30
Ice3man543 4f5fb2baed Added vhost templating support 2020-12-19 00:10:58 +05:30
Ice3man543 bc14c2db00 Linting issues fix 2020-12-17 23:39:38 +05:30
Mzack9999 0358040d2d merging dev branch 2020-11-26 16:21:39 +01:00
bauthard 941372d4ab
Merge pull request #423 from projectdiscovery/feature-payload-in-matchers
Payloads usable in DSL matchers
2020-11-26 20:26:39 +05:30
Mzack9999 99f71a4f35 fixing casting errors 2020-11-26 11:00:25 +01:00
Mzack9999 c154a738ea output interface => string 2020-11-26 10:19:27 +01:00
Mzack9999 4390a59c48 generic interface => string conversion 2020-11-26 09:57:26 +01:00
Mzack9999 8796b8b628 wip - internal logic 2020-11-26 02:12:23 +01:00
Mzack9999 cc31d6a660 adding helper functions to payloads 2020-11-25 22:17:57 +01:00
bauthard a0f0f0e7fa
Merge pull request #421 from projectdiscovery/bugfix-rawhttp-same-header
improved raw requests same header handling
2020-11-26 02:13:35 +05:30
Mzack9999 3831bfffa5 making payloads usable in DSL 2020-11-25 18:27:14 +01:00
Mzack9999 1f6b83f312 improved raw requests same header handling 2020-11-24 21:06:13 +01:00
Mzack9999 c35b79d3f6 improving parser regex 2020-11-24 19:12:14 +01:00
Mzack9999 bb277c70b0 adding metadata for exact collab match 2020-11-23 21:37:52 +01:00
Dwi Siswanto 628865f532 🚨 Suppress golang-ci-lint 2020-11-22 22:05:11 +07:00
Dwi Siswanto af50d40c1b 🔨 Missing HTTPOptions for randomAgent & simplify the logic 2020-11-22 21:59:34 +07:00
Dwi Siswanto 7e933972a4 🔨 Add randomly User-Agent header request 2020-11-22 17:07:40 +07:00
Mzack9999 43923296ad adding host to dns 2020-11-20 11:10:40 +01:00
Mzack9999 75e079636c
Merge pull request #409 from savushkin-yauheni/master
add reqURL to json output
2020-11-20 11:07:46 +01:00
bauthard 06ccce19be
Merge pull request #408 from projectdiscovery/bugfix-response-encoding
adding gunzip in response dump
2020-11-20 15:12:55 +05:30
Mzack9999 3739d105f1 adding missing encoding 2020-11-20 10:19:51 +01:00
Mzack9999 0dea929665 adding stats to multithreades requests (eg fuzzing) 2020-11-20 08:58:04 +01:00
savik a0a97e6d09 add reqURL to json output 2020-11-20 08:35:02 +03:00
Mzack9999 a52e466b54 adding gunzip in response dump 2020-11-19 01:27:06 +01:00
Mzack9999 764738cddc merging dev 2020-11-18 23:54:33 +01:00
Mzack9999 a53be9fbf1
Merge pull request #397 from projectdiscovery/feature-fastdialer
adding fastdialer
2020-11-18 23:49:03 +01:00
Mzack9999 8eea7345bd targets hmap + global rate limit + clistats windows compatibility 2020-11-16 00:40:32 +01:00
Ice3man543 302ca4d406 Use strings.Builder 2020-11-13 01:58:56 +05:30
Ice3man543 0a760a4a7f Fixed a panic with traceLog and fixed a tengo bug 2020-11-13 01:51:41 +05:30
Ice3man543 867364c215 Fixed an error check 2020-11-12 23:31:38 +05:30
Ice3man543 69a841f287 Added workflow runtime generation from yaml 2020-11-12 23:28:24 +05:30
Mzack9999 48d0b4c1bd adding fastdialer 2020-11-06 03:15:27 +01:00
Ice3man543 ff3481977a Merge branch 'iceman-progress-bar' of https://github.com/projectdiscovery/nuclei into iceman-progress-bar 2020-11-01 21:40:02 +05:30
Ice3man543 f232383c36 Fixed panic with dialer 2020-11-01 21:37:36 +05:30
Mzack9999 670d4cc8e7
Merge branch 'dev' into iceman-progress-bar 2020-11-01 16:09:32 +01:00
Ice3man543 0069847e63 Reworked progress bar with simpler stats 2020-11-01 19:42:25 +05:30
Mzack9999 ff2a6a551b fixing lint errors 2020-10-30 13:06:05 +01:00
Mzack9999 1edfab3a95 fixing body dump 2020-10-30 12:36:16 +01:00
Mzack9999 dae7717fbe removing redundant header 2020-10-29 23:42:10 +01:00
Mzack9999 a0c8f51110 bugfix 2020-10-24 20:04:58 +02:00
Mzack9999 17827f4ab8 fixing global dealer 2020-10-24 01:27:46 +02:00
Mzack9999 717840dc27 merging master 2020-10-23 12:55:48 +02:00
bauthard f85dbafdce
Merge pull request #379 from projectdiscovery/feature-burp-collaborator
adding burp collaborator support
2020-10-23 16:13:18 +05:30
Mzack9999 2b08a37185 fixing go lint 2020-10-23 12:37:30 +02:00
Mzack9999 4f0dee69db fixing lint 2020-10-23 12:29:49 +02:00
Mzack9999 13b27c5e00 fix lint 2020-10-23 12:19:45 +02:00
Mzack9999 534fc92165 fix lint 2020-10-23 12:15:51 +02:00
Mzack9999 a55c7a2ca8 fix lint 2020-10-23 12:14:24 +02:00
Mzack9999 25e6c4a8e8 fix lint 2020-10-23 12:10:49 +02:00
Mzack9999 1b8174072b merging master 2020-10-23 12:07:48 +02:00
Mzack9999 cb5ceed1f4 fixing 2020-10-23 11:38:45 +02:00
Mzack9999 058b1a6300 fixing linting 2020-10-23 11:04:39 +02:00
Mzack9999 81217decbe fixing linting 2020-10-23 11:02:49 +02:00
Mzack9999 9793a7f87c corrected spelling 2020-10-23 10:59:47 +02:00
Mzack9999 fbc570775b fixing syntax 2020-10-23 10:55:52 +02:00
Mzack9999 08b048853f resolving conflicts 2020-10-23 10:49:47 +02:00
Mzack9999 f550699a05 Merge branch 'master' into feature-burp-collaborator 2020-10-23 10:45:47 +02:00
Mzack9999 2d3abcb5e2 fixing linting 2020-10-23 10:43:49 +02:00
Mzack9999 2a8aaeaa2e fixing linting 2020-10-23 10:41:49 +02:00
Mzack9999 0ae73711fc merging master 2020-10-23 10:38:21 +02:00
Mzack9999 7ff170221e merging master 2020-10-23 10:16:17 +02:00
Mzack9999 53e4b45479 adding burp collaborator support 2020-10-23 10:13:34 +02:00
Ice3man543 4e48a5f147 Added type to specify type of request 2020-10-22 16:16:33 +05:30
Ice3man543 f5435e6c9a Added trace log feature to write execution log 2020-10-22 16:12:16 +05:30
Mzack9999 b20742a1c8 adding matcher per single request 2020-10-21 22:30:53 +02:00
Mzack9999 77cd24b670 simplified race condition templating 2020-10-21 08:16:15 +02:00
Mzack9999 0088b5cbf0 Merge branch 'master' into feature-race-conditions 2020-10-20 19:22:52 +02:00
Mzack9999 173b55af92 merging master 2020-10-20 19:21:11 +02:00
Ice3man543 4ec229ef7f Added -no-meta flag to ignore meta 2020-10-20 01:57:38 +05:30
Ice3man543 a393a72aa9 Ignore blank meta field 2020-10-19 16:23:25 +05:30
Ice3man543 6fb0e8dc76 Removed comment 2020-10-19 11:42:12 +05:30
Ice3man543 1d04c06808 Added dynamic field in info key support 2020-10-19 11:37:58 +05:30
Mzack9999 a136b118ef Synced Race Condition Attack 2020-10-19 02:57:30 +02:00
Mzack9999 5e2ab104df merging master 2020-10-18 18:18:32 +02:00
Mzack9999 5623fd4b36 poc working implementation 2020-10-18 03:09:24 +02:00
Mzack9999 d5cd01d43b wip 2020-10-17 02:10:47 +02:00
Mzack9999 00ce870239 split replace and replace_regex 2020-10-16 22:27:25 +02:00
Mzack9999 d391c1e01c Merge branch 'master' of github.com:bolli95/nuclei into bolli95-master 2020-10-16 22:26:04 +02:00
Mzack9999 9549a0c8c4 merging-to-master 2020-10-16 22:07:00 +02:00
Mzack9999 0664ae6340 upgrading go modules 2020-10-16 21:33:37 +02:00
Mzack9999 78fe1e2a40 corrected function name 2020-10-16 14:59:16 +02:00
Mzack9999 55d4f12703 hash as a string 2020-10-16 14:18:50 +02:00
Mzack9999 2b24f2a64c making murmur3 python compatible 2020-10-16 13:27:02 +02:00
Mzack9999 08526cf5e6 disabled validation for unsafe requests 2020-10-16 10:43:16 +02:00
Mzack9999 85aafa6763 fixed missing redirect handling with raw requests 2020-10-16 09:49:14 +02:00
Mzack9999 1fba3b0637 wip 2020-10-16 01:51:57 +02:00
Mzack9999 5305965401 adding mmh3 hashing support 2020-10-15 12:39:59 +02:00
Mzack9999 178a3ad11f corrected wrong syntax 2020-10-15 00:34:45 +02:00
Mzack9999 00bfb9a361 error handling 2020-10-15 00:07:53 +02:00
Max Boll 9d1d2bfe16 dsl replacement function extended with regex support 2020-10-14 14:45:05 +02:00
Mzack9999 e38f164f0d adding shared resolver cache among various http clients 2020-10-14 00:42:13 +02:00
Mzack9999 1f2959708b
Merge branch 'master' into read-ignoref-from-cwd 2020-10-13 02:13:04 +02:00
Mzack9999 34656d177b fixed small logic bug in positional finite state machine 2020-10-12 19:09:52 +02:00
Mzack9999 84c9373b71 implemented request count estimation 2020-10-12 08:14:07 +02:00
Mzack9999 500d7bb997 solving logical bug with input without port 2020-10-11 22:44:15 +02:00
Mzack9999 695c2a2768 adding payloads values to json output 2020-10-11 21:18:10 +02:00
Mzack9999 39fc9736d0 removed formatting dirctive as string builder is used - Closes #220 2020-10-11 20:59:37 +02:00
Mzack9999 ed855c9224 adding random generators - close #234 2020-10-11 20:26:27 +02:00
Mzack9999 236f3b2dfb using § marker - Closes #347 2020-10-11 19:37:34 +02:00
Víctor Zamanillo ec725ed925 Better Result initialization with matches and extractions 2020-10-11 12:27:01 +02:00
Víctor Zamanillo c349aaf50a Fixed invalid memory address or nil pointer dereference of result 2020-10-11 12:23:20 +02:00
Víctor Zamanillo e6fc8cec99 Fixed noctx 2020-10-11 12:15:12 +02:00
Víctor Zamanillo b3b786a615 Fixed bodyclose 2020-10-11 12:14:57 +02:00
Víctor Zamanillo 21d0b08aaf Fixed shadow declaration of err 2020-10-11 11:53:59 +02:00
Víctor Zamanillo 5c00615c0d Fixed copylocks: return copies lock value: Result 2020-10-11 11:46:43 +02:00
Víctor Zamanillo b9cc87a361 Fixed maligned 2020-10-11 11:45:48 +02:00
Mzack9999 83aef7e468 added missing pipeline flag 2020-10-11 01:41:45 +02:00
Mzack9999 583b065ea4 small logic change 2020-10-10 20:59:19 +02:00
Mzack9999 371b58d20b reducing locking 2020-10-10 17:53:17 +02:00
Mzack9999 e91fd95e97
Merge branch 'master' into feature-turbo-intruder 2020-10-09 23:13:41 +02:00
Mzack9999 ac710e002d rate-limit rework 2020-10-09 23:11:07 +02:00
Mzack9999 c7301e4a6a adding connection pool within same template 2020-10-09 21:52:16 +02:00
Mzack9999 7ab1933e17 minor refactor 2020-10-09 02:23:38 +02:00
Mzack9999 eb73df76a1 working poc 2020-10-08 16:34:47 +02:00
Víctor Zamanillo 677706940a Fixed ignored input path
Only the template port  takes preference over the input URL, not paths.
2020-10-07 16:17:46 +02:00
bauthard 7da51a8dd5
Merge pull request #344 from projectdiscovery/feature-stop-at-first-match
adding stop at first http match cli option
2020-10-07 17:28:03 +05:30
Mzack9999 1fccfc103c solving conflict 2020-10-06 22:12:34 +02:00
Mzack9999 1ac7ae1c76 merge from master 2020-10-06 22:09:53 +02:00
Mzack9999 e12003c471 adding stop at first http match cli option 2020-10-06 21:38:44 +02:00
Mzack9999 ec497696ee connection header logic fix 2020-10-06 20:39:42 +02:00
Mzack9999 86ebb277bf adding flag to disable host header and content length 2020-10-05 22:19:48 +02:00
Mzack9999 6f52252608 nil pointer fix 2020-10-05 20:45:45 +02:00
Mzack9999 0229fa8f23 fixing new line character causing smuggling to fail 2020-10-05 02:21:20 +02:00
Mzack9999 d2cf8f1501
Merge branch 'master' into feature-raw-requests 2020-10-03 20:51:18 +02:00
Mzack9999 1ad383338c converts duration to seconds 2020-10-01 18:16:24 +02:00
Mzack9999 0ecc798e2f begin of work on turbo intruder/pipelining 2020-10-01 01:08:43 +02:00
Mzack9999 7dcbc23693 adding missing type conversion 2020-09-30 20:36:57 +02:00
Mzack9999 fd1d24922e adding response time to DSL 2020-09-30 01:05:55 +02:00
Mzack9999 0cfe496a4f wip 2020-09-29 00:24:38 +02:00
Mzack9999 e19ded6b26 wip - partial implementation of full raw http 2020-09-28 02:17:35 +02:00
Mzack9999 f940dfd903 wip rawhttp 2020-09-27 02:25:40 +02:00
Mzack9999 d73ea47ce3 wip 2020-09-23 23:44:13 +02:00
Mzack9999 c18a7ff7a4
Merge branch 'master' into dont-quit-on-error 2020-09-23 23:39:43 +02:00
Mzack9999 fb816b9973 small change to logic 2020-09-23 23:38:12 +02:00
Mzack9999 ef49270027 small code refactoring 2020-09-23 23:27:48 +02:00
Mzack9999 528793a9b7 Merge branch 'master' of github.com:organiccrap/nuclei into organiccrap-master 2020-09-23 23:25:18 +02:00
Mzack9999 12c9ca7b12 fixing go mod 2020-09-23 22:38:59 +02:00
Víctor Zamanillo 60005290b1 Initial adoption of golangci-lint for CI 2020-08-25 23:33:20 +02:00
Víctor Zamanillo bff551eca3 Colorizer initialization when using a custom workflow 2020-08-24 11:21:49 +02:00
Ice3man543 d997539e87 Don't quit http requests on an error 2020-08-23 23:30:16 +05:30
Ice3man543 4e74cfd752 Added negative matchers support 2020-08-23 22:55:11 +05:30
rykkard 2b16e12c0f Fix issue where 'all' scope requires matches in both html parts 2020-08-18 20:51:05 -05:00
Florian Pfitzer 7a1aa770e9 add json-requests for DNS 2020-08-06 06:12:57 +02:00
Florian Pfitzer 51412f679b fix no result found problem with and condition 2020-08-04 15:09:30 +02:00
Manuel Bua 63cfd354b9 Use global pipes for capturing, experimental unified rendering 2020-08-01 21:44:14 +02:00
Manuel Bua 7088c9532e Merge branch 'master' into experimental-progressbar-live-results 2020-07-31 23:37:45 +02:00
Manuel Bua 02238c491b Use manual progressbar rendering to allow syncing with other output
Refactor into an interface to return a no-op impl, avoid the need to
conditionally invoke any of the methods.
2020-07-31 23:36:56 +02:00
Manuel Bua 058c4ffbbf Experimental live results output with active progressbar
See 333809f3d6 for an early implementation of this.
2020-07-31 17:35:05 +02:00
Mzack9999 f4486ef89a fixing relative path issue 2020-07-31 17:13:51 +02:00
Manuel Bua 2ebc0cf83e Merge branch 'master' into fix-175-results-highlight 2020-07-29 21:57:44 +02:00
Mzack9999 5cc3d9fe14 corrected payload issue 2020-07-29 21:20:39 +02:00
Mzack9999 d5d745e9b0 adding missing check to pointer 2020-07-29 19:50:54 +02:00
Manuel Bua 7d22f6cfb4 Merge branch 'master' into fix-175-results-highlight 2020-07-29 01:24:14 +02:00
Manuel Bua f8e52ced4e Add initial coloring support in output results 2020-07-29 00:43:05 +02:00
Mzack9999 43a96b958a making progress bar respect silent flag 2020-07-28 20:39:07 +02:00
Manuel Bua 9d2539f856 Makes stdio capturing global
This dramatically lower chances of reaching max open files limit as it
works with two os.Pipe only, but it may be sub-optimal in some cases
such as with the `-debug` switch because there are no guarded writes
anymore when using `fmt.Fprintf` directly, such as when dumping request
or responses.
2020-07-27 21:35:24 +02:00
Manuel Bua 24c53628ea Capture additional DNS logging 2020-07-27 21:15:38 +02:00
Manuel Bua 3916983bdb Merge branch 'master' into enumeration-progressbar 2020-07-27 00:25:36 +02:00
Manuel Bua 06cffee6aa Add support for workflows 2020-07-27 00:00:34 +02:00
Mzack9999 f45e01eda6 multi-matcher correction 2020-07-26 22:07:03 +02:00
Mzack9999 8c437fbd40 adding workflow's same directory path search for template variables 2020-07-26 20:14:05 +02:00
Manuel Bua 4d8131c8d8 Add support for DNS requests 2020-07-26 16:36:01 +02:00
Manuel Bua 32e20b13e6 Use single progressbar, tweak styling 2020-07-26 15:31:31 +02:00
Manuel Bua c967997a5a Merge branch 'bugfix-engine-rework' into enumeration-progressbar-next 2020-07-25 22:47:32 +02:00
Mzack9999 731241c90e fsm in-memory deduplication 2020-07-25 22:25:21 +02:00
Manuel Bua 24341bf34c Merge branch 'bugfix-engine-rework' into enumeration-progressbar-next 2020-07-25 22:18:28 +02:00
Mzack9999 3a8ee75b93 wip - output 2020-07-25 21:44:43 +02:00
Mzack9999 4cc9ad9100 wip - output 2020-07-25 21:15:28 +02:00
Manuel Bua d1c8527f1f Merge branch 'bugfix-engine-rework' into enumeration-progressbar-next 2020-07-25 21:05:47 +02:00
Mzack9999 c05cf9f8c6 adding missing result bool 2020-07-25 20:45:38 +02:00
Manuel Bua bb24061628 Merge branch 'bugfix-engine-rework' into enumeration-progressbar-next 2020-07-25 20:33:01 +02:00
Mzack9999 5fa309cb82 2nd race bugfix 2020-07-25 20:11:46 +02:00
Manuel Bua 3bfdd0c381 Increment progress instead of altering totals, wrap more std streams 2020-07-25 00:46:18 +02:00
Manuel Bua 8aecbeb821 Experimental support for new parallelism 2020-07-24 22:30:15 +02:00
Manuel Bua c7d234fe5a Merge branch 'bugfix-engine-rework' into enumeration-progressbar-next 2020-07-24 20:29:04 +02:00
Mzack9999 ab2f96c9e9 more experimental parallelism 2020-07-24 18:12:16 +02:00
Mzack9999 ffdaffd9a7 wip - code refactor 2020-07-24 13:37:01 +02:00
Mzack9999 9f1ac66032 wip - new engine parallelism fix 2020-07-23 23:28:34 +02:00