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

don't compile Mac OS #41

Closed
badmonstr opened this issue Jan 30, 2018 · 2 comments
Closed

don't compile Mac OS #41

badmonstr opened this issue Jan 30, 2018 · 2 comments

Comments

@badmonstr
Copy link

src badmonstr$ sudo make -v
Password:
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This program built for i386-apple-darwin11.3.0

@badmonstr
Copy link
Author

MacBook-Air-badmonstr:src badmonstr$ make
rm -f ../bin/*
rm -f *.bin *.exe
cc -Wall -W -pipe -O2 -std=gnu99 -o cap2hccapx.bin cap2hccapx.c
ld: can't open output file for writing: cap2hccapx.bin, errno=13 for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [native] Error 1

@matrix
Copy link
Member

matrix commented Oct 26, 2024

% make
rm -f ../bin/*
rm -f *.bin *.exe
rm -rf *.dSYM
cc -Wall -W -pipe -std=gnu99 -O2  -o cap2hccapx.bin cap2hccapx.c
cc -Wall -W -pipe -std=gnu99 -O2  -o cleanup-rules.bin cleanup-rules.c
cc -Wall -W -pipe -std=gnu99 -O2  -o combinator.bin combinator.c
cc -Wall -W -pipe -std=gnu99 -O2  -o combinator3.bin combinator3.c
cc -Wall -W -pipe -std=gnu99 -O2  -o combinatorX.bin combinatorX.c
cc -Wall -W -pipe -std=gnu99 -O2  -o combipow.bin combipow.c
cc -Wall -W -pipe -std=gnu99 -O2  -o ct3_to_ntlm.bin ct3_to_ntlm.c
cc -Wall -W -pipe -std=gnu99 -O2  -o cutb.bin cutb.c
cc -Wall -W -pipe -std=gnu99 -O2  -o expander.bin expander.c
cc -Wall -W -pipe -std=gnu99 -O2  -o gate.bin gate.c
cc -Wall -W -pipe -std=gnu99 -O2  -o generate-rules.bin generate-rules.c
cc -Wall -W -pipe -std=gnu99 -O2  -o hcstatgen.bin hcstatgen.c
cc -Wall -W -pipe -std=gnu99 -O2  -o hcstat2gen.bin hcstat2gen.c
cc -Wall -W -pipe -std=gnu99 -O2  -o keyspace.bin keyspace.c
keyspace.c:327:13: warning: variable 'markov_stats_ptr' set but not used [-Wunused-but-set-variable]
  uint64_t *markov_stats_ptr = markov_stats_buf;
            ^
keyspace.c:316:13: warning: variable 'root_stats_ptr' set but not used [-Wunused-but-set-variable]
  uint64_t *root_stats_ptr = root_stats_buf;
            ^
2 warnings generated.
cc -Wall -W -pipe -std=gnu99 -O2  -o len.bin len.c
cc -Wall -W -pipe -std=gnu99 -O2  -o mli2.bin mli2.c
cc -Wall -W -pipe -std=gnu99 -O2  -o morph.bin morph.c
cc -Wall -W -pipe -std=gnu99 -O2  -o permute.bin permute.c
cc -Wall -W -pipe -std=gnu99 -O2  -o permute_exist.bin permute_exist.c
cc -Wall -W -pipe -std=gnu99 -O2  -o prepare.bin prepare.c
cc -Wall -W -pipe -std=gnu99 -O2  -o req-include.bin req-include.c
cc -Wall -W -pipe -std=gnu99 -O2  -o req-exclude.bin req-exclude.c
cc -Wall -W -pipe -std=gnu99 -O2  -o rli.bin rli.c
cc -Wall -W -pipe -std=gnu99 -O2  -o rli2.bin rli2.c
cc -Wall -W -pipe -std=gnu99 -O2  -o rules_optimize.bin rules_optimize.c cpu_rules.c
cc -Wall -W -pipe -std=gnu99 -O2  -o splitlen.bin splitlen.c
cc -Wall -W -pipe -std=gnu99 -O2  -o strip-bsr.bin strip-bsr.c
cc -Wall -W -pipe -std=gnu99 -O2  -o strip-bsn.bin strip-bsn.c
% ./cap2hccapx.bin 
usage: ./cap2hccapx.bin input.pcap output.hccapx [filter by essid] [additional network essid:bssid]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants