1.4 KiB
1.4 KiB
id | title | challengeType |
---|---|---|
587d8247367417b2b2512c37 | Hide Potentially Dangerous Information Using helmet.hidePoweredBy() | 2 |
Description
Instructions
Tests
tests:
- text: helmet.hidePoweredBy() middleware should be mounted correctly
testString: getUserInput => $.get(getUserInput('url') + '/_api/app-info').then(data => { assert.include(data.appStack, 'hidePoweredBy'); assert.notEqual(data.headers['x-powered-by'], 'Express')}, xhr => { throw new Error(xhr.responseText); })
Challenge Seed
Solution
// solution required