216 Commits

Author SHA1 Message Date
mzack
6cb522c9b2 Merge branch 'dev' into issue-1594-regexp 2022-02-28 11:42:46 +01:00
mzack
06ab0dfa99 making code more uniform with chosen architecture 2022-02-26 09:06:43 +01:00
Ice3man
fb6ab39d65 Added interaction event highlighting support in debug mode 2022-02-25 23:11:56 +05:30
mzack
1a42780370 improving dump logic 2022-02-25 08:59:10 +01:00
mzack
748617a9f3 first part 2022-02-25 00:55:05 +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
Sandeep Singh
a48e2adb69
Merge pull request #1529 from projectdiscovery/issue-1231-zcrypto 2022-02-05 12:24:47 +05:30
Sandeep Singh
249937ca72
Merge pull request #1561 from projectdiscovery/issue-1543-rand-seed
Implementing incremental expression replacement
2022-02-03 23:19:35 +05:30
mzack
62fc7a8110 Merge branch 'dev' into issue-1231-zcrypto 2022-02-03 09:02:09 +01:00
mzack
766a3eefb6 Implementing incremental expression replacement 2022-02-01 14:12:16 +01:00
mzack
b3c61ee157 Differentiate between interact matchers and markers 2022-02-01 12:10:18 +01:00
Ice3man
8dfa9cee39
Added debug-req/resp support for interactsh interactions (#1491)
* Added debug-req/resp support for interactsh interactions

* Added format function for interact debug logs + misc fixes

* Added function for interact debug header

* Typo fix

* Enable debug logging for req/resp debug flag
2022-01-27 12:14:32 +05:30
mzack
a6798f37ad making ztls global and optional 2022-01-25 20:48:21 +01:00
mzack
8559cfabca removing unused code 2022-01-19 15:16:47 +01:00
mzack
adf4721833 making markers parametric + simple match/replace for basic variables 2022-01-19 14:57:25 +01:00
mzack
369255a4fe Implementing lexer with runtime expression validation 2022-01-19 14:10:11 +01:00
forgedhallpass
8019fb8f08 test: additional use-cases for the expression test 2022-01-17 14:05:36 +02:00
forgedhallpass
bff1952268 test: introduce 'concat' DSL function
* removed irrelevant test case (covered elsewhere)
2022-01-17 13:41:34 +02:00
forgedhallpass
ae07dce014 refactor: removed redundant escape characters from the unresolvedVariablesRegex variable 2022-01-17 13:32:47 +02:00
forgedhallpass
7f6c72853f feat: introduce 'concat' DSL function #1502 2022-01-17 13:32:15 +02:00
sandeep
2221700b5b minor printing update 2022-01-13 18:17: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
c26a1ac21c
Improving payloads support in AWS self-contained requests (#1443)
* Improving payloads support in AWS self-contained requests

* removing internal only values from output

* handling dynamic values in url
2022-01-09 18:09:50 +05:30
Sajad
1faddf4723
change spm flag to work at template level instead of global for interactsh (#1466) 2022-01-09 17:34:31 +05:30
Mzack9999
0e8270c7b5
Replacing expression regex with lexical analyzer (#1440)
* Replacing regex with lexical analyzer taken from 610beb8534/v2/pkg/protocols/common/expressions/expressions.go (L66)
2022-01-09 17:22:04 +05:30
Sandeep Singh
ae2a485b1f
Merge branch 'dev' into feature-ldap 2022-01-01 13:01:08 +05:30
Sandeep Singh
c8e4c829e4
Merge pull request #1434 from projectdiscovery/issue-1287-interactsh-http-fallback
Adding support for automatic http fallback retry for interactsh
2021-12-30 18:38:25 +05:30
Sajad Parra
8799379e50 update hash function 2021-12-29 18:07:48 +05:30
mzack
d252c3d6ea Adding support for automatic http fallback retry for interactsh 2021-12-29 11:06:33 +01:00
Sajad Parra
5115c8b58c remove redundant contains function 2021-12-29 12:33:54 +05:30
Sajad Parra
e2b39e403c use ccache to store matchedTemplates with template-id+host hash as key 2021-12-29 12:28:18 +05:30
Sandeep Singh
8fbe451d54
Merge branch 'dev' into feature-ldap 2021-12-25 12:49:44 +05:30
Sajad Parra
0edb4274b1 add matchedTemplates to support template wise stop at first match 2021-12-22 21:42:21 +05:30
Sajad Parra
c0f9c1da70 interactsh stopAtFirstMatch intergration test 2021-12-21 15:24:16 +05:30
Sajad Parra
911045ae9a add stop at first match for interactsh matchers 2021-12-21 14:20:03 +05:30
Sandeep Singh
2dc877a99f
Merge pull request #1247 from projectdiscovery/research-aws-signing
Adding support for aws request signing
2021-12-20 01:06:13 +05:30
mzack
e59da29371 improving error/args handling 2021-12-18 20:06:51 +01:00
Sandeep Singh
6a408fd6a8
feature: exposed interaction ip information to matchers/extractors (#1395) 2021-12-18 19:32:11 +05:30
Mike Brown
71040577ce add debug logging for interactsh feature-ldap 2021-12-15 22:52:55 -08:00
Sandeep Singh
fbb80610a8
Interactsh response missing in result fix (#1370)
Co-authored-by: Ice3man543 <nizamulrana@gmail.com>
2021-12-13 23:23:22 +05:30
sandeep
aae06e61bd fix: updating default interactsh server to use 2021-12-13 18:42:01 +05:30
Sandeep Singh
17ad60d528
Merge pull request #1296 from projectdiscovery/dsl_signatures
feat: Improve DSL function UX
2021-12-09 12:48:18 +05:30
mzack
e244768f32 Fixing typo in variable name while validating template payloads 2021-12-08 19:27:47 +01:00
forgedhallpass
2d5784d992 Merge branch 'dev' into dsl_signatures 2021-12-07 18:22:10 +02:00
forgedhallpass
79aed22d46 feat: Improve DSL function UX #1295
Added support for letting people know if:
* the DSL expression does not return a boolean value
* an invalid custom function signature was provided and then display all available function signatures
* an invalid function was provided and then display the correct signature

Unified the DSL function names to use snake case. The old signatures are also kept for backward compatibility.
2021-12-07 17:34:36 +02:00
mzack
197971e6fa Merge branch 'dev' into research-aws-signing 2021-12-07 09:58:55 +01:00
Mzack9999
72ec69e37d using payload relative path by default 2021-12-06 21:05:45 +01:00
mzack
9ab674adbc improving cross-os filepath handling 2021-12-06 16:04:39 +01:00