Mzack9999
1fbbca66f9
Adding support to scan all v4/v6 IPs ( #2709 )
...
* Adding support to scan all v4/v6 IPs
* adding tests
* metainput prototype
* using new signature
* fixing nil pointer
* adding request context with metadata
* removing log instruction
* fixing merge conflicts
* adding clone helpers
* attempting to fix ipv6 square parenthesis wrap
* fixing dialed ip info
* fixing syntax
* fixing output ip selection
* adding integration tests
* disabling test due to gh ipv6 issue
* using ipv4 only due to GH limited networking
* extending metainput marshaling
* fixing hmap key
* adding test for httpx integration
* fixing lint error
* reworking marshaling/id-calculation
* adding ip version validation
* improving handling non url targets
* fixing condition check
2022-11-09 18:48:56 +05:30
Sajad
928f082109
set content_length as len(body) if response ContentLength is -1 ( #2407 )
...
* set content_length as len(body) if response ContentLength is -1
* move content-length calculation to utils
* adding basic tests
Co-authored-by: Mzack9999 <mzack9999@protonmail.com>
2022-10-24 16:37:09 +02:00
Ice3man
363ffb75db
Added probing for URL + input based on protocol ( #2614 )
...
* Added workflow names based condition
* Added conditional filtering to workflow executor
* Replaced names with single name stringslice
* Added probing for URL + input based on protocol
* Remove debug comments
* Fixed typo
* Fixed failing tests
* Fixed workflow matcher condition + tests
* Fixed workflow item name
* Switch to if-else
* Fixed review comment strict
* Increase bulk size
* Added default port for SSL protocol + misc changes
* Fixed failing tests
* Fixed misc changes to executer
* Fixed failing self-contained and offlinehttp tests
* Fixed atomic increment operation
* misc update
* Fixed failing builds
Co-authored-by: sandeep <8293321+ehsandeep@users.noreply.github.com>
2022-10-20 17:23:00 +05:30
Mzack9999
781e4e6105
Shared Execution Context Prototype ( #2576 )
...
* renaming var
* Introducing shared execution context prototype
* fixing field name
* adding shared values propagation
* adding shared context lock
* add slice values normalization
* adding integration tests
* adding metadata support for dns
* adding multi-protocol context sharing test
* removing debug test files
* moving contextargs around
* adding comments
* refactoring code
- getter/setter for complex types
- using pointers to avoid heap allocations
2022-10-03 15:42:20 +05:30
Mzack9999
30054d1fb6
Adding advanced template filtering ( #2374 )
...
* Adding advanced template filtering
* fixing bug in slice
* refactoring tests
* adding test cases
* increasing error verbosity
* fixing quoted fields with spaces
* adding more test cases
* fixing merge error
* fixing lint errors
* switching to []string
* updating tag filter tests
* updating functional tests
* fixing functional test cases
* updating syntax
2022-08-25 16:52:08 +05:30
Mzack9999
1c332bb85b
Improving RFC request/response passive parsing ( #2192 )
...
* Improving RFC request/response passive parsing
* adding test
2022-07-11 22:43:10 +05:30
Mzack9999
a534b9f06c
Fixing directory walk error check on windows ( #1951 )
...
* Fixing directory walk error check on windows
* moving check to helper package
* replacing godirwalk with standard library
2022-05-08 12:22:21 +05:30
Mzack9999
72c5c399ec
adding support for dsl extractors
2022-04-20 11:32:13 +02:00
mzack
6746071979
Refactoring file templates to handle large files in chunks + removing deprecated io methods
2022-02-23 13:54:46 +01:00
forgedhallpass
72af50155d
Typo fixes
2022-02-07 16:41:55 +02:00
Ice3man
24326389a4
Added interactsh additional variables support ( #1468 )
...
* Added interactsh additional variables support
* Added support for interact server rotation
* Misc fixes to interact related modules
* Fixed a crash with interactsh
* Perform deduplication of output extract data before printing
2022-01-13 13:22:43 +05:30
Ice3man543
c17aba8646
Misc fixes to part definitions
2021-11-30 22:41:02 +05:30
Ice3man543
eb7c704d36
Merging from dev
2021-11-30 16:23:39 +05:30
Ice3man543
c720354be2
Added part definition information to docs + misc
2021-11-26 16:23:54 +05:30
forgedhallpass
fdaa8e4539
refactor: removed redundant type conversion
2021-11-25 17:18:54 +02:00
forgedhallpass
bebe5cbcfd
refactor: Remove redundant character escapes from regexes
2021-11-25 16:24:37 +02:00
Ice3man543
caaa5c6594
Automatically generate docs for enum values
2021-11-25 19:34:01 +05:30
forgedhallpass
4bccb6cf8a
fix: File and directory creation permission changes
...
Directories: 0755 (5 - group and other can read cd into the directory and read it's content)
Files: 0644 (4 - group and other can only read the created files)
Tests files: 0777
2021-11-25 14:37:57 +02:00
Ice3man
1581c96e4e
Added matched-status flag + template-path and url to output ( #1272 )
...
* Added matched-status flag + template-path and url to output
2021-11-22 17:53:25 +05:30
LuitelSamikshya
4b8ec29d8d
struct to enums changes for Matchers ( #1246 )
...
* struct to enums changes for Matchers
2021-11-19 16:24:09 +05:30
LuitelSamikshya
2856e7e247
Extractor + Headless Actions structures to enums ( #1217 )
...
* enum support for extractor
2021-11-19 01:41:10 +05:30
Ice3man
50a816fce9
Fixed a crash with uninitialized interactsh client ( #1251 )
...
* Fixed a crash with uninitialized interactsh client
2021-11-16 20:02:39 +05:30
Ice3man543
c1a35b3ff9
Merge branch 'dev' of https://github.com/projectdiscovery/nuclei into more-protocols
2021-11-11 17:21:25 +05:30
mzack
56b7d78fed
Fixing http test using local http mock server
2021-11-10 18:04:53 +01:00
Ice3man543
8ad3ebcd05
Made code changes as per review comments
2021-11-05 03:01:41 +05:30
Ice3man543
645ae30a47
Moved to an enum for TemplateType in protocols
2021-11-03 19:53:45 +05:30
Alexey Zhuchkov
463c1c0142
Use template path in output request
2021-10-30 14:28:30 +03:00
mzack
dcc5a2840b
ensures internal keyword has priority over response headers in internal map - fixes #667
2021-10-15 18:45:40 +02:00
forgedhallpass
435ec5cd5d
Do not show AND matcher information in the command line output if debug is not enabled #1081
2021-10-12 20:06:55 +03:00
forgedhallpass
8392143944
Merge remote-tracking branch 'origin/dev' into colorize_responses
2021-10-11 14:00:53 +03:00
Ice3man
e5d021c766
Merge pull request #1104 from projectdiscovery/read-response-http2-3
...
Misc changes to offlinehttp
2021-10-09 18:56:05 +05:30
Ice3man
d78841631e
Merge pull request #1074 from nothinux/read-response-http2-3
...
Read response from http2 or http3
2021-10-09 18:53:58 +05:30
Ice3man543
2c88370b35
Made the version validation a bit better
2021-10-09 18:53:17 +05:30
forgedhallpass
fc66195b28
[feature] Add coloring to debug information #999
...
* Code review changes
2021-10-08 20:18:00 +03:00
forgedhallpass
b5c161d267
[feature] Add coloring to debug information #999
...
* extracted common MakeResultEvent logic and added the MakeResultEventItem method to the Request interface
2021-10-06 21:54:52 +03:00
forgedhallpass
79de2d82cb
[feature] Add coloring to debug information #999
...
* adding status color support for all existing HTTP versions
2021-10-05 15:10:03 +03:00
nothinux
e2349b1d2d
add test live response
2021-10-02 22:10:05 +07:00
nothinux
0c2b79bbf5
using table driven tests
2021-10-02 15:05:03 +07:00
nothinux
d08d9d2dc0
add test for response without http minor version
2021-10-02 14:31:18 +07:00
nothinux
68f3fb51e5
add minor version to HTTP/2 & HTTP/3
2021-10-02 14:30:40 +07:00
forgedhallpass
08cd7a4ba7
[feature] Add coloring to debug information #999
...
* extracted common logic and made sure that all requests implement the same interface
2021-10-01 16:52:38 +03:00
forgedhallpass
b8a2b2a1c4
[feature] Add coloring to debug information #999
...
* fix nil pointer dereference
2021-10-01 15:10:17 +03:00
forgedhallpass
898c9431b5
[feature] Add coloring to debug information #999
...
* corrected/renamed receivers from one character names to human-readable format
2021-10-01 14:30:04 +03:00
forgedhallpass
a00083e221
[feature] Add coloring to debug information #999
...
* remove some of the code duplication with a different approach
2021-10-01 14:24:45 +03:00
forgedhallpass
4be6b3cc96
[feature] Add coloring to debug information #999 [WIP]
...
TODO:
* if there are multiple matchers, make sure the response is only displayed once, with all the matching values colored
* remove code duplication from the request.go files
2021-09-29 19:43:46 +03:00
sandeep
aff4197ea9
Merge branch 'dev' of https://github.com/projectdiscovery/nuclei into matchers-enhancement#555
2021-09-21 16:36:58 +05:30
Sajad Parra
f1ad6f6bc5
add payload, variable, helper support to matchers
2021-09-15 18:02:22 +05:30
forgedhallpass
c762cc88aa
Merge remote-tracking branch 'origin/dev' into code_smells
2021-09-10 15:33:09 +03:00
Ice3man543
e683212bb8
Made irr default for reporting + misc on new fields
2021-09-09 18:53:55 +05:30
forgedhallpass
555e609173
Merge remote-tracking branch 'origin/dev' into code_smells
2021-09-07 17:36:34 +03:00