Manage missing php binary required by the 'generate' command
xorond opened this issue · 3 comments
xorond commented
hi,
i am running the latest version 4.0.0 with py3.8.1
trying to generate a simple agent
$ weevely generate test test
Exiting: Error with obfuscator template '/usr/share/weevely/bd/obfuscators/obfusc1_php.tpl': cannot use a bytes pattern on a string-like object
$ python --version
Python 3.8.1
xorond commented
problem solved. you need to have php
installed on your system for this to work.
epinna commented
Thanks for the issue, I'll add the code to manage this scenario.
epinna commented
It has been fixed on master.