122 Commits

Author SHA1 Message Date
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
vrenzolaverace
2aaf2a2158
Use utils helpers libraries (#2809) (#2810)
* Use utils helpers libraries (#2809)

* Use utils helpers libraries (#2809)
2022-11-07 01:54:23 +05:30
mzack
fe798c07eb fixing function syntax 2022-10-25 21:01:42 +02:00
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
Ice3man
7875b06fc8
Added exclude-matchers support for template & matchers (#2218)
* Added exclude-matchers support for template & matchers

* Fixed panics due to typo

* Added support for only template ID + misc cleanup
2022-06-24 23:09:27 +05:30
Ice3man
2b631e8e95
Add optional line number for file templates by default (#1966)
* Add optional line number for file templates by default

* updating docs

* misc flag update

Co-authored-by: mzack <marco.rivoli.nvh@gmail.com>
Co-authored-by: sandeep <sandeep@projectdiscovery.io>
2022-06-02 17:06:50 +05:30
Mzack9999
dd3b0a3cfc
Increasing buffer size on AND condition (#2030)
* Increasing buffer size on AND condition

* adding integration tests

* fixing tests data path
2022-05-30 13:45:28 +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
5cd25bd069 more checks + test cases fix 2022-03-22 14:18:01 +01:00
mzack
838ddb63e7 adding mime type file support 2022-03-22 12:35:11 +01:00
mzack
e7d260ea4d Fixing stats counter 2022-03-22 10:52:57 +01:00
Ice3man
d1f6fd9115 Fixed template doc example 2022-03-21 15:50:28 +05:30
mzack
cf9c844c62 adding line number for extracted results 2022-03-04 09:28:58 +01:00
mzack
4bcc84df9d using int argument 2022-03-03 10:26:43 +01:00
mzack
ea9f9c9c9a fixing logic condition + removing redundant code 2022-03-03 07:18:35 +01:00
mzack
e9d4b4bc52 adding archive analysis support 2022-03-01 18:59:33 +01:00
mzack
c89b9ef820 method renaming 2022-03-01 06:37:59 +01:00
mzack
06ab0dfa99 making code more uniform with chosen architecture 2022-02-26 09:06:43 +01:00
mzack
a51d307967 . 2022-02-26 08:02:16 +01:00
mzack
73d1247b71 fixing typo 2022-02-26 00:54:11 +01:00
mzack
a4b24ea802 adding outputunique logic handling 2022-02-25 12:51:28 +01:00
mzack
1a42780370 improving dump logic 2022-02-25 08:59:10 +01:00
mzack
b3e2456c80 removing unused stuff 2022-02-25 02:13:57 +01:00
mzack
baabe412dd using custom implementation to avoid multiple file read 2022-02-25 02:12:54 +01:00
mzack
763ec611ab . 2022-02-25 01:49:14 +01:00
mzack
748617a9f3 first part 2022-02-25 00:55:05 +01:00
mzack
30a5a11e23 patching tests 2022-02-24 23:57:47 +01:00
mzack
cf1526b7ed adding result dedupe 2022-02-24 23:54:45 +01:00
mzack
6af462c215 . 2022-02-24 23:35:51 +01:00
mzack
91ad446212 . 2022-02-24 23:18:37 +01:00
mzack
11286210e5 using helper dedupeint 2022-02-24 22:50:41 +01:00
mzack
2409d7a713 dropping multiple scan 2022-02-24 22:41:33 +01:00
mzack
1551feda5a temporary line calculation with multiple file read
todo: replace with one pass scan via io.reader
2022-02-23 23:32:25 +01:00
mzack
6746071979 Refactoring file templates to handle large files in chunks + removing deprecated io methods 2022-02-23 13:54:46 +01:00
Ice3man
7d83d3f8c9
Added line number for file results + stats fixes (#1495)
* Added line number for file results + stats fixes

* Misc

* Improved file result line calculation as per review

* Added new match-all attribute for file template matcher line count
2022-02-10 15:59:05 +05:30
forgedhallpass
72af50155d Typo fixes 2022-02-07 16:41:55 +02:00
sandeep
26de1c0995 update: increased limit for file protocol
Increased default file size to read for file templates from 5 MB to 1GB to avoid false negative results.
2022-02-05 22:39:34 +05:30
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
Mzack9999
07e7d0795b
Extending deny list to support filenames and folders (#1260)
* Extending deny list to support filenames and folders

* fixing field name

* adding missing edge case with relative path + filename

* handling root path + relative path

* Improving matchers to handle all deny cases
2021-12-16 16:21:06 +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
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
Sandeep Singh
f78ff42dbe
Merge branch 'dev' into more-protocols 2021-11-09 18:27:13 +05:30
Ice3man543
8ad3ebcd05 Made code changes as per review comments 2021-11-05 03:01:41 +05:30