Skip to content

Commit

Permalink
removed debugging from release
Browse files Browse the repository at this point in the history
  • Loading branch information
CboeSecurity committed Aug 21, 2019
1 parent 68c4302 commit 8f6afa8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions kerberos/build-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
#ld -x --shared -o pwncheck.so bin/krb_password_pwncheck.o bin/config.o bin/curl.o -lcurl -lcrypto && mv pwncheck.so /lib/security/
#cp /lib/security/pwncheck.so /usr/lib/x86_64-linux-gnu/krb5/plugins/pwqual/

gcc -g -shared -fPIC -fno-stack-protector -c src/krb_password_pwncheck.c -lcurl -lcrypto -o bin/krb_password_pwncheck.o && \
gcc -g -shared -fPIC -fno-stack-protector -c src/config.c -lcurl -lcrypto -o bin/config.o && \
gcc -g -shared -fPIC -fno-stack-protector -c ../common/curl.c -lcurl -lcrypto -o bin/curl.o && \
gcc -g -o bin/harness src/harness.c -ldl
ld -g -x --shared -o bin/pwncheck.so bin/krb_password_pwncheck.o bin/config.o bin/curl.o -lcurl -lcrypto -lyaml
gcc -shared -fPIC -fno-stack-protector -c src/krb_password_pwncheck.c -lcurl -lcrypto -o bin/krb_password_pwncheck.o && \
gcc -shared -fPIC -fno-stack-protector -c src/config.c -lcurl -lcrypto -o bin/config.o && \
gcc -shared -fPIC -fno-stack-protector -c ../common/curl.c -lcurl -lcrypto -o bin/curl.o && \
gcc -o bin/harness src/harness.c -ldl
ld -x --shared -o bin/pwncheck.so bin/krb_password_pwncheck.o bin/config.o bin/curl.o -lcurl -lcrypto -lyaml
cp bin/pwncheck.so /usr/lib/x86_64-linux-gnu/krb5/plugins/pwqual/

0 comments on commit 8f6afa8

Please sign in to comment.