mirror of
https://github.com/hexahigh/nodejs-hash-antivirus.git
synced 2025-12-11 20:05:07 +01:00
e
This commit is contained in:
parent
a5715e0877
commit
90aa3f14c7
@ -32,13 +32,13 @@ fs.readdir(filetoadd, (err, files) => {
|
||||
console.log(fileNamesAndExtensions);
|
||||
});
|
||||
|
||||
while (true) {
|
||||
while(true) {
|
||||
let filetoadd2 = fileNamesAndExtensions[arraynumber]
|
||||
const buff = fs.readFileSync(filetoadd2);
|
||||
var outputdata0 = crypto.createHash("md5").update(buff).digest("hex");
|
||||
var outputdata = outputdata0.toString().toUpperCase();
|
||||
let buff = fs.readFileSync(filetoadd2);
|
||||
let outputdata0 = crypto.createHash("md5").update(buff).digest("hex");
|
||||
let outputdata = outputdata0.toString().toUpperCase();
|
||||
|
||||
var text = outputdata;
|
||||
let text = outputdata;
|
||||
processInput()
|
||||
|
||||
//const directoryPath = '/path/to/directory'; // Replace with your directory path
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user