How snoopysecurity/dvws-node works
Main Components
a) Client Layer:
• Static Web Frontend (in /public directory)
• Multiple HTML interfaces (admin, notes, search, upload interfaces)
• Client-side JavaScript components (passgen.js, receiver.js, userdisplay.js)
b) API/Service Layer:
• REST API endpoints (via Express.js routes)
• GraphQL API (/graphql directory)
• SOAP Web Service (soapserver directory)
• XML-RPC Service (rpc_server.js)
• Swagger API documentation (swagger.js)
c) Application Core:
• Controllers layer (/controllers)
• Models layer (/models)
• Authentication/Authorization system
• File storage system
d) Data Layer:
• MongoDB (NoSQL database)
• MySQL database
• File Storage System (/public/uploads)
Component Relationships
• Client → API Layer (HTTP/HTTPS requests)
• API Layer → Controllers (internal routing)
• Controllers → Models (data access)
• Models → Databases (data persistence)
Specific Elements
a) Entry Points:
• HTTP/HTTPS endpoints
• GraphQL endpoint
• SOAP endpoint
• XML-RPC endpoint
b) Security Components:
• JWT handling
• Authentication flow
• Access control points
• File upload handlers
[Client Layer]
• ↓ HTTP/HTTPS
[API Gateway/Router]
• ↓
[Service Layer]
• REST Controllers
• GraphQL Resolver
• SOAP Service
• XML-RPC Service
• ↓
[Application Core]
• Business Logic
• Models
• Security Controls
• ↓
[Data Layer]
• MongoDB
• MySQL
• File Storage
Important Notes
• Vulnerable components with warning symbols
• Security flow markers showing authentication/authorization paths
• A section showing the intentionally vulnerable areas
• Notes about the security testing endpoints