jm33-m0 / emp3r0r

Linux/Windows post-exploitation framework made by linux user
https://infosec.exchange/@jm33
MIT License
1.26k stars 232 forks source link

AttributeError: 'GoBuild' object has no attribute 'AgentRoot' #53

Closed Anibabasb closed 2 years ago

Anibabasb commented 2 years ago

./build.py cc Clean everything and start over? [Y/n] y CC server address (domain name or ip address, can be more than one, separate with space):

127.0.0.1 [!] Exception: Traceback (most recent call last):
File "/home/kali/Downloads/emp3r0r-1.1.2/core/./build.py", line 709, in
main(sys.argv[1])
File "/home/kali/Downloads/emp3r0r-1.1.2/core/./build.py", line 479, in main
gobuild = GoBuild(target="cc", cc_ip=ccip, cc_other_names=cc_other)
File "/home/kali/Downloads/emp3r0r-1.1.2/core/./build.py", line 110, in init
CACHED_CONF['agent_root'] = self.AgentRoot
AttributeError: 'GoBuild' object has no attribute 'AgentRoot'

jm33-m0 commented 2 years ago

Thanks for reporting, this is a bug of build.py introduced by the latest commit, you can use older versions until it's been fixed

jm33-m0 commented 2 years ago

Also, please note that when using build.py, you need to specify the --target cc argument now, try ./build.py --help

https://github.com/jm33-m0/emp3r0r/wiki/Getting-started#build-cc

jm33-m0 commented 2 years ago

Hi, it's been fixed in master branch and a new version has been released, please check

jm33-m0 commented 2 years ago

https://github.com/jm33-m0/emp3r0r/commit/a00a147b379af4f10a925ea310afa023edf563ef

Turns out it was another bug, anyways, both have been fixed