Commit Graph

44 Commits (9233056238360504af37cc8b6e3955a85b5fac33)

Author SHA1 Message Date
Sandeep Singh 93616a9e80
Merge pull request #1511 from projectdiscovery/issue-1464-dns-ptr-query
Adding auto-PTR IP to FQDN
2022-01-19 17:30:12 +05:30
Sandeep Singh 59762ae266
Merge pull request #1503 from projectdiscovery/dsl_concat
DSL concat function
2022-01-18 21:34:21 +05:30
mzack aec007e1b4 adding integration tests for single/multiple race conditions requests 2022-01-18 14:15:15 +01:00
mzack 994bc9e789 adding PTR integration test 2022-01-18 13:47:15 +01:00
forgedhallpass 286e27510d test: introduce 'concat' DSL function
* correct order and number of expected results
2022-01-17 13:50:42 +02:00
forgedhallpass d4a015fb47 test: introduce 'concat' DSL function
* fixed typo in test
2022-01-17 13:45:16 +02:00
forgedhallpass 7f6c72853f feat: introduce 'concat' DSL function #1502 2022-01-17 13:32:15 +02:00
sandeep 50bad75cb4 Merge branch 'dev' of https://github.com/projectdiscovery/nuclei into interactsh-first-match-stop 2021-12-21 15:46:37 +05:30
Sajad Parra c0f9c1da70 interactsh stopAtFirstMatch intergration test 2021-12-21 15:24:16 +05:30
Mzack9999 75946f7c0f fixing ip/hostname for windows self-contained templates 2021-12-20 16:23:36 +01: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
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
Mzack9999 8336421179
Improving headless test cases (#1313)
* Adding headless test cases
2021-12-04 23:10:11 +05:30
Sajad Parra 5b99921d75 add unit and integration tests for dsl variable #555 2021-11-30 20:20:43 +05:30
forgedhallpass 7e22d70ded refactor/documentation: typos and grammatical errors 2021-11-25 18:54:16 +02:00
Sajad f74ff3fc49
Tag based struct validation (#1256)
* Added tag based struct validation
2021-11-20 13:25:27 +05:30
Ice3man543 c1a35b3ff9 Merge branch 'dev' of https://github.com/projectdiscovery/nuclei into more-protocols 2021-11-11 17:21:25 +05:30
Sandeep Singh 66074a1842
Merge pull request #1232 from projectdiscovery/fix-redirect-response-bug
fix #1173: perform matching on all redirect responses instead of final
2021-11-10 17:38:35 +05:30
Sandeep Singh f78ff42dbe
Merge branch 'dev' into more-protocols 2021-11-09 18:27:13 +05:30
Ice3man543 9b364080ea Fixed some edge cases with status codes in redirect chains 2021-11-09 17:55:42 +05:30
sandeep f2c81ee9a2 fixed unsafe test 2021-11-09 16:11:11 +05:30
Ice3man543 8396413f9d Added integration test for the redirect chain http functionality 2021-11-09 06:10:07 +05:30
Ice3man543 390ca8b3c6 Merge from dev 2021-11-03 18:58:00 +05:30
Ice3man 09cad2557c
Merge pull request #1123 from EndPositive/remote-template-workflow-lists
Remote template workflow lists
2021-11-02 16:12:29 +05:30
Ice3man543 a274cc5722 Misc integration test 2021-11-01 15:51:56 +05:30
Ice3man543 bb05be7b95 Added integration tests for websocket + misc fixes 2021-11-01 15:47:20 +05:30
Alexey Zhuchkov 392ea23f1d Add integration tests for case-insensitive flag 2021-10-29 19:11:57 +03:00
Jop Zitman 86cf09fa3f Merge branch 'dev' into remote-template-workflow-lists
# Conflicts:
#	v2/cmd/nuclei/main.go
2021-10-26 15:33:39 +02:00
Ice3man 29e764961e
Merge branch 'dev' into interactsh-integration-test 2021-10-25 17:29:33 +05:30
Ice3man543 c4e5fa49dd Added integration tests for http and network 2021-10-19 22:17:44 +05:30
Jop Zitman 81102750a1 Implement integration tests for remote template and workflow urls. 2021-10-14 23:33:08 +02:00
Ice3man543 deaa86f5cc Added interactsh based template to integration test 2021-09-16 21:29:58 +05:30
forgedhallpass d96c911a4b Minor changes in the issue-tracker-config.yaml and their test counterparts 2021-09-03 17:17:51 +03:00
forgedhallpass 16a54e3b98 YAML Unmarshal error in reporting template #995 2021-09-03 16:48:39 +03:00
forgedhallpass e9f77d7046 RES-84 # Improve Nuclei CLI interface
* fix the run.sh in case of integration tests not to fail if there are no built artifacts before execution
2021-08-17 14:00:12 +03:00
forgedhallpass 5a495e1e99 RES-84 # Improve Nuclei CLI interface (WIP)
* Integration of the previous logic to 2.4.0
* Unit and ITs passing
* refactored the template matching logic
2021-07-15 13:41:41 +03:00
Ice3man543 dbb70c5acc Fixed http body decoding with unsafe 2021-06-15 11:46:02 +05:30
Ice3man543 ea888490d1 Fixed bug with request condition + tests 2021-03-09 14:45:04 +05:30
Ice3man543 13c67a62bd Fixed template-update + added workflow tests 2021-02-27 20:54:22 +05:30
Ice3man543 14d2def39c Fixed DNS test + Misc 2021-02-27 12:59:26 +05:30
Ice3man543 f0e0c1e7d0 Misc changes to integration test 2021-02-27 12:42:35 +05:30
Ice3man543 2a0dcc1ee3 More tests for dns and network + misc 2021-02-27 02:23:06 +05:30
Ice3man543 b33bc83b0b Start of work on testing infrastructure 2021-02-25 23:32:43 +05:30