* Add decimal to hexadecimal auxiliary functions
* Fixed unit test
* Modify the helper function name and check the unit test.
* dsl function update
Co-authored-by: Sandeep Singh <sandeep@projectdiscovery.io>
* Added version comparison helpers
* Added multiple condition example
* Added variadic version of compare_versions
* Fixed failing DSL integration test
* 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
* 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
* 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
* 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
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.