A quick way to give yourself a "developer" real-time log from within your scripts, code or projects
Join the community of Kawaiipantsu / THUGS(red) and participate in the dev talk around logio-devlog or simply just come visit us and chat about anything security related :) We love playing around with security. Also we have ctf events and small howto events for new players.
THUGS(red) Discord: https://discord.gg/Xg2jMdvss9
This requires NodeJS / NPM. But the installation is very straight forward and easy.
apt update
apt install npm
npm install -g log.io
nano ~/.log.io/server.json
{
"messageServer": { "port": 6689, "host": "127.0.0.1" },
"httpServer": { "port": 6688, "host": "127.0.0.1" },
"debug": false,
"basicAuth": { "realm": "Devlog",
"users": { "devlog": "devlog" }
}
}
log.io-server
# Browse to http://localhost:6688
# Look in contrib for a systemd service file example
// Load it up!
require("devlog.inc.php");
$devlog = new Devlog(); // Localhost default
//$devlog = new Devlog("<remote-logio-ip-address>"); // Remember to also set the ip in the logio config
// Send a message :)
$devlog->sendMessage("My first message!!","Group1","Internal-function1");
$devlog->sendMessage("My second message!!","Group1","Internal-function2");
$devlog->sendMessage("My third message!!","Group2","Source1");