Skip to content

Releases: BUZZARDGTA/GTA-V-Session-Sniffer

GTA V Session Sniffer v1.1.6

18 Oct 16:25
d534547
Compare
Choose a tag to compare
  • Renamed project file \Modules\capture\sync_capture.py to capture.py.
  • Fixed a bug where players were shown as "disconnected" after rejoining (the script now enforces the use of Tshark v4.2.8).
  • Fixed an issue where players who leaves the session, would occasionally be first marked as "disconnected" then returns with a couple packets, and finally again be marked as "disconnected". This was resolved by changing the default value of the STDOUT_DISCONNECTED_PLAYERS_TIMER setting from 6.0 to 16.0. (Basically, we are just waiting longer before marking them as "disconnected".)
  • Improved code.
  • Updated URLs to match my new GitHub profile.
  • Updated project dependencies:
  • "prettytable" from 3.10.2 to 3.11.0
  • "urllib3" from 2.2.2 to 2.2.3
  • Updated the DISPLAY_FILTER by adjusting from frame.len<=999 to frame.len<=1032
  • Added a new method, live_capture, to \Modules\capture\capture.py (currently unused).
  • Added IP ranges for "BattlEye", "UK Ministry of Defence", and "Others".
  • Added the script's crash-handling mechanisms for enhanced safety on function definitions.

Full Changelog: v1.1.5...v1.1.6

GTA V Session Sniffer v1.1.5

16 Sep 18:12
Compare
Choose a tag to compare
  • Added an IP range from Xbox One (thanks @_txshia_ for bug-report)
  • Added "Uncaught exception" errors logging.
  • Dropped support for Windows 8 and 8.1 (While they should still mostly work, for the sake of optimization, I no longer want to support them in my Releases anymore.)

Full Changelog: v1.1.4...v1.1.5

GTA V Session Sniffer v1.1.4

14 Jul 20:54
Compare
Choose a tag to compare

Full Changelog: v1.1.3...v1.1.4

GTA V Session Sniffer v1.1.3

22 Apr 08:58
Compare
Choose a tag to compare

Hello all, to sum up, I've added new features, settings and fixed/improved code 🆕🎉🔧🩹🌟🚀

  • Fixed: A bug where catching raised exceptions from invalid IP addresses was not working correctly.
  • Fixed: A bug where player port could not be found (I now raise a proper error if that happen).
  • Fixed: A bug from Python's external module mac-vendor-lookup ([SSL: CERTIFICATE_VERIFY_FAILED]).
    I've now deleted that module and made my own oui_lookup.py.
  • Refined: Code.
  • Improved: Code.
  • Improved: The IPLookup mechanism code (It's now made in a way that it can never trigger a rate limitation (429 http_code)).
  • Improved: The way script exits trough user request.
  • Added: More ThirdPartyServers IP Ranges for the setting <CAPTURE_BLOCK_THIRD_PARTY_SERVERS>.
  • Added: The "Host player" detection for GTA5's <CAPTURE_PROGRAM_PRESET> setting.
  • Added: The "Blacklist player" feature.
  • Added: Setting <BLACKLIST_ENABLED>
  • Added: Setting <BLACKLIST_NOTIFICATIONS>
  • Added: Setting <BLACKLIST_NOTIFICATIONS_TIMER>
  • Added: Setting <BLACKLIST_VOICE_NOTIFICATIONS>
  • Added: Setting <BLACKLIST_PROTECTION>
  • Added: Setting <BLACKLIST_PROTECTION_EXIT_PROCESS_PATH>
  • Added: Setting <BLACKLIST_PROTECTION_RESTART_PROCESS_PATH>
  • Removed: Setting <STDOUT_GLOBAL_PPS_TIMER> (I do not want users be able to change that setting)
  • Removed: Setting <STDOUT_FIELD_PPS_TIMER> (I do not want users be able to change that setting)
  • Removed: The mac-vendor-lookup Python's external module.

Full Changelog: v1.1.2...v1.1.3

GTA V Session Sniffer v1.1.2

07 Apr 09:56
Compare
Choose a tag to compare

Hello all, to sum up, I've fixed and improved code 🩹🌟

  • Fixed: A bug introduced in v1.1.1 where the setting <STDOUT_COUNTER_SESSION_DISCONNECTED_PLAYERS> was not working anymore.
  • Fixed: A bug introduced in v1.1.1 where player sorting was incorrect.
  • Fixed: A bug with type hinting in the source code.
  • Fixed: A bug with the new version's time not showing in script's updater msgbox.
  • Fixed: A bug where it would not exit on early msgbox exits.
  • Refined: Code.
  • Improved: Code.
  • Improved: I no longer need the dedicated check_threads_exceptions() thread because now it's done directly trough the Threads_ExceptionHandler class.

Full Changelog: v1.1.1...v1.1.2

GTA V Session Sniffer v1.1.1

06 Apr 22:44
Compare
Choose a tag to compare

Hello all, to sum up, I've added new features and settings 🆕🎉🔧

  • Refined: code.
  • Fixed: An issue preventing the capture code from running on x86 computers.
  • Fixed: A problem where it missed adding one packet to the player if this one moved from the disconnected to connected with setting <STDOUT_RESET_INFOS_ON_CONNECTED> set to False value.
  • Improved: Code.
  • Improved: Support for older Windows versions.
  • Improved: Removed the function create_or_happen_to_variable() from the code, it was just unnecessary.
  • Improved: User keyboard interrupt code. (The CTRL+C shortcut should now be faster but less graceful than before, although in my testing, it should not be a problem, so it's fine.)
  • Updated: The repo's README.md file.
  • Added: The settings <STDOUT_FIELDS_TO_HIDE>, <STDOUT_FIELD_SESSION_CONNECTED_PLAYERS_SORTED_BY> and <STDOUT_FIELD_SESSION_DISCONNECTED_PLAYERS_SORTED_BY>.
  • Added: The "Rejoins", "Mobile", "Proxy/VPN/Tor" and "Hosting/data center" fields in the players output
  • Added: The script now captures and raises errors from the threads.
  • Removed: The setting <STDOUT_FIELD_SORTED_BY> (no longer needed)
  • Removed: Leftover code.
  • Removed: The logging module. (I no longer need it since everything now raises automatically, and I've switched from pyshark module to my own sync_capture.)

Full Changelog: v1.1.0...v1.1.1

GTA V Session Sniffer v1.1.0

31 Mar 17:07
Compare
Choose a tag to compare

Hello all, to sum up, I've added new features, settings and improved overall performance 🆕🎉🔧🚀

  • Refined: code.
  • Fixed: Disconnected players from the output now receives the correct padding.
  • Renamed: setting <STDOUT_SHOW_HEADER> to <STDOUT_SHOW_ADVERTISING>.
  • Improved: The port_list_creation() code (removed unecessary colors stuff).
  • Improved: The script now has proper type hinting trough the codebase.
  • Improved: The updater's source code now incorporates the capability to detect the availability of a new update not only through versioning but also via date and time.
  • Improved: Settings implementation (I've changed their usage to a Python class, and I've notably optimized the reading of settings for significantly faster performance).
  • Improved: Better handling of user exiting the script trough CTRL+C.
  • Improved: General unexcpected scenarios, errors handling and logging.
  • Improved: Filtering local IPs from tshark output directly trough CAPTURE_FILTER.
  • Improved: Filtering packets capture code.
  • Improved: Filtering unwanted IPs.
  • Improved: The output display is now rendering significantly faster.
  • Improved: Setting <STDOUT_REFRESHING_TIMER> now accept float values.
  • Improved: packet_callback(), getting the "Country", "City" and "Asn" fields are now done trought stdout_render_core() for faster speed.
  • Improved: The output from interface's selection menu is now rendered in a fancy table.
  • Improved: The player's connected and disconnected output is now rendered in a fancy table.
  • Improved: The player's field Country's ISO codes are now rendering aligned.
  • Improved: Settings file now allow the xx-xx-xx-xx-xx-xx MAC address schema.
  • Improved: No longer excessively restarting the geoip2 Reader object.
  • Replaced: pyshark module with my own capture.sync_capture.
  • Added: a .gitignore file.
  • Added: Setting <TSHARK_PATH>.
  • Added: Setting <STDOUT_FIELD_SHOW_SEEN_DATE>.
  • Added: Setting <STDOUT_FIELD_SORTED_BY>.
  • Added: Setting <STDOUT_FIELD_PPS_TIMER>.
  • Added: Setting <STDOUT_GLOBAL_PPS_TIMER>.
  • Added: Setting <STDOUT_RESET_INFOS_ON_CONNECTED>.
  • Added: Setting <PLAYER_DISCONNECTED_TIMER>.
  • Added: Setting <PACKET_CAPTURE_OVERFLOW_TIMER>.
  • Added: Setting <NETWORK_INTERFACE_CONNECTION_PROMPT>.
  • Added: Setting <ARP>. (Especially useful for console players so that they can scan from their console directly.)
  • Added: Setting <VPN_MODE>. (Useful only if you are scanning trough a VPN interface.)
  • Added: Python classes to everything based to Players and PlayerRegistry within the code.
  • Added: Now the script automatically downloads and keep up-to-date the Maxmind GeoLite2 databases used for Country, City and ASN resolutions.
  • Added: The first three milliseconds in the "First Seen" and "Last Seen" fields of the output.
  • Added: Player's field "City" and "ASN" in the output.
  • Added: Player's field and global Packets Per Second (PPS) in the output.
  • Added: Checking that packages version matches the project ones.
  • Added: tshark latency and restarted times in stdout display.
  • Added: More ThirdPartyServers IP Ranges for the setting <BLOCK_THIRD_PARTY_SERVERS>.
  • Added: The Capture network interface selection's screen now allows ARP scanning.
  • Added: The Capture network interface selection's screen now shows the packets sent and received for each network interfaces.
  • Added: The script now officially support PS5 consoles.
  • Removed: Python's script auto-updater code. (I no longer want to use that updating method.)
  • Removed Setting <MAXMIND_DB_PATH>. (No longer needed.)
  • Removed Setting <IP_AND_MAC_ADDRESS_AUTOMATIC>. (No longer needed because replaced with <NETWORK_INTERFACE_CONNECTION_PROMPT>.)

Full Changelog: v1.0.6...v1.1.0

GTA V Session Sniffer v1.0.6

24 Feb 14:38
Compare
Choose a tag to compare
  • IMPROVED code.
  • UPDATED the packets scanning approach. Previously, it searched indefinitely for a set number of packets (PYSHARK_PACKET_COUNT), stopped scanning, and then resumed. The new algorithm continuously scans as long as there is no delay of 3 seconds between the received packets. In other words, it no longer triggers the creation of tshark.exe processes every second, providing a more efficient and streamlined operation.
  • UPDATED a bunch of code, especially for the rendering, with a focus on optimizing performance.
  • UPDATED players are now marked as disconnected based on packet timestamps rather than real-time, ensuring a more secure and reliable detection method.
  • REMOVED setting PYSHARK_PACKET_COUNT as it is no longer needed in the source code.

Full Changelog: v1.0.5...v1.0.6

GTA V Session Sniffer v1.0.5

20 Feb 21:04
Compare
Choose a tag to compare
  • Refined code.
  • Fixed display rendering to update in real-time, no longer dependent on receiving packets.
  • Fixed <STDOUT_COUNTER_SESSION_DISCONNECTED_PLAYERS> from the settings; it was previously mixing up disconnected individuals in the output.
    Now, it accurately displays only the latest {x} people who've disconnected.
  • Fixed <PYSHARK_PACKET_COUNT> from the settings that was not working.
  • Added more documentation in the README.md
  • Added now when user hit CTRL+C, it will tries to gracefully exit the script.

Full Changelog: v1.0.4...v1.0.5

GTA V Session Sniffer v1.0.4

18 Feb 11:43
Compare
Choose a tag to compare
  • Refined code.
  • Fixed the country resolving method that was curiously no longer working.
  • Added support to Xbox One and basically all available consoles.
  • Added a lot of documentation in the README.md
  • Added in the Setting.ini file: <STDOUT_SHOW_HEADER>
  • Added in the Setting.ini file; <MAXMIND_DB_PATH>
  • Added additional servers in <BLOCK_THIRD_PARTY_SERVERS>

Full Changelog: v1.0.3...v1.0.4

Big thanks @txshia for providing me with testings of the script on Xbox One console.