Security News
UK Officials Consider Banning Ransomware Payments from Public Entities
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.
A simple log server that receive text and dumps it into a file. Every log file will have a daily representation, meaning that you can easily delete old logs.
Be aware that there's no maximum size on the logs being stored!
Also it provides you a web interface to access the logs directory.
# install log-server
npm i log-server -g
# log-server will store the current logs on the current folder by default
log-server -p 8000
# set log-server to store the logs on './logs/' folder
log-server -p 8000 -d ./logs/
The server expose the following url to submit the logs. You can replace the LOGNAME by some text that will identify the generated log file. The file will be created on: 'LOGSDIR/DATE/LOGNAME.log'.
POST http://localhost:8000/LOGNAME/log
By running the following line you're dumping file.txt into the a log named 'LOGNAME.log'.
curl -X POST --data-binary @file.txt http://localhost:8000/LOGNAME/log --header "Content-Type:text/plain"
Oscar Brito
Copyright (c) 2014 Oscar Brito, contributors. Released under the license
FAQs
Simple file based log server
The npm package log-server receives a total of 1 weekly downloads. As such, log-server popularity was classified as not popular.
We found that log-server demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.
Security News
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
Research
Security News
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.