mirror of
https://github.com/hexahigh/nodejs-hash-antivirus.git
synced 2025-12-11 20:05:07 +01:00
update
This commit is contained in:
parent
90aa3f14c7
commit
7c076caa80
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,2 +1,3 @@
|
|||||||
db.txt
|
db.txt
|
||||||
h-db.txt
|
h-db.txt
|
||||||
|
customdb.txt
|
||||||
@ -18,7 +18,7 @@ var text = outputdata;
|
|||||||
processInput()
|
processInput()
|
||||||
|
|
||||||
function processInput () {
|
function processInput () {
|
||||||
fs.open('dbcreator.txt', 'a', 666, function( e, id ) {
|
fs.open('customdb.txt', 'a', 666, function( e, id ) {
|
||||||
fs.write( id, text + os.EOL, null, 'utf8', function(){
|
fs.write( id, text + os.EOL, null, 'utf8', function(){
|
||||||
fs.close(id, function(){
|
fs.close(id, function(){
|
||||||
console.log('Custom database is updated, check the dbcreator.txt file');
|
console.log('Custom database is updated, check the dbcreator.txt file');
|
||||||
|
|||||||
@ -44,7 +44,7 @@ while(true) {
|
|||||||
//const directoryPath = '/path/to/directory'; // Replace with your directory path
|
//const directoryPath = '/path/to/directory'; // Replace with your directory path
|
||||||
|
|
||||||
function processInput() {
|
function processInput() {
|
||||||
fs.open('dbcreator.txt', 'a', 666, function (e, id) {
|
fs.open('customdb.txt', 'a', 666, function (e, id) {
|
||||||
fs.write(id, text + os.EOL, null, 'utf8', function () {
|
fs.write(id, text + os.EOL, null, 'utf8', function () {
|
||||||
fs.close(id, function () {
|
fs.close(id, function () {
|
||||||
arraynumber = arraynumber + 1
|
arraynumber = arraynumber + 1
|
||||||
|
|||||||
7
node_modules/crypto/README.md
generated
vendored
7
node_modules/crypto/README.md
generated
vendored
@ -1,7 +0,0 @@
|
|||||||
# Deprecated Package
|
|
||||||
|
|
||||||
This package is no longer supported and has been deprecated. To avoid malicious use, npm is hanging on to the package name.
|
|
||||||
|
|
||||||
It's now a built-in Node module. If you've depended on crypto, you should switch to the one that's built-in.
|
|
||||||
|
|
||||||
Please contact support@npmjs.com if you have questions about this package.
|
|
||||||
19
node_modules/crypto/package.json
generated
vendored
19
node_modules/crypto/package.json
generated
vendored
@ -1,19 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "crypto",
|
|
||||||
"version": "1.0.1",
|
|
||||||
"description": "",
|
|
||||||
"main": "index.js",
|
|
||||||
"scripts": {
|
|
||||||
"test": "echo \"Error: no test specified\" && exit 1"
|
|
||||||
},
|
|
||||||
"repository": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "git+https://github.com/npm/deprecate-holder.git"
|
|
||||||
},
|
|
||||||
"author": "",
|
|
||||||
"license": "ISC",
|
|
||||||
"bugs": {
|
|
||||||
"url": "https://github.com/npm/deprecate-holder/issues"
|
|
||||||
},
|
|
||||||
"homepage": "https://github.com/npm/deprecate-holder#readme"
|
|
||||||
}
|
|
||||||
9
node_modules/fs/README.md
generated
vendored
9
node_modules/fs/README.md
generated
vendored
@ -1,9 +0,0 @@
|
|||||||
# Security holding package
|
|
||||||
|
|
||||||
This package name is not currently in use, but was formerly occupied
|
|
||||||
by another package. To avoid malicious use, npm is hanging on to the
|
|
||||||
package name, but loosely, and we'll probably give it to you if you
|
|
||||||
want it.
|
|
||||||
|
|
||||||
You may adopt this package by contacting support@npmjs.com and
|
|
||||||
requesting the name.
|
|
||||||
20
node_modules/fs/package.json
generated
vendored
20
node_modules/fs/package.json
generated
vendored
@ -1,20 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "fs",
|
|
||||||
"version": "0.0.1-security",
|
|
||||||
"description": "",
|
|
||||||
"main": "index.js",
|
|
||||||
"scripts": {
|
|
||||||
"test": "echo \"Error: no test specified\" && exit 1"
|
|
||||||
},
|
|
||||||
"repository": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "git+https://github.com/npm/security-holder.git"
|
|
||||||
},
|
|
||||||
"keywords": [],
|
|
||||||
"author": "",
|
|
||||||
"license": "ISC",
|
|
||||||
"bugs": {
|
|
||||||
"url": "https://github.com/npm/security-holder/issues"
|
|
||||||
},
|
|
||||||
"homepage": "https://github.com/npm/security-holder#readme"
|
|
||||||
}
|
|
||||||
@ -11,8 +11,6 @@
|
|||||||
"author": "Boofdev",
|
"author": "Boofdev",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"crypto": "^1.0.1",
|
|
||||||
"fs": "^0.0.1-security",
|
|
||||||
"prompt-sync": "^4.2.0"
|
"prompt-sync": "^4.2.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user