We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Compiling the client using the make command fails on apple Silicon based Macs
make
git clone https://github.com/iagox86/dnscat2.git
cd dnscat2/client
Compiles the client
$ make cc --std=c89 -I. -Wall -D_DEFAULT_SOURCE -Wformat -Wformat-security -g -c -o controller/packet.o controller/packet.c cc --std=c89 -I. -Wall -D_DEFAULT_SOURCE -Wformat -Wformat-security -g -c -o controller/session.o controller/session.c controller/session.c:187:22: warning: expression which evaluates to zero treated as a null pointer constant of type 'uint8_t *' (aka 'unsigned char *') [-Wnon-literal-null-conversion] return FALSE; ^~~~~ 1 warning generated. cc --std=c89 -I. -Wall -D_DEFAULT_SOURCE -Wformat -Wformat-security -g -c -o controller/controller.o controller/controller.c cc --std=c89 -I. -Wall -D_DEFAULT_SOURCE -Wformat -Wformat-security -g -c -o drivers/driver.o drivers/driver.c cc -c --std=c89 -I. -Wall -D_DEFAULT_SOURCE -Wformat -Wformat-security -g -o drivers/command/driver_command.o drivers/command/driver_command.c cc --std=c89 -I. -Wall -D_DEFAULT_SOURCE -Wformat -Wformat-security -g -c -o drivers/command/command_packet.o drivers/command/command_packet.c cc --std=c89 -I. -Wall -D_DEFAULT_SOURCE -Wformat -Wformat-security -g -c -o drivers/driver_console.o drivers/driver_console.c cc --std=c89 -I. -Wall -D_DEFAULT_SOURCE -Wformat -Wformat-security -g -c -o drivers/driver_exec.o drivers/driver_exec.c cc --std=c89 -I. -Wall -D_DEFAULT_SOURCE -Wformat -Wformat-security -g -c -o drivers/driver_ping.o drivers/driver_ping.c cc --std=c89 -I. -Wall -D_DEFAULT_SOURCE -Wformat -Wformat-security -g -c -o libs/buffer.o libs/buffer.c cc --std=c89 -I. -Wall -D_DEFAULT_SOURCE -Wformat -Wformat-security -g -c -o libs/crypto/encryptor.o libs/crypto/encryptor.c cc --std=c89 -I. -Wall -D_DEFAULT_SOURCE -Wformat -Wformat-security -g -c -o libs/crypto/micro-ecc/uECC.o libs/crypto/micro-ecc/uECC.c cc --std=c89 -I. -Wall -D_DEFAULT_SOURCE -Wformat -Wformat-security -g -c -o libs/crypto/salsa20.o libs/crypto/salsa20.c cc --std=c89 -I. -Wall -D_DEFAULT_SOURCE -Wformat -Wformat-security -g -c -o libs/crypto/sha3.o libs/crypto/sha3.c In file included from libs/crypto/sha3.c:22: libs/crypto/byte_order.h:59:3: error: "Can't detect CPU architechture" # error "Can't detect CPU architechture" ^ 1 error generated. make: *** [libs/crypto/sha3.o] Error 1
$ uname -a Darwin F7MQJ63XL2 23.0.0 Darwin Kernel Version 23.0.0: Fri Sep 15 14:43:05 PDT 2023; root:xnu-10002.1.13~1/RELEASE_ARM64_T6020 arm64
Apple MacBook Pro M2 Max, MacOS Sonoma 14.0 (23A344)
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Description
Compiling the client using the
make
command fails on apple Silicon based MacsHow to reproduce
git clone https://github.com/iagox86/dnscat2.git
cd dnscat2/client
make
Expected behaviour
Compiles the client
Observed behaviour
Environment
Apple MacBook Pro M2 Max, MacOS Sonoma 14.0 (23A344)
The text was updated successfully, but these errors were encountered: