You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
patchkit is still stuck on python2, which is both obsolete and actively being pushed out of major distros like ubuntu. Better path forward is to use lief to update the binary the way i want.
ls=lief.parse("./ls")
section=Section(".injected.entry", lief.ELF.SECTION_TYPES.PROGBITS)
section+=lief.ELF.SECTION_FLAGS.EXECINSTRsection+=lief.ELF.SECTION_FLAGS.WRITEsection.content= [] # int array of bytes goes heresection=ls.add(section, loaded=True)
ls.header.entrypoint=section.virtual_address+STUB.header.entrypointls.write(output)
The text was updated successfully, but these errors were encountered:
patchkit is still stuck on python2, which is both obsolete and actively being pushed out of major distros like ubuntu. Better path forward is to use lief to update the binary the way i want.
The text was updated successfully, but these errors were encountered: