disloops / psadify Goto Github PK
View Code? Open in Web Editor NEWA tool for converting PSAD output into HTML
License: MIT License
A tool for converting PSAD output into HTML
License: MIT License
This issue continues the discussion from
@disloops committed a change that addressed the issue and also corrected a rather serious error in the reporting on the "Last Attacks" page.
Code update to review and discuss: 6efb719
I came across the following situation: When PSAdify is started and there has been no attackers logged to far, the python script fails in L305, because the referenced slice top_ports[:rows/2]
does not use an integer, if the array is empty. One could think so, because len(top_ports)
is 0
and 0/2
is 0
again. However, it does not work like that.
There are actually two occurances of the rows/2
expression:
Line 305 in 6bca0c5
Line 322 in 6bca0c5
A simple patch would be to replace rows/2
by rows//2
. The latter floors the result to the next lower integer.
Thank you for the cool tool. ๐
In tracking down an IP address from a series of enties in a NginX error log, I found your site. I left a reduced snippet on the RPi PSAD blog page, they were from the same address & "compaines" on your Top 10 lists. They were interesting because they showed URLS that allow backdoor entry via a web server (some of them are silly - poor security).
Can PSAD corelate more than just IPTables logs.
BTW I use RPi(s) with Alpine Linux, and RPiOS with Alpine Docker images
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.