Commit Graph

1686 Commits (0682b485d01a412a0d8639c804786cffa1bb00f6)

Author SHA1 Message Date
mzack 0682b485d0 Merge branch 'dev' into issue-1379-fix-templates-repetitions-with-project-file 2021-12-21 10:59:55 +01:00
mzack d1944c76b9 Improving projectfile http request matching 2021-12-21 10:54:25 +01:00
Sandeep Singh 200ea05927
Merge pull request #1408 from projectdiscovery/issue-1380-absolute-path-test-windows-fix
Removing invalid negative paths for windows
2021-12-21 14:15:56 +05:30
mzack 0a9f890fdd Removing invalid negative paths for windows 2021-12-20 14:11:55 +01:00
mzack d27239e953 Fixing CVE annotate crash 2021-12-20 12:17:04 +01:00
sandeep 8e62abe6e7 fix: example reporting config update 2021-12-20 01:14:23 +05:30
GitHub Action fdc29180a0 Auto Generate Syntax Docs + JSONSchema [Sun Dec 19 19:37:37 UTC 2021] 🤖 2021-12-19 19:37:37 +00:00
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
sandeep 33e98386c9 dev version update 2021-12-19 18:16:06 +05:30
sandeep 6cde5843b5 go mod updates 2021-12-19 18:05:09 +05:30
Sajad Parra 0a82669163 update rdap to fix go mod tidy error 2021-12-19 15:46:38 +05:30
mzack e59da29371 improving error/args handling 2021-12-18 20:06:51 +01:00
sandeep 2f00e27bd1 dev version update 2021-12-18 19:58:59 +05:30
sandeep 1297c883a6 version update 2021-12-18 19:43:52 +05:30
Sandeep Singh 6a408fd6a8
feature: exposed interaction ip information to matchers/extractors (#1395) 2021-12-18 19:32:11 +05:30
Mzack9999 e9034a459d
Fixing wrong function/variable name in whois integration test (#1389)
* Fixing wrong function/variable name

* remove explicit result length check for whois integration test

Co-authored-by: Sajad Parra <parrasajad@gmail.com>
2021-12-17 11:55:46 +05:30
mzack 714f0c82a9 adding missing return error 2021-12-16 23:41:18 +01:00
GitHub Action 4c70e4976b Auto Generate Syntax Docs + JSONSchema [Thu Dec 16 11:39:23 UTC 2021] 🤖 2021-12-16 11:39:23 +00:00
Sajad 5200bcd94f
Whois Protocol Support (using rdap) (#1354)
* init rdap

* add an integration test, option to supply RDAP server to execute the request on

* add rdap protocolMappings

* add debug info, add IP, ASN query type support

* rename rdap to whois, Host to Query in template

* rename pending rdap to whois

* remove port from whois varaiables

* set Host variable even if input is not a parsable url
2021-12-16 17:08:02 +05:30
LuitelSamikshya d152986485
Change filepath to path (#1382)
* filepath to path

* change to revert

* reverted change

* update: disabling cached nuclei temporarily

Co-authored-by: sandeep <sandeep@projectdiscovery.io>
2021-12-16 16:36:20 +05:30
GitHub Action 8b20f384a7 Auto Generate Syntax Docs + JSONSchema [Thu Dec 16 10:52:36 UTC 2021] 🤖 2021-12-16 10:52:36 +00:00
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
Mzack9999 1fbbce4e41
Adding support for implicit validation during marshal/unmarshal (#1329) 2021-12-16 15:39:38 +05:30
Ice3man fea3fabdf2
Misc changes to update logic (#1212)
* Misc changes to update logic

* Misc adjustments to update logic

* update: build check

* update: revert test update

Co-authored-by: sandeep <sandeep@projectdiscovery.io>
2021-12-16 13:59:19 +05:30
LuitelSamikshya 3f86bc7d62
Support major os (#1347)
* workflow check

* changes in run.sh file for windows support
2021-12-16 13:47:29 +05:30
forgedhallpass 85e0b96d51
bug: fixed couple of bugs in the DSL functions (#1372)
* feat: Improve DSL function UX #1295

Sort the output signatures

* feat: Improve DSL function UX #1295

Sort the output signatures.
Lint: simplified the sorting.

* bug: fixed couple of bugs in the DSL functions

Input number parameters are stored as float64 types, hence the type conversion should happen accordingly. Affected functions:
* rand_int
* wait_for
* unix_time
* rand_text_numeric

Added tests for all functions.
Related: #1261

* bug: fixed couple of bugs in the DSL functions

Handle cases when the optional input character set is an empty string. Affected methods:
* rand_char
* rand_base

* bug: fixed couple of bugs in the DSL functions

Change rand_char to return a one character string, instead of the character code

* refactor: Minor integration test changes to show the actual and expected result numbers

* test: Added integration test for all existing DSL functions

* test: Added integration test for all existing DSL functions

Fixing linter issues.

* feat: Add "repeat" DSL function

* test: Add "repeat" DSL function
2021-12-15 19:33:57 +05:30
forgedhallpass 974cbfb35e
feat: Re-run failed integration tests in debug mode (#1367)
* If the tests are executed through GitHub actions and there are failed integration tests, they will be re-executed with verbose output to help figuring out the underlying issues.
* Added some grouping to make reading the logs easier

Ticket: #1365
2021-12-14 18:13:53 +02: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 d6a3e30233 dev version update 2021-12-13 19:04:22 +05:30
sandeep aae06e61bd fix: updating default interactsh server to use 2021-12-13 18:42:01 +05:30
Mzack9999 a781720060
Trim paths info from released binary (#1356) 2021-12-10 22:18:22 +05:30
sandeep 28b197d79f dev version update 2021-12-09 15:23:24 +05:30
forgedhallpass 10cf1053f8
feat: Improve DSL function UX #1295 (#1351)
* feat: Improve DSL function UX #1295

Sort the output signatures

* feat: Improve DSL function UX #1295

Sort the output signatures.
Lint: simplified the sorting.
2021-12-09 14:02:01 +05:30
mzack abb78658c6 adding default region 2021-12-09 08:50:54 +01:00
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 d05c4dc122 refactor: renamed misleading receiver names 2021-12-07 18:01:34 +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 aeab730dc2 fixing merge conflicts 2021-12-07 09:59:17 +01: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
mzack9999 edc6e5f9b3 fix cross-os chunks calculation 2021-12-06 18:56:52 +01:00
Mzack9999 f2f77b4e75 updating go.sum 2021-12-06 18:18:34 +01:00
Mzack9999 9e41064b4e
Merge branch 'dev' into issue-1339-windows-templates-unzip 2021-12-06 18:16:27 +01:00
Mzack9999 b6274ddd77 updating go.sum 2021-12-06 18:15:49 +01:00
Mzack9999 40d01412cb Fixing templates bundle unzip on windows 2021-12-06 18:12:39 +01:00
mzack 9ab674adbc improving cross-os filepath handling 2021-12-06 16:04:39 +01:00
Mzack9999 a72425289b Improving path handling on windows 2021-12-06 11:38:22 +01:00
mzack c47196bcc8 Merge branch 'dev' into research-aws-signing 2021-12-06 08:17:03 +01:00