Open fullspectrumdev opened 5 months ago
Currently, it also does not actually compile on OpenBSD. I should fix this as well as the memcpy/memmove issue and validate that it doesn't break anything elsewhere (FreeBSD, Linux) before proceeding.
this is now fixed, at least, it works on OpenBSD, FreeBSD and Ubuntu test hosts.
The changes were:
pel.c
filesys/select.h
At the moment, the tinyshell implant doesn't actually work on modern OpenBSD due to differences in the implementation of memcpy.
The fix for this, discovered through extensive trial and error, is to just use memmove instead.
I'm unsure if this will break on other platforms though, so I might have to "guard" it with an ifdef or some bullshit.