Skip to content

RPiList/TarpitAn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TarpitAn

Tarpit Analyse in Kotlin

This is just a collection of a few tools to analyse your Tarpit Logfile.

When you have your Tarpit (see https://pypi.org/project/ssh-tarpit/) up and running you can instruct Tarpit to write a log file.

If you just started and don't have a log file yet, you could download my demo-data and play with it first: https://github.com/RPiList/TarpitAn/releases

Copy your log file to the same directory, where the TarpitAn files already are.

  1. Step: Rename your log file to log.txt (It will not work otherwise).
  2. Step: Start java -jar tarpitconv.jar in your CMD or Terminal.

Your log file might contain data of a longer period. You can user config.txt file to narrow time period. The first line has to contain the start date and time, while the second line has to contain stop date and time. Check out demo config.txt to learn more about the date time format.

  1. Step: Start java -jar tarpitan.jar

to get a CSV formatted file, which can be further analysed in a spreadsheet. Additionally you get a result.txt with a few summeries.

result

  1. Step: Start java -jar tarpitangeo.jar

to get a Google Maps .kml file, to get a graphical presentation of each attacker. You can write your own geo-coordinates to geo.txt to adjust the attacked geo-coords to your actual location.

mymaps

  1. Step: Start java -jar tarpitancc.jar

to get a different CSV formatted file to create Google Spreadsheet Heatmaps.

chart

  1. That's it.