January 2020
Intermediate to advanced
530 pages
11h 11m
English
The /api/hashreadfile service will be called by the frontend if the response from the /api/hashread service indicates that the MTH (MTH) or FTH (FTH) has changed, indicating that our secure directory has been tampered with. The /api/hashreadfile service will then help us identify which files have been tampered with.
Let's start writing our service:
app.post("/api/hashreadfile", function(request , response){ x`var directory = request.body.DirPath; var files = request.body.files; var responseObject = []; var timestamp = []; ...Read now
Unlock full access