Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Teamserver-Client--Bug]: make client-build failed on Kali Linux 2024.2 ARM #511

Open
1 task done
gh0-0st opened this issue Aug 24, 2024 · 0 comments
Open
1 task done
Labels
clientside/teamserver Clientside problem, not implantrelated

Comments

@gh0-0st
Copy link

gh0-0st commented Aug 24, 2024

Contact Details

No response

What happened?

When I tried to compile the client (no issue with the server) on Kali latest version (currently 2024.2) for ARM, that failed with the message below:

$ git clone --branch dev https://github.com/HavocFramework/Havoc.git
Cloning into 'Havoc'...
remote: Enumerating objects: 12264, done.
remote: Counting objects: 100% (3122/3122), done.
remote: Compressing objects: 100% (845/845), done.
remote: Total 12264 (delta 2551), reused 2531 (delta 2262), pack-reused 9142 (from 1)
Receiving objects: 100% (12264/12264), 30.53 MiB | 10.20 MiB/s, done.
Resolving deltas: 100% (8263/8263), done.
$ cd Havoc 
$ git submodule update --init --recursive
Submodule 'client/external/json' (https://github.com/nlohmann/json) registered for path 'client/external/json'
Submodule 'client/external/spdlog' (https://github.com/gabime/spdlog) registered for path 'client/external/spdlog'
Submodule 'client/external/toml' (https://github.com/ToruNiina/toml11) registered for path 'client/external/toml'
...
$ make client-build
...
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[3]: *** [CMakeFiles/Havoc.dir/build.make:170: CMakeFiles/Havoc.dir/src/Havoc/Connector.cc.o] Error 1
gmake[3]: *** Waiting for unfinished jobs....
gmake[3]: Leaving directory '/home/user/Havoc/client/Build'
gmake[2]: *** [CMakeFiles/Makefile2:86: CMakeFiles/Havoc.dir/all] Error 2
gmake[2]: Leaving directory '/home/user/Havoc/client/Build'
gmake[1]: *** [Makefile:91: all] Error 2
gmake[1]: Leaving directory '/home/user/Havoc/client/Build'
make: *** [makefile:36: client-build] Error 2

Did You Do a Pull First?

Latest (You performed a pull first)

Did You Try With the Dev Branch?

Yes (You tried using the dev branch but the problem persist)

Relevant log output

$ make client-build
[*] building client
-- The C compiler identification is GNU 13.3.0
-- The CXX compiler identification is GNU 13.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Warning (dev) at CMakeLists.txt:52 (find_package):
  Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
  are removed.  Run "cmake --help-policy CMP0148" for policy details.  Use
  the cmake_policy command to set the policy and suppress this warning.

This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found PythonLibs: /usr/lib/aarch64-linux-gnu/libpython3.11.so (found suitable version "3.11.9", minimum required is "3")
-- Configuring done (0.4s)
-- Generating done (0.0s)
-- Build files have been written to: /home/user/Havoc/client/Build
Cloning into 'client/Modules'...
remote: Enumerating objects: 1073, done.
remote: Counting objects: 100% (194/194), done.
remote: Compressing objects: 100% (130/130), done.
remote: Total 1073 (delta 93), reused 101 (delta 64), pack-reused 879 (from 1)
Receiving objects: 100% (1073/1073), 1.05 MiB | 17.02 MiB/s, done.
Resolving deltas: 100% (552/552), done.
Submodule 'NoConsolation/No-Consolation' (https://github.com/fortra/No-Consolation) registered for path 'NoConsolation/No-Consolation'
Submodule 'RemoteOps/CS-Remote-OPs-BOF' (https://github.com/trustedsec/CS-Remote-OPs-BOF) registered for path 'RemoteOps/CS-Remote-OPs-BOF'
Submodule 'SituationalAwareness/CS-Situational-Awareness-BOF' (https://github.com/trustedsec/CS-Situational-Awareness-BOF) registered for path 'SituationalAwareness/CS-Situational-Awareness-BOF'
Submodule 'nanodump/nanodump' (https://github.com/fortra/nanodump) registered for path 'nanodump/nanodump'
Cloning into '/home/user/Havoc/client/Modules/NoConsolation/No-Consolation'...
remote: Enumerating objects: 299, done.        
remote: Counting objects: 100% (23/23), done.        
remote: Compressing objects: 100% (21/21), done.        
remote: Total 299 (delta 2), reused 7 (delta 2), pack-reused 276 (from 1)        
Receiving objects: 100% (299/299), 350.50 KiB | 529.00 KiB/s, done.
Resolving deltas: 100% (182/182), done.
Cloning into '/home/user/Havoc/client/Modules/RemoteOps/CS-Remote-OPs-BOF'...
remote: Enumerating objects: 862, done.        
remote: Counting objects: 100% (130/130), done.        
remote: Compressing objects: 100% (86/86), done.        
remote: Total 862 (delta 55), reused 79 (delta 44), pack-reused 732 (from 1)        
Receiving objects: 100% (862/862), 666.75 KiB | 11.50 MiB/s, done.
Resolving deltas: 100% (444/444), done.
Cloning into '/home/user/Havoc/client/Modules/SituationalAwareness/CS-Situational-Awareness-BOF'...
remote: Enumerating objects: 3608, done.        
remote: Counting objects: 100% (1057/1057), done.        
remote: Compressing objects: 100% (521/521), done.        
remote: Total 3608 (delta 602), reused 890 (delta 536), pack-reused 2551 (from 1)        
Receiving objects: 100% (3608/3608), 1.96 MiB | 16.42 MiB/s, done.
Resolving deltas: 100% (2020/2020), done.
Cloning into '/home/user/Havoc/client/Modules/nanodump/nanodump'...
remote: Enumerating objects: 2926, done.        
remote: Counting objects: 100% (690/690), done.        
remote: Compressing objects: 100% (209/209), done.        
remote: Total 2926 (delta 516), reused 614 (delta 481), pack-reused 2236 (from 1)        
Receiving objects: 100% (2926/2926), 13.86 MiB | 17.12 MiB/s, done.
Resolving deltas: 100% (2287/2287), done.
Submodule path 'NoConsolation/No-Consolation': checked out 'dbac90486501f8796f622809e261c76eb449e4c5'
Submodule path 'RemoteOps/CS-Remote-OPs-BOF': checked out '6568038a899e2277ed85c5c62c7d970357ac8a6e'
Submodule path 'SituationalAwareness/CS-Situational-Awareness-BOF': checked out '9a813b8f31cd397d7b05211e1d5b378c07fd1b8b'
Submodule path 'nanodump/nanodump': checked out 'f2f4f13c2e1c1648078f7710a011671f02698fd6'
gmake[1]: Entering directory '/home/user/Havoc/client/Build'
gmake[2]: Entering directory '/home/user/Havoc/client/Build'
gmake[3]: Entering directory '/home/user/Havoc/client/Build'
gmake[3]: Leaving directory '/home/user/Havoc/client/Build'
[  0%] Built target Havoc_autogen_timestamp_deps
gmake[3]: Entering directory '/home/user/Havoc/client/Build'
gmake[3]: Leaving directory '/home/user/Havoc/client/Build'
gmake[3]: Entering directory '/home/user/Havoc/client/Build'
[  1%] Automatic MOC and UIC for target Havoc
gmake[3]: Leaving directory '/home/user/Havoc/client/Build'
[  1%] Built target Havoc_autogen
gmake[3]: Entering directory '/home/user/Havoc/client/Build'
[  3%] Automatic RCC for data/Havoc.qrc
gmake[3]: Leaving directory '/home/user/Havoc/client/Build'
gmake[3]: Entering directory '/home/user/Havoc/client/Build'
[  5%] Building CXX object CMakeFiles/Havoc.dir/src/Main.cc.o
[  7%] Building CXX object CMakeFiles/Havoc.dir/Havoc_autogen/mocs_compilation.cpp.o
[  9%] Building CXX object CMakeFiles/Havoc.dir/src/Havoc/Packager.cc.o
[ 11%] Building CXX object CMakeFiles/Havoc.dir/src/Havoc/Connector.cc.o
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[3]: *** [CMakeFiles/Havoc.dir/build.make:170: CMakeFiles/Havoc.dir/src/Havoc/Connector.cc.o] Error 1
gmake[3]: *** Waiting for unfinished jobs....
gmake[3]: Leaving directory '/home/user/Havoc/client/Build'
gmake[2]: *** [CMakeFiles/Makefile2:86: CMakeFiles/Havoc.dir/all] Error 2
gmake[2]: Leaving directory '/home/user/Havoc/client/Build'
gmake[1]: *** [Makefile:91: all] Error 2
gmake[1]: Leaving directory '/home/user/Havoc/client/Build'
make: *** [makefile:36: client-build] Error 2

Did You Read Over Your Issue First?

  • I declare I made an effort and provided the necessary information for replication of the issue.
@gh0-0st gh0-0st added the clientside/teamserver Clientside problem, not implantrelated label Aug 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
clientside/teamserver Clientside problem, not implantrelated
Projects
None yet
Development

No branches or pull requests

1 participant