iPXE discussion forum

Full Version: Embedded scripts extract from ipxe binary
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
It is possible? Or to read it?

Thanks

sebus
(2016-02-02 22:43)sebus Wrote: [ -> ]It is possible? Or to read it?

There's no supported way to do this. The easiest way in practice is to boot up your iPXE binary in a VM, dump the VM's memory to disk, and search through the memory dump for the string "#!ipxe".

Michael
Thanks, the bit I needed was in fact published elsewhere, so did not have to go to this extend

sebus
Hello everybody,

due to a reinstallation I have lost my ipxe build environment and the included self-made configuration script file. I have the undionly.kpxe and ipxe.efi files which were compiled with an embedded config script.
Is it somehow possible to extract this embedded configuration script out of these binaries. For example by decompiling?
Thanks much for your time and help
(2018-07-31 07:23)subsoil Wrote: [ -> ]I have the undionly.kpxe and ipxe.efi files which were compiled with an embedded config script.
Is it somehow possible to extract this embedded configuration script out of these binaries. For example by decompiling?

Hi (I moved this post to existing thread), as you can see from the comments above, there is no recommended way of doing this,
And the best way is to boot it in a VM and take a memory dump.
Thanks much, I will try that...
Reference URL's