HavocFramework / Havoc

The Havoc Framework.
GNU General Public License v3.0
6.38k stars 906 forks source link

[Teamserver-Client--Bug]: unable to build client (gmake[1]: *Python.h dependency when installing in debian #322

Open kali64amd opened 1 year ago

kali64amd commented 1 year ago

lding client mkdir: cannot create directory ‘client/Build’: File exists -- Configuring done -- Generating done -- Build files have been written to: /home/shinobix/Desktop/Tool/Havoc/client/Build Cloning into 'client/Modules'... remote: Enumerating objects: 357, done. remote: Counting objects: 100% (47/47), done. remote: Compressing objects: 100% (43/43), done. remote: Total 357 (delta 12), reused 20 (delta 4), pack-reused 310 Receiving objects: 100% (357/357), 451.22 KiB | 228.00 KiB/s, done. Resolving deltas: 100% (151/151), done. gmake[1]: Entering directory '/home/shinobix/Desktop/Tool/Havoc/client/Build' gmake[2]: Entering directory '/home/shinobix/Desktop/Tool/Havoc/client/Build' gmake[3]: Entering directory '/home/shinobix/Desktop/Tool/Havoc/client/Build' Scanning dependencies of target Havoc_autogen gmake[3]: Leaving directory '/home/shinobix/Desktop/Tool/Havoc/client/Build' gmake[3]: Entering directory '/home/shinobix/Desktop/Tool/Havoc/client/Build' [ 2%] Automatic MOC and UIC for target Havoc gmake[3]: Leaving directory '/home/shinobix/Desktop/Tool/Havoc/client/Build' [ 2%] Built target Havoc_autogen gmake[3]: Entering directory '/home/shinobix/Desktop/Tool/Havoc/client/Build' [ 4%] Automatic RCC for Data/Havoc.qrc Scanning dependencies of target Havoc gmake[3]: Leaving directory '/home/shinobix/Desktop/Tool/Havoc/client/Build' gmake[3]: Entering directory '/home/shinobix/Desktop/Tool/Havoc/client/Build' [ 6%] Building CXX object CMakeFiles/Havoc.dir/Havoc_autogen/mocs_compilation.cpp.o [ 8%] Building CXX object CMakeFiles/Havoc.dir/Source/Main.cpp.o [ 10%] Building CXX object CMakeFiles/Havoc.dir/Source/Havoc/Connector.cpp.o [ 12%] Building CXX object CMakeFiles/Havoc.dir/Source/Havoc/Packager.cpp.o In file included from /home/shinobix/Desktop/Tool/Havoc/client/Build/Havoc_autogen/BEIJ4H4JXG/../../../Include/UserInterface/Widgets/SessionGraph.hpp:4, from /home/shinobix/Desktop/Tool/Havoc/client/Build/Havoc_autogen/BEIJ4H4JXG/moc_SessionGraph.cpp:10, from /home/shinobix/Desktop/Tool/Havoc/client/Build/Havoc_autogen/mocs_compilation.cpp:2: /home/shinobix/Desktop/Tool/Havoc/client/Include/global.hpp:264:54: warning: declaration of ‘FileBrowser HavocNamespace::Util::::FileBrowser’ changes meaning of ‘FileBrowser’ [-fpermissive] 264 | FileBrowser FileBrowser; | ^~~ In file included from /home/shinobix/Desktop/Tool/Havoc/client/Include/Havoc/Connector.hpp:4, from /home/shinobix/Desktop/Tool/Havoc/client/Source/Havoc/Connector.cpp:1: /home/shinobix/Desktop/Tool/Havoc/client/Include/global.hpp:264:54: warning: declaration of ‘FileBrowser HavocNamespace::Util::::FileBrowser’ changes meaning of ‘FileBrowser’ [-fpermissive] 264 | FileBrowser FileBrowser; | ^~~ In file included from /home/shinobix/Desktop/Tool/Havoc/client/Include/global.hpp:39, from /home/shinobix/Desktop/Tool/Havoc/client/Build/Havoc_autogen/BEIJ4H4JXG/../../../Include/UserInterface/Widgets/SessionGraph.hpp:4, from /home/shinobix/Desktop/Tool/Havoc/client/Build/Havoc_autogen/BEIJ4H4JXG/moc_SessionGraph.cpp:10, from /home/shinobix/Desktop/Tool/Havoc/client/Build/Havoc_autogen/mocs_compilation.cpp:2: /home/shinobix/Desktop/Tool/Havoc/client/Include/UserInterface/Widgets/FileBrowser.hpp:53:7: note: ‘FileBrowser’ declared here as ‘class FileBrowser’ 53 | class FileBrowser : public QWidget | ^~~ In file included from /home/shinobix/Desktop/Tool/Havoc/client/Include/global.hpp:39, from /home/shinobix/Desktop/Tool/Havoc/client/Include/Havoc/Connector.hpp:4, from /home/shinobix/Desktop/Tool/Havoc/client/Source/Havoc/Connector.cpp:1: /home/shinobix/Desktop/Tool/Havoc/client/Include/UserInterface/Widgets/FileBrowser.hpp:53:7: note: ‘FileBrowser’ declared here as ‘class FileBrowser’ 53 | class FileBrowser : public QWidget | ^~~ In file included from /home/shinobix/Desktop/Tool/Havoc/client/Source/Main.cpp:1: /home/shinobix/Desktop/Tool/Havoc/client/Include/global.hpp:264:54: warning: declaration of ‘FileBrowser HavocNamespace::Util::::FileBrowser’ changes meaning of ‘FileBrowser’ [-fpermissive] 264 | FileBrowser FileBrowser; | ^~~ In file included from /home/shinobix/Desktop/Tool/Havoc/client/Include/global.hpp:39, from /home/shinobix/Desktop/Tool/Havoc/client/Source/Main.cpp:1: /home/shinobix/Desktop/Tool/Havoc/client/Include/UserInterface/Widgets/FileBrowser.hpp:53:7: note: ‘FileBrowser’ declared here as ‘class FileBrowser’ 53 | class FileBrowser : public QWidget | ^~~ In file included from /home/shinobix/Desktop/Tool/Havoc/client/Source/Havoc/Packager.cpp:1: /home/shinobix/Desktop/Tool/Havoc/client/Include/global.hpp:264:54: warning: declaration of ‘FileBrowser HavocNamespace::Util::::FileBrowser’ changes meaning of ‘FileBrowser’ [-fpermissive] 264 | FileBrowser FileBrowser; | ^~~ In file included from /home/shinobix/Desktop/Tool/Havoc/client/Include/global.hpp:39, from /home/shinobix/Desktop/Tool/Havoc/client/Source/Havoc/Packager.cpp:1: /home/shinobix/Desktop/Tool/Havoc/client/Include/UserInterface/Widgets/FileBrowser.hpp:53:7: note: ‘FileBrowser’ declared here as ‘class FileBrowser’ 53 | class FileBrowser : public QWidget | ^~~ In file included from /home/shinobix/Desktop/Tool/Havoc/client/Build/Havoc_autogen/BEIJ4H4JXG/moc_SessionGraph.cpp:10, from /home/shinobix/Desktop/Tool/Havoc/client/Build/Havoc_autogen/mocs_compilation.cpp:2: /home/shinobix/Desktop/Tool/Havoc/client/Build/Havoc_autogen/BEIJ4H4JXG/../../../Include/UserInterface/Widgets/SessionGraph.hpp:71:17: warning: declaration of ‘Node GraphWidget::::Node’ changes meaning of ‘Node’ [-fpermissive] 71 | Node Node; | ^~~~ /home/shinobix/Desktop/Tool/Havoc/client/Build/Havoc_autogen/BEIJ4H4JXG/../../../Include/UserInterface/Widgets/SessionGraph.hpp:20:7: note: ‘Node’ declared here as ‘class Node’ 20 | class Node : public QGraphicsItem | ^~~~ In file included from /home/shinobix/Desktop/Tool/Havoc/client/Source/Havoc/Packager.cpp:5: /home/shinobix/Desktop/Tool/Havoc/client/Include/Havoc/DemonCmdDispatch.h:75:10: warning: extra qualification ‘CommandExecute::’ on member ‘Klist’ [-fpermissive] 75 | auto CommandExecute::Klist( const QString &TaskID, QString Argument1, QString Argument2 ) -> void; | ^~~~~~ /home/shinobix/Desktop/Tool/Havoc/client/Include/Havoc/DemonCmdDispatch.h:76:10: warning: extra qualification ‘CommandExecute::’ on member ‘Purge’ [-fpermissive] 76 | auto CommandExecute::Purge( const QString &TaskID, QString Argument ) -> void; | ^~~~~~ /home/shinobix/Desktop/Tool/Havoc/client/Include/Havoc/DemonCmdDispatch.h:77:10: warning: extra qualification ‘CommandExecute::’ on member ‘Ptt’ [-fpermissive] 77 | auto CommandExecute::Ptt( const QString &TaskID, QString Ticket, QString Luid ) -> void; | ^~~~~~ In file included from /home/shinobix/Desktop/Tool/Havoc/client/Include/UserInterface/Widgets/TeamserverTabSession.h:9, from /home/shinobix/Desktop/Tool/Havoc/client/Source/Havoc/Packager.cpp:8: /home/shinobix/Desktop/Tool/Havoc/client/Include/UserInterface/Widgets/SessionGraph.hpp:71:17: warning: declaration of ‘Node GraphWidget::::Node’ changes meaning of ‘Node’ [-fpermissive] 71 | Node Node; | ^~~~ /home/shinobix/Desktop/Tool/Havoc/client/Include/UserInterface/Widgets/SessionGraph.hpp:20:7: note: ‘Node’ declared here as ‘class Node’ 20 | class Node : public QGraphicsItem | ^~~~ In file included from /home/shinobix/Desktop/Tool/Havoc/client/Source/Havoc/Packager.cpp:8: /home/shinobix/Desktop/Tool/Havoc/client/Include/UserInterface/Widgets/TeamserverTabSession.h:37:41: warning: declaration of ‘Teamserver HavocNamespace::UserInterface::Widgets::TeamserverTabSession::Teamserver’ changes meaning of ‘Teamserver’ [-fpermissive] 37 | Teamserver Teamserver = nullptr; | ^~~~~~ In file included from /home/shinobix/Desktop/Tool/Havoc/client/Include/UserInterface/Widgets/TeamserverTabSession.h:10, from /home/shinobix/Desktop/Tool/Havoc/client/Source/Havoc/Packager.cpp:8: /home/shinobix/Desktop/Tool/Havoc/client/Include/UserInterface/Widgets/Teamserver.hpp:16:7: note: ‘Teamserver’ declared here as ‘class Teamserver’ 16 | class Teamserver | ^~~~~~ In file included from /home/shinobix/Desktop/Tool/Havoc/client/Source/Havoc/Packager.cpp:8: /home/shinobix/Desktop/Tool/Havoc/client/Include/UserInterface/Widgets/TeamserverTabSession.h:45:41: warning: declaration of ‘LootWidget HavocNamespace::UserInterface::Widgets::TeamserverTabSession::LootWidget’ changes meaning of ‘LootWidget’ [-fpermissive] 45 | LootWidget LootWidget = nullptr; | ^~~~~~ In file included from /home/shinobix/Desktop/Tool/Havoc/client/Include/UserInterface/Widgets/TeamserverTabSession.h:8, from /home/shinobix/Desktop/Tool/Havoc/client/Source/Havoc/Packager.cpp:8: /home/shinobix/Desktop/Tool/Havoc/client/Include/UserInterface/Widgets/LootWidget.h:39:7: note: ‘LootWidget’ declared here as ‘class LootWidget’ 39 | class LootWidget : public QWidget | ^~~~~~ [ 16%] Building CXX object CMakeFiles/Havoc.dir/Source/Havoc/Service.cpp.o [ 16%] Building CXX object CMakeFiles/Havoc.dir/Source/Havoc/DBManger/DBManager.cpp.o [ 18%] Building CXX object CMakeFiles/Havoc.dir/Source/Havoc/DBManger/Credentials.cpp.o [ 20%] Building CXX object CMakeFiles/Havoc.dir/Source/Havoc/DBManger/Sessions.cpp.o [ 22%] Building CXX object CMakeFiles/Havoc.dir/Source/Havoc/DBManger/Teamserver.cpp.o In file included from /home/shinobix/Desktop/Tool/Havoc/client/Include/Havoc/DBManager/DBManager.hpp:4, from /home/shinobix/Desktop/Tool/Havoc/client/Source/Havoc/DBManger/Credentials.cpp:1: /home/shinobix/Desktop/Tool/Havoc/client/Include/global.hpp:264:54: warning: declaration of ‘FileBrowser HavocNamespace::Util::::FileBrowser’ changes meaning of ‘FileBrowser’ [-fpermissive] 264 | FileBrowser FileBrowser; | ^~~ In file included from /home/shinobix/Desktop/Tool/Havoc/client/Include/Havoc/DBManager/DBManager.hpp:4, from /home/shinobix/Desktop/Tool/Havoc/client/Source/Havoc/DBManger/DBManager.cpp:1: /home/shinobix/Desktop/Tool/Havoc/client/Include/global.hpp:264:54: warning: declaration of ‘FileBrowser HavocNamespace::Util::::FileBrowser’ changes meaning of ‘FileBrowser’ [-fpermissive] 264 | FileBrowser FileBrowser; | ^~~ In file included from /home/shinobix/Desktop/Tool/Havoc/client/Include/global.hpp:39, from /home/shinobix/Desktop/Tool/Havoc/client/Include/Havoc/DBManager/DBManager.hpp:4, from /home/shinobix/Desktop/Tool/Havoc/client/Source/Havoc/DBManger/DBManager.cpp:1: /home/shinobix/Desktop/Tool/Havoc/client/Include/UserInterface/Widgets/FileBrowser.hpp:53:7: note: ‘FileBrowser’ declared here as ‘class FileBrowser’ 53 | class FileBrowser : public QWidget | ^~~ In file included from /home/shinobix/Desktop/Tool/Havoc/client/Include/global.hpp:39, from /home/shinobix/Desktop/Tool/Havoc/client/Include/Havoc/DBManager/DBManager.hpp:4, from /home/shinobix/Desktop/Tool/Havoc/client/Source/Havoc/DBManger/Credentials.cpp:1: /home/shinobix/Desktop/Tool/Havoc/client/Include/UserInterface/Widgets/FileBrowser.hpp:53:7: note: ‘FileBrowser’ declared here as ‘class FileBrowser’ 53 | class FileBrowser : public QWidget | ^~~ In file included from /home/shinobix/Desktop/Tool/Havoc/client/Source/Havoc/DBManger/Sessions.cpp:1: /home/shinobix/Desktop/Tool/Havoc/client/Include/global.hpp:264:54: warning: declaration of ‘FileBrowser HavocNamespace::Util::::FileBrowser’ changes meaning of ‘FileBrowser’ [-fpermissive] 264 | FileBrowser FileBrowser; | ^~~ In file included from /home/shinobix/Desktop/Tool/Havoc/client/Include/global.hpp:39, from /home/shinobix/Desktop/Tool/Havoc/client/Source/Havoc/DBManger/Sessions.cpp:1: /home/shinobix/Desktop/Tool/Havoc/client/Include/UserInterface/Widgets/FileBrowser.hpp:53:7: note: ‘FileBrowser’ declared here as ‘class FileBrowser’ 53 | class FileBrowser : public QWidget | ^~~ [ 24%] Building CXX object CMakeFiles/Havoc.dir/Source/Havoc/DBManger/Scripts.cpp.o In file included from /home/shinobix/Desktop/Tool/Havoc/client/Include/Havoc/DBManager/DBManager.hpp:4, from /home/shinobix/Desktop/Tool/Havoc/client/Source/Havoc/DBManger/Teamserver.cpp:1: /home/shinobix/Desktop/Tool/Havoc/client/Include/global.hpp:264:54: warning: declaration of ‘FileBrowser HavocNamespace::Util::::FileBrowser’ changes meaning of ‘FileBrowser’ [-fpermissive] 264 | FileBrowser FileBrowser; | ^~~ In file included from /home/shinobix/Desktop/Tool/Havoc/client/Include/global.hpp:39, from /home/shinobix/Desktop/Tool/Havoc/client/Include/Havoc/DBManager/DBManager.hpp:4, from /home/shinobix/Desktop/Tool/Havoc/client/Source/Havoc/DBManger/Teamserver.cpp:1: /home/shinobix/Desktop/Tool/Havoc/client/Include/UserInterface/Widgets/FileBrowser.hpp:53:7: note: ‘FileBrowser’ declared here as ‘class FileBrowser’ 53 | class FileBrowser : public QWidget | ^~~ [ 26%] Building CXX object CMakeFiles/Havoc.dir/Source/Havoc/Demon/ConsoleInput.cpp.o [ 28%] Building CXX object CMakeFiles/Havoc.dir/Source/Havoc/Demon/CommandSend.cpp.o [ 30%] Building CXX object CMakeFiles/Havoc.dir/Source/Havoc/Demon/CommandOutput.cpp.o In file included from /home/shinobix/Desktop/Tool/Havoc/client/Include/Havoc/DBManager/DBManager.hpp:4, from /home/shinobix/Desktop/Tool/Havoc/client/Source/Havoc/DBManger/Scripts.cpp:1: /home/shinobix/Desktop/Tool/Havoc/client/Include/global.hpp:264:54: warning: declaration of ‘FileBrowser HavocNamespace::Util::::FileBrowser’ changes meaning of ‘FileBrowser’ [-fpermissive] 264 | FileBrowser FileBrowser; | ^~~ In file included from /home/shinobix/Desktop/Tool/Havoc/client/Include/global.hpp:39, from /home/shinobix/Desktop/Tool/Havoc/client/Include/Havoc/DBManager/DBManager.hpp:4, from /home/shinobix/Desktop/Tool/Havoc/client/Source/Havoc/DBManger/Scripts.cpp:1: /home/shinobix/Desktop/Tool/Havoc/client/Include/UserInterface/Widgets/FileBrowser.hpp:53:7: note: ‘FileBrowser’ declared here as ‘class FileBrowser’ 53 | class FileBrowser : public QWidget | ^~~ In file included from /home/shinobix/Desktop/Tool/Havoc/client/Source/Havoc/Demon/ConsoleInput.cpp:1: /home/shinobix/Desktop/Tool/Havoc/client/Include/global.hpp:264:54: warning: declaration of ‘FileBrowser HavocNamespace::Util::::FileBrowser’ changes meaning of ‘FileBrowser’ [-fpermissive] 264 | FileBrowser FileBrowser; | ^~~ In file included from /home/shinobix/Desktop/Tool/Havoc/client/Include/global.hpp:39, from /home/shinobix/Desktop/Tool/Havoc/client/Source/Havoc/Demon/ConsoleInput.cpp:1: /home/shinobix/Desktop/Tool/Havoc/client/Include/UserInterface/Widgets/FileBrowser.hpp:53:7: note: ‘FileBrowser’ declared here as ‘class FileBrowser’ 53 | class FileBrowser : public QWidget | ^~~ In file included from /home/shinobix/Desktop/Tool/Havoc/client/Source/Havoc/Demon/ConsoleInput.cpp:3: /home/shinobix/Desktop/Tool/Havoc/client/Include/Havoc/DemonCmdDispatch.h:75:10: warning: extra qualification ‘CommandExecute::’ on member ‘Klist’ [-fpermissive] 75 | auto CommandExecute::Klist( const QString &TaskID, QString Argument1, QString Argument2 ) -> void; | ^~~~~~ /home/shinobix/Desktop/Tool/Havoc/client/Include/Havoc/DemonCmdDispatch.h:76:10: warning: extra qualification ‘CommandExecute::’ on member ‘Purge’ [-fpermissive] 76 | auto CommandExecute::Purge( const QString &TaskID, QString Argument ) -> void; | ^~~~~~ /home/shinobix/Desktop/Tool/Havoc/client/Include/Havoc/DemonCmdDispatch.h:77:10: warning: extra qualification ‘CommandExecute::’ on member ‘Ptt’ [-fpermissive] 77 | auto CommandExecute::Ptt( const QString &TaskID, QString Ticket, QString Luid ) -> void; | ^~~~~~ In file included from /home/shinobix/Desktop/Tool/Havoc/client/Include/Havoc/DemonCmdDispatch.h:4, from /home/shinobix/Desktop/Tool/Havoc/client/Source/Havoc/Demon/CommandSend.cpp:1: /home/shinobix/Desktop/Tool/Havoc/client/Include/global.hpp:264:54: warning: declaration of ‘FileBrowser HavocNamespace::Util::::FileBrowser’ changes meaning of ‘FileBrowser’ [-fpermissive] 264 | FileBrowser FileBrowser; | ^~~ In file included from /home/shinobix/Desktop/Tool/Havoc/client/Include/global.hpp:39, from /home/shinobix/Desktop/Tool/Havoc/client/Include/Havoc/DemonCmdDispatch.h:4, from /home/shinobix/Desktop/Tool/Havoc/client/Source/Havoc/Demon/CommandSend.cpp:1: /home/shinobix/Desktop/Tool/Havoc/client/Include/UserInterface/Widgets/FileBrowser.hpp:53:7: note: ‘FileBrowser’ declared here as ‘class FileBrowser’ 53 | class FileBrowser : public QWidget | ^~~ In file included from /home/shinobix/Desktop/Tool/Havoc/client/Source/Havoc/Demon/CommandSend.cpp:1: /home/shinobix/Desktop/Tool/Havoc/client/Include/Havoc/DemonCmdDispatch.h:75:10: warning: extra qualification ‘CommandExecute::’ on member ‘Klist’ [-fpermissive] 75 | auto CommandExecute::Klist( const QString &TaskID, QString Argument1, QString Argument2 ) -> void; | ^~~~~~ /home/shinobix/Desktop/Tool/Havoc/client/Include/Havoc/DemonCmdDispatch.h:76:10: warning: extra qualification ‘CommandExecute::’ on member ‘Purge’ [-fpermissive] 76 | auto CommandExecute::Purge( const QString &TaskID, QString Argument ) -> void; | ^~~~~~ /home/shinobix/Desktop/Tool/Havoc/client/Include/Havoc/DemonCmdDispatch.h:77:10: warning: extra qualification ‘CommandExecute::’ on member ‘Ptt’ [-fpermissive] 77 | auto CommandExecute::Ptt( const QString &TaskID, QString Ticket, QString Luid ) -> void; | ^~~~~~ /home/shinobix/Desktop/Tool/Havoc/client/Source/Havoc/Demon/ConsoleInput.cpp: In member function ‘bool HavocNamespace::HavocSpace::DemonCommands::DispatchCommand(bool, QString, const QString&)’: /home/shinobix/Desktop/Tool/Havoc/client/Source/Havoc/Demon/ConsoleInput.cpp:2240:34: error: ‘Py_IsNone’ was not declared in this scope; did you mean ‘Py_None’? 2240 | if ( Py_IsNone( Return ) || Py_IsTrue( Return ) ) | ^~~~~ | Py_None /home/shinobix/Desktop/Tool/Havoc/client/Source/Havoc/Demon/ConsoleInput.cpp:2240:57: error: ‘Py_IsTrue’ was not declared in this scope; did you mean ‘Py_True’? 2240 | if ( Py_IsNone( Return ) || Py_IsTrue( Return ) ) | ^~~~~ | Py_True /home/shinobix/Desktop/Tool/Havoc/client/Source/Havoc/Demon/ConsoleInput.cpp:2330:30: error: ‘Py_IsNone’ was not declared in this scope; did you mean ‘Py_None’? 2330 | if ( Py_IsNone( Return ) || Py_IsTrue( Return ) ) | ^~~~~ | Py_None /home/shinobix/Desktop/Tool/Havoc/client/Source/Havoc/Demon/ConsoleInput.cpp:2330:53: error: ‘Py_IsTrue’ was not declared in this scope; did you mean ‘Py_True’? 2330 | if ( Py_IsNone( Return ) || Py_IsTrue( Return ) ) | ^~~~~ | Py_True /home/shinobix/Desktop/Tool/Havoc/client/Source/Havoc/Demon/ConsoleInput.cpp:2566:38: error: ‘Py_IsNone’ was not declared in this scope; did you mean ‘Py_None’? 2566 | if ( Py_IsNone( Return ) ) | ^~~~~ | Py_None [ 32%] Building CXX object CMakeFiles/Havoc.dir/Source/Havoc/Demon/Commands.cpp.o In file included from /home/shinobix/Desktop/Tool/Havoc/client/Include/Havoc/DemonCmdDispatch.h:4, from /home/shinobix/Desktop/Tool/Havoc/client/Source/Havoc/Demon/CommandOutput.cpp:4: /home/shinobix/Desktop/Tool/Havoc/client/Include/global.hpp:264:54: warning: declaration of ‘FileBrowser HavocNamespace::Util::::FileBrowser’ changes meaning of ‘FileBrowser’ [-fpermissive] 264 | FileBrowser FileBrowser; | ^~~ In file included from /home/shinobix/Desktop/Tool/Havoc/client/Include/global.hpp:39, from /home/shinobix/Desktop/Tool/Havoc/client/Include/Havoc/DemonCmdDispatch.h:4, from /home/shinobix/Desktop/Tool/Havoc/client/Source/Havoc/Demon/CommandOutput.cpp:4: /home/shinobix/Desktop/Tool/Havoc/client/Include/UserInterface/Widgets/FileBrowser.hpp:53:7: note: ‘FileBrowser’ declared here as ‘class FileBrowser’ 53 | class FileBrowser : public QWidget | ^~~ In file included from /home/shinobix/Desktop/Tool/Havoc/client/Source/Havoc/Demon/CommandOutput.cpp:4: /home/shinobix/Desktop/Tool/Havoc/client/Include/Havoc/DemonCmdDispatch.h:75:10: warning: extra qualification ‘CommandExecute::’ on member ‘Klist’ [-fpermissive] 75 | auto CommandExecute::Klist( const QString &TaskID, QString Argument1, QString Argument2 ) -> void; | ^~~~~~ /home/shinobix/Desktop/Tool/Havoc/client/Include/Havoc/DemonCmdDispatch.h:76:10: warning: extra qualification ‘CommandExecute::’ on member ‘Purge’ [-fpermissive] 76 | auto CommandExecute::Purge( const QString &TaskID, QString Argument ) -> void; | ^~~~~~ /home/shinobix/Desktop/Tool/Havoc/client/Include/Havoc/DemonCmdDispatch.h:77:10: warning: extra qualification ‘CommandExecute::’ on member ‘Ptt’ [-fpermissive] 77 | auto CommandExecute::Ptt( const QString &TaskID, QString Ticket, QString Luid ) -> void; | ^~~~~~ gmake[3]: [CMakeFiles/Havoc.dir/build.make:256: CMakeFiles/Havoc.dir/Source/Havoc/Demon/ConsoleInput.cpp.o] Error 1 gmake[3]: Waiting for unfinished jobs.... In file included from /home/shinobix/Desktop/Tool/Havoc/client/Include/UserInterface/Widgets/TeamserverTabSession.h:9, from /home/shinobix/Desktop/Tool/Havoc/client/Source/Havoc/Demon/CommandOutput.cpp:7: /home/shinobix/Desktop/Tool/Havoc/client/Include/UserInterface/Widgets/SessionGraph.hpp:71:17: warning: declaration of ‘Node GraphWidget::::Node’ changes meaning of ‘Node’ [-fpermissive] 71 | Node Node; | ^~~~ /home/shinobix/Desktop/Tool/Havoc/client/Include/UserInterface/Widgets/SessionGraph.hpp:20:7: note: ‘Node’ declared here as ‘class Node’ 20 | class Node : public QGraphicsItem | ^~~~ In file included from /home/shinobix/Desktop/Tool/Havoc/client/Source/Havoc/Demon/CommandOutput.cpp:7: /home/shinobix/Desktop/Tool/Havoc/client/Include/UserInterface/Widgets/TeamserverTabSession.h:37:41: warning: declaration of ‘Teamserver HavocNamespace::UserInterface::Widgets::TeamserverTabSession::Teamserver’ changes meaning of ‘Teamserver’ [-fpermissive] 37 | Teamserver Teamserver = nullptr; | ^~~~~~ In file included from /home/shinobix/Desktop/Tool/Havoc/client/Include/UserInterface/Widgets/TeamserverTabSession.h:10, from /home/shinobix/Desktop/Tool/Havoc/client/Source/Havoc/Demon/CommandOutput.cpp:7: /home/shinobix/Desktop/Tool/Havoc/client/Include/UserInterface/Widgets/Teamserver.hpp:16:7: note: ‘Teamserver’ declared here as ‘class Teamserver’ 16 | class Teamserver | ^~~~~~ In file included from /home/shinobix/Desktop/Tool/Havoc/client/Source/Havoc/Demon/CommandOutput.cpp:7: /home/shinobix/Desktop/Tool/Havoc/client/Include/UserInterface/Widgets/TeamserverTabSession.h:45:41: warning: declaration of ‘LootWidget HavocNamespace::UserInterface::Widgets::TeamserverTabSession::LootWidget’ changes meaning of ‘LootWidget’ [-fpermissive] 45 | LootWidget LootWidget = nullptr; | ^~~~~~ In file included from /home/shinobix/Desktop/Tool/Havoc/client/Include/UserInterface/Widgets/TeamserverTabSession.h:8, from /home/shinobix/Desktop/Tool/Havoc/client/Source/Havoc/Demon/CommandOutput.cpp:7: /home/shinobix/Desktop/Tool/Havoc/client/Include/UserInterface/Widgets/LootWidget.h:39:7: note: ‘LootWidget’ declared here as ‘class LootWidget’ 39 | class LootWidget : public QWidget | ^~~~~~ In file included from /home/shinobix/Desktop/Tool/Havoc/client/Include/Havoc/DemonCmdDispatch.h:4, from /home/shinobix/Desktop/Tool/Havoc/client/Source/Havoc/Demon/Commands.cpp:1: /home/shinobix/Desktop/Tool/Havoc/client/Include/global.hpp:264:54: warning: declaration of ‘FileBrowser HavocNamespace::Util::::FileBrowser’ changes meaning of ‘FileBrowser’ [-fpermissive] 264 | FileBrowser FileBrowser; | ^~~ In file included from /home/shinobix/Desktop/Tool/Havoc/client/Include/global.hpp:39, from /home/shinobix/Desktop/Tool/Havoc/client/Include/Havoc/DemonCmdDispatch.h:4, from /home/shinobix/Desktop/Tool/Havoc/client/Source/Havoc/Demon/Commands.cpp:1: /home/shinobix/Desktop/Tool/Havoc/client/Include/UserInterface/Widgets/FileBrowser.hpp:53:7: note: ‘FileBrowser’ declared here as ‘class FileBrowser’ 53 | class FileBrowser : public QWidget | ^~~ In file included from /home/shinobix/Desktop/Tool/Havoc/client/Source/Havoc/Demon/Commands.cpp:1: /home/shinobix/Desktop/Tool/Havoc/client/Include/Havoc/DemonCmdDispatch.h:75:10: warning: extra qualification ‘CommandExecute::’ on member ‘Klist’ [-fpermissive] 75 | auto CommandExecute::Klist( const QString &TaskID, QString Argument1, QString Argument2 ) -> void; | ^~~~~~ /home/shinobix/Desktop/Tool/Havoc/client/Include/Havoc/DemonCmdDispatch.h:76:10: warning: extra qualification ‘CommandExecute::’ on member ‘Purge’ [-fpermissive] 76 | auto CommandExecute::Purge( const QString &TaskID, QString Argument ) -> void; | ^~~~~~ /home/shinobix/Desktop/Tool/Havoc/client/Include/Havoc/DemonCmdDispatch.h:77:10: warning: extra qualification ‘CommandExecute::’ on member ‘Ptt’ [-fpermissive] 77 | auto CommandExecute::Ptt( const QString &TaskID, QString Ticket, QString Luid ) -> void; | ^~~~~~ gmake[3]: Leaving directory '/home/shinobix/Desktop/Tool/Havoc/client/Build' gmake[2]: [CMakeFiles/Makefile2:96: CMakeFiles/Havoc.dir/all] Error 2 gmake[2]: Leaving directory '/home/shinobix/Desktop/Tool/Havoc/client/Build' gmake[1]: [Makefile:103: all] Error 2 gmake[1]: Leaving directory '/home/shinobix/Desktop/Tool/Havoc/client/Build' make: *** [makefile:30: client-build] Error 2

kali64amd commented 1 year ago

Looks like its python lib error but i have installed python3.10

python1

kali64amd commented 1 year ago

Updated this repo ....

echo 'deb http://ftp.de.debian.org/debian bookworm main' >> /etc/apt/sources.list apt update apt install python3-dev python3.10-dev libpython3.10 libpython3.10-dev python3.10

However didn't see it download any above python3 dpkg deb1

It has break my os, any advise for debian??

SecT0uch commented 1 year ago

Try installing python-dev

kali64amd commented 1 year ago

Same Error !!!!

gmake[3]: Leaving directory '/home/shinobix/Desktop/Tool/Havoc/client/Build' gmake[2]: [CMakeFiles/Makefile2:96: CMakeFiles/Havoc.dir/all] Error 2 gmake[2]: Leaving directory '/home/shinobix/Desktop/Tool/Havoc/client/Build' gmake[1]: [Makefile:103: all] Error 2 gmake[1]: Leaving directory '/home/shinobix/Desktop/Tool/Havoc/client/Build' make: *** [makefile:30: client-build] Error 2

kali64amd commented 1 year ago

I don't have any issue on Kali while building client and teamserver however on Parrot I have face lots of issue.....

I have fix most of them but stuck on this.

csandker commented 1 year ago

I just ran into a similar issue, here's what might caused that:

I didn't had the time to dig deeper into this. I switched to an Ubuntu base, where the docu install routine worked flawlessly.

kejaly commented 6 months ago

i use the latest Kali 2023.4 , and install the Havoc and succeed . the python servion is 3.11.6 image

by the way ,i change the defualt number of CPU to 8 which will avoid the system stuck when running make build-client