132 Commits

Author SHA1 Message Date
Owen Rumney
4a5039cc75
chore(deps): Bump sarif to v2 (#1930)
Signed-off-by: Owen Rumney <owen@owenrumney.co.uk>

Co-authored-by: mzack <marco.rivoli.nvh@gmail.com>
2022-05-13 03:48:14 +05:30
Mzack9999
39c7317ec3
Adding SNI override via request annotations (#1970)
* Adding SNI override via request annotations

* adding cli flag priority
2022-05-12 16:43:56 +05:30
Sami
6ca4374f91
sonar category: String literals should not be duplicated (#1944)
* sonar category: String literals should not be duplicated

* lint error fix

* better naming conventions for constants

* improved naming conventions and methods
2022-05-12 15:40:14 +05:30
Mzack9999
e510bc207f
Sanitizing special chars in markdown file paths (#1758)
* Sanitizing special chars in markdown file paths

* adding more chars to trim

Co-authored-by: Sandeep Singh <sandeep@projectdiscovery.io>
2022-04-06 15:00:10 +05:30
Mzack9999
0bab297328
improving default template path logic (#1806) 2022-04-05 04:03:49 +05:30
Sandeep Singh
5364d91b8a
Merge pull request #1755 from projectdiscovery/issue-1713-gitlab-report
Adding HexOrString helper
2022-03-28 16:46:57 +05:30
mzack
906e6e3e94 removing test code 2022-03-23 16:31:42 +01:00
mzack
55a4da5dab Adding HexOrString helper 2022-03-23 16:26:05 +01:00
mzack
d2b5579303 Adding proxy support for internal standard HTTP requests 2022-03-09 12:31:12 +01:00
Sandeep Singh
2f619c3a04
Merge pull request #1690 from vavkamil/vavkamil/fix-jira-reporting
fix(jira): Update labels when creating Jira issue
2022-03-08 19:13:46 +05:30
Kamil Vavra
162dfd0e9f
chore(fmt): Replace dash with colon 2022-03-07 17:18:27 +01:00
Kamil Vavra
b662f74900
fix(jira): Fixes issue with space in labels 2022-03-07 17:11:20 +01:00
mzack
6cb522c9b2 Merge branch 'dev' into issue-1594-regexp 2022-02-28 11:42:46 +01:00
zt2
4e384e3814 style: switch lint 2022-02-28 00:04:35 +08:00
zt2
03612a28b8 feat(template): allow custom type in metadata
In some case you may need to use custom type in `metadata`, like nested array or nested k-v:

```yaml
info:
  metadata:
    components:
      - bootstrap
      - jquery
```

So this commit allowed use any custom type in `metadata`.
2022-02-27 22:28:00 +08:00
mzack
6746071979 Refactoring file templates to handle large files in chunks + removing deprecated io methods 2022-02-23 13:54:46 +01:00
forgedhallpass
72af50155d Typo fixes 2022-02-07 16:41:55 +02:00
mzack
9c578d4c71 Update gitlab.go 2022-02-04 08:10:26 +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
forgedhallpass
7e22d70ded refactor/documentation: typos and grammatical errors 2021-11-25 18:54:16 +02:00
forgedhallpass
47340f06b0 refactor: uniformly sorted imports 2021-11-25 17:09:20 +02:00
forgedhallpass
fdd22ab668 refactor: Wrap errors using %w in fmt.Errorf
see:
 * https://github.com/xxpxxxxp/intellij-plugin-golangci-lint/blob/master/explanation/goerr113.md
 * https://go.dev/blog/go1.13-errors#wrapping-errors-with-w
2021-11-25 16:24:37 +02:00
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
Sajad
f74ff3fc49
Tag based struct validation (#1256)
* Added tag based struct validation
2021-11-20 13:25:27 +05:30
Ice3man543
c6445519ec Fixed bug with github client and paths with no slash 2021-10-25 18:19:27 +05:30
Pedro López Mareque
2aade725b7 chore: fix pr comment 2021-10-19 17:17:45 +02:00
Pedro López Mareque
8df46e1774 chore: fix pr comment 2021-10-19 17:15:58 +02:00
Pedro López Mareque
5a03acb2ef chore: fix pr comment 2021-10-18 20:54:30 +02:00
Pedro López Mareque
12cf051271 chore: fix pr comment 2021-10-18 20:52:35 +02:00
Pedro López Mareque
befb79decb chore: fix pr comment 2021-10-18 20:49:12 +02:00
Pedro López Mareque
9734297d2d chore: fix pr comment 2021-10-18 20:48:23 +02:00
Pedro López Mareque
2e26b0fa49 chore: fix pr comments 2021-10-18 20:45:51 +02:00
Pedro Lopez Mareque
61ca557faf chore: improve doc 2021-10-15 14:59:16 +02:00
Pedro Lopez Mareque
5baecfcec2 chore: fix conflicts 2021-10-15 14:55:51 +02:00
Pedro Lopez Mareque
54b3140194 fix: add validation for github and gitblab options 2021-10-15 14:51:55 +02:00
Ice3man
0e3c656103
Added curl command to http request report (#1107)
* Added curl command to http request report
2021-10-15 11:25:50 +03:00
Sandeep Singh
b984f7d63c
Merge pull request #1036 from revblock/master
resolves project-discovery/nuclei#822 - Add severity label to GitHub reporter
2021-09-26 18:35:34 +05:30
sandeep
74253459a8 misc update 2021-09-26 18:20:05 +05:30
sandeep
9490146db9 Merge branch 'dev' of https://github.com/projectdiscovery/nuclei into disk-cleanup 2021-09-26 18:08:15 +05:30
Ice3man543
1bf023abc2 Disk report should include matcher or extractor name 2021-09-25 21:40:38 +05:30
sandeep
76b86ba2a0 disk cleanups 2021-09-19 16:26:47 +05:30
Ice3man
712e3aeb72
Update elasticsearch.go 2021-09-18 15:59:01 +05:30
Scott Bamforth
4e7f1eef37
Fix formatting 2021-09-17 21:20:23 +01:00
Revblock
8db02e8191
Merge branch 'dev' into master 2021-09-17 21:19:31 +01:00
Scott Bamforth
a4be346e4d
Add severity label to Gitlab/JIRA reporter 2021-09-17 21:08:48 +01:00
Revblock
10cc08c758
Add severity label to GitHub reporter 2021-09-17 13:36:28 +01:00
forgedhallpass
c5a1753548
Merge branch 'dev' into patch-4 2021-09-16 20:35:43 +03:00
forgedhallpass
261279d4c2
Merge pull request #1032 from projectdiscovery/metadata-update
Replaced the "additional-fields" attribute with "metadata" for convenience
2021-09-16 20:29:17 +03:00