Skip to content

Instantly share code, notes, and snippets.

View ezklap's full-sized avatar

Saeed Balquizi ezklap

View GitHub Profile
@ezklap
ezklap / iplog.py
Last active April 19, 2024 14:51
Apex Legends IP logger
from scapy.all import *
import time
from pynput.keyboard import Key, KeyCode, Listener
import socket
'''
A python 3 script that captures the game servers IP address written for Apex Legends
you can use this for any game just look at the UDP port via wireshark and change it
on the script.
Matchmaking issue : I wrote a python script that helped me log the game servers IP addresses i was connecting to, as I had noticed 2 out of 3 matches in ranked mode I was connecting to LAGY servers , turns out Apex Matchmaking connected me to servers on the other side of the planet (400+ ms pings) and not close to the region I had selected in the game's settings.
@ezklap
ezklap / explode.py
Created March 24, 2019 10:38
Python GTA 5
# A python script to help send keyboard button presses to games
# http://www.gamespp.com/directx/directInputKeyboardScanCodes.html
import ctypes
import time
SendInput = ctypes.windll.user32.SendInput
W = 0x11
A = 0x1E