mirror of
https://github.com/rapid7/metasploit-payloads
synced 2025-06-09 12:03:41 +02:00

- try to share some bits between different makefiles, make modifying global compiler flags not such a huge pain. - directly specify we should be using the gold rather than bpf linker - make compiler output largely quiet except where we care - allow warnings to actually be visible - don't delete downloaded tarballs with --really-clean - add missing dependencies between libraries (--no-add-needed/--no-copy-dt-needed-entries causes lots of trouble) - update readme to show what to install to build I made minimal changes to the loader makefile - it breaks easily. -Os prevents if from being able to load libc, for instance
This is the runtime linker for the posix meterpreter. It is currently linux/x86 only, but this will probably change later on once I have meterpreter working in general. Currently, make test will build a stand alone binary that will unpack/resolve libc, libm, libcrypto, libssl, and the metsrv_main binary. It will then call the server_setup(fd) code. make will build a .so with the above code. It will probably be used for payload support, but that is a little while away.