Skip to content

cryptographic failure

Somkiat Puisungnoen edited this page Mar 24, 2024 · 1 revision

Cryptographic Failure workshop

Step 1 :: Build

$git clone https://github.com/up1/workshop-nodejs-secure.git
$cd workshop-nodejs-secure
$cd src/a02-cryptographic-failure
$npm i

Step 2 :: Start server

$npm start

> owasp-step-2@1.0.0 start
> nodemon index.js

[nodemon] 3.1.0
[nodemon] to restart at any time, enter `rs`
[nodemon] watching path(s): *.*
[nodemon] watching extensions: js,mjs,cjs,json
[nodemon] starting `node index.js`
Starting server
Listening on port 3000
Available routes:

╔═══════════╤══════════════════╗
║ Method(s) │ Path             ║
╟───────────┼──────────────────╢
║       GET │ /all-data        ║
║      HEAD │ /all-data        ║
║      POST │ /change-password ║
║      POST │ /login           ║
║      POST │ /register        ║
╚═══════════╧══════════════════╝

Fastify server is running

Step 3 :: Import file /postman/OWASP Top Ten Workshop.postman_collection.json to Postman

Let's workshop