https://github.com/kovstas/network-analyser
Looking for some suspicious activity in authorization log files
https://github.com/kovstas/network-analyser
Last synced: about 2 months ago
JSON representation
Looking for some suspicious activity in authorization log files
- Host: GitHub
- URL: https://github.com/kovstas/network-analyser
- Owner: kovstas
- Created: 2019-04-22T08:13:11.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-04-22T15:01:35.000Z (about 6 years ago)
- Last Synced: 2025-02-09T20:45:58.898Z (3 months ago)
- Language: Scala
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Network analyser
Looking for some suspicious activity in authorization log files. Suspicious activity is
multiple attempt to login from the same IP address for given period of time.## Requirements
If you want to build this project you will install sbt > 1.0 and JDK 8.
For using you need only JRE 8.## Build
`sbt assembly`
## Usage
`java -jar network-analyser-0.0-SNAPSHOT.jar -i -o `
Options:
* `-o, --output ` is path to result file, it's optional
* `-i, --interval ` is period of time in seconds, default value is 1 hour## Input File
```csv
"TheRealJJ","77.92.76.250","2015-11-30 23:11:40"
"loginAuthTest","37.48.80.201","2015-11-30 23:11:51"
"ksiriusr","123.108.246.205","2015-11-30 23:11:55"
```## Output File
```csv
116.104.116.42,2015-11-30 23:19:09,2015-11-30 23:20:54,"khuongz2:2015-11-30 23:19:09,khuongz3:2015-11-30 23:19:44,khuongz4:2015-11-30 23:20:13,khuongzz:2015-11-30 23:20:54"
87.54.190.189,2015-11-30 23:21:23,2015-11-30 23:21:50,"MattyTheGamerDK:2015-11-30 23:21:23,MattyTheGamerDK:2015-11-30 23:21:50"
```