Jump to content

Forums Announcement

Read-Only Mode for Announcements & Changelogs

Dear Survivors, we'd like to inform you that this forum will transition to read-only mode. From now on, it will serve exclusively as a platform for official announcements and changelogs.

For all community discussions, debates, and engagement, we encourage you to join us on our social media platforms: Discord, Twitter/X, Facebook.

Thank you for being a valued part of our community. We look forward to connecting with you on our other channels!

Stay safe out there,
Your DayZ Team

Torndeco (DayZ)

Python Battleye Scanner (i.e auto ban log parser)

Recommended Posts

https://github.com/T...eco/pyBEscanner

pyBEscanner

A simple python application with goal of scanning arma2 + battlelog files.

This this not protect against people using a battleye bypass

Features:

  • Multiple Servers ( No multi-threading support, it scans 1 server at a time )
  • Scans battlelogs
    Whitelist + Blanlist + Kicklist filters with regrex features
    http://docs.python.o...library/re.html
  • Auto-purges logs as it scans, reduces need to re-scan
  • Makes backup logs files & splits them up into folders based on date
  • Makes actions logs i.e
    scripts-bans.txt
    scripts-kicks.txt
    scripts-unknown.txt.
  • Ability to pick per file different scan settings
    Standard - Ban only for blanlisted code...
    Standard+Kick - Ban only for blacklisted code
    + kick for unknown code entries...
    Strict - Ban for everything not in
    whitelist filter
  • Ability to detect multiple attempts i.e user spamming an logfile
    i.e
    If u could ban a player than appears in setpos.log
    10 times in 5 seconds if u wanted to...
    Or
    U can also add in different triggers i.e different triggers for
    pipebombs / grenades etc...

---------------

--------------

Above is copy/pasted from README...

Some additional notes:-

pyBEscanner only works if u got abiity to run said program on your server i.e console / admin access.

If u are using a managed server have a look @ http://www.gotcha-antihack.com/

Kicking doesn't work yet, 90% of code is in place, on my todo list.

The following is an example of a spam file... other action files are just like a normal battleye log

Timestamp is outputted in epoch seconds atm, will be fixed soon....

Player Name = Weezy

Action = BAN

1353934456.0: Weezy IP_REMOVED GUID_REMOVED - #0 81:307 Bandit1_DZ [5471,1272,96]

1353934456.0: Weezy IP_REMOVED GUID_REMOVED - #0 17:2541 Survivor2_DZ [5471,1272,96]

1353934456.0: Weezy IP_REMOVED GUID_REMOVED - #0 58:239 Survivor2_DZ [5471,1272,96]

1353934456.0: Weezy IP_REMOVED GUID_REMOVED - #0 85:13 Bandit1_DZ [5471,1272,96]

1353934456.0: Weezy IP_REMOVED GUID_REMOVED - #0 69:265 Bandit1_DZ [5471,1272,96]

1353934456.0: Weezy IP_REMOVED GUID_REMOVED - #0 96:13 Survivor2_DZ [5471,1272,96]

1353934456.0: Weezy IP_REMOVED GUID_REMOVED - #0 86:56 Survivor2_DZ [5471,1272,96]

1353934456.0: Weezy IP_REMOVED GUID_REMOVED - #0 91:96 [5471,1272,96]

Edited by Torndeco
  • Like 2

Share this post


Link to post
Share on other sites

×