Oct-01-2018, 09:17 AM
solved by @Lanting from stackoverflow
code :
code :
filename = r'C:\Users\root\Desktop\qassam.lnk' with open(filename, "rb") as f2: ba = bytearray(f2.read()) ba[0x15] = ba[0x15] | 0x20 with open(filename, "wb") as f3: f3.write(ba)