> Ah, excellent. Thank you, Roberto. > > Forgive me if this is obvious, but how would one go about extracting an > embedded executable and running it with this syntax, though (or passing a > configuration file to one)? > I mean, *attach-daemon still probably won't create an executable image out > of a char*... > > (Though the security-minded me is screaming out at the possibility of a > possibly user-created .ini file including "executable code" (or even > directly executable code) from arbitrary sources.) >
well you always need some form of "extract to file", like uwsgi --extract data://0 > the_executable chmod 755 the_executable ./the_executable you can hook it as hook-asap = exec:uwsgi --extract data://0 > the_executable hook-asap = chmod:755 the_executable attach-daemon = the_executable for sure an "extract" hook would be more handy, like hook-asap = extract:data://0 the_executable -- Roberto De Ioris http://unbit.it _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
