Skip to content

Commit

Permalink
fix custom headers in yaml config
Browse files Browse the repository at this point in the history
  • Loading branch information
yogeshojha committed Jul 10, 2024
1 parent 30e0866 commit e647465
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions default_yaml_config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Global vars for all tools
#
# custom_header: 'Cookie: Test' # FFUF, Nuclei, Dalfox, CRL Fuzz, HTTP Crawl, Fetch URL
# user_agent: '' # Dalfox only
# custom_headers: ['Foo: bar', 'User-Agent: Anything'] # FFUF, Nuclei, Dalfox, CRL Fuzz, HTTP Crawl, Fetch URL, etc
# enable_http_crawl: true # All tools
# timeout: 10 # Subdomain discovery, Screenshot, Port scan, FFUF, Nuclei
# threads: 30 # All tools
Expand All @@ -19,7 +18,6 @@ subdomain_discovery: {
# 'amass_wordlist': 'deepmagic.com-prefixes-top50000'
}
http_crawl: {
# 'custom_header': 'Cookie: Test',
# 'threads': 30,
# 'follow_redirect': true
}
Expand Down
2 changes: 1 addition & 1 deletion web/fixtures/default_scan_engines.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
true,\r\n 'nuclei': {\r\n 'use_nuclei_config': false,\r\n 'severities': ['unknown',
'info', 'low', 'medium', 'high', 'critical']\r\n }\r\n}\r\nwaf_detection: {\r\n\r\n}\r\nscreenshot:
{\r\n 'enable_http_crawl': true,\r\n 'intensity': 'normal',\r\n 'timeout':
10,\r\n 'threads': 40\r\n}\r\n\r\n# custom_header: \"Cookie: Test\""
10,\r\n 'threads': 40\r\n}\r\n\r\n# custom_headers: \"[Cookie: Test]\""
default_engine: true
- model: scanEngine.enginetype
pk: 2
Expand Down

0 comments on commit e647465

Please sign in to comment.