boku7 / BokuLoader

A proof-of-concept Cobalt Strike Reflective Loader which aims to recreate, integrate, and enhance Cobalt Strike's evasion features!
MIT License
1.26k stars 244 forks source link

command not found #30

Closed sec13b closed 1 year ago

sec13b commented 1 year ago

./Makefile: line 1: CC_x64: command not found ./Makefile: line 2: CFLAGS: command not found ./Makefile: line 2: CFLAGS: command not found ./Makefile: line 3: CFLAGS: command not found ./Makefile: line 3: CFLAGS: command not found ./Makefile: line 5: bokuloader:: command not found ./Makefile: line 6: CC_x64: command not found ./Makefile: line 6: CFLAGS: command not found ./Makefile: line 6: -c: command not found ./Makefile: line 7: clean:: command not found

boku7 commented 1 year ago

The errors you're seeing suggest that your Makefile is being executed like a shell script rather than being processed by the make utility. The commands and variables in a Makefile are meant to be interpreted by make, not directly executed by the shell.

To correctly build the project, you should run make in the directory containing the Makefile, rather than trying to execute the Makefile directly:

cd /path/to/directory/with/Makefile
make

This way, make will interpret the Makefile and execute the commands as intended.