Path: blob/dev/pkg/authprovider/authx/testData/example-auth.yaml
2843 views
id: pd-nuclei-auth-test12info:3name: ProjectDiscovery Test Dev Servers4author: pdteam5description: |6This is a auth file for ProjectDiscovery dev servers.7It contains auth data of all projectdiscovery dev servers.89# Note: this is a dummy example file. none of the secrets here are real.1011# static secrets12static:13# for header based auth session14# NOTE: Headers preserve exact casing (e.g., x-pdcp-key stays as x-pdcp-key)15# This is useful for APIs that require case-sensitive header names16- type: header17domains:18- api.projectdiscovery.io19- cve.projectdiscovery.io20- chaos.projectdiscovery.io21headers:22- key: x-pdcp-key23value: <api-key-here>24- key: barAuthToken25value: <auth-token-here>2627# for query based auth session28- type: Query29domains:30- scanme.sh31params:32- key: token33value: 1a2b3c4d5e6f7g8h9i0j3435# for cookie based auth session36- type: Cookie37domains:38- scanme.sh39cookies:40- key: PHPSESSID41value: 1a2b3c4d5e6f7g8h9i0j4243# for basic auth session44- type: BasicAuth45domains:46- scanme.sh47username: test48password: test4950# for authorization bearer token51- type: BearerToken52domains-regex:53- .*scanme.sh54- .*pdtm.sh55token: test565758# dynamic secrets (powered by nuclei-templates)59dynamic:60- template: /path/to/wordpress-login.yaml61variables:62- name: username63value: pdteam64- name: password65value: nuclei-v3.2.066type: Cookie67domains:68- localhost:808069cookies:70- raw: "{{wp-global-cookie}}"71- raw: "{{wp-admin-cookie}}"72- raw: "{{wp-plugin-cookie}}"73747576