Comments (5)
If you change the following line in the Makefile it should work:
BINPATH = $(DESTDIR)/usr/bin/
Change to
BINPATH = $(DESTDIR)/usr/local/bin/
from sslscan.
Perhaps /usr/local
should be the default installation location, instead of /usr
? That's more of a conventional location for software that is built and installed by the users, as opposed to that provided by the vendor or packager of the OS.
from sslscan.
I changed in the Makefile
BINDIR = $(PREFIX)/bin
to
BINDIR = $(PREFIX)/local/bin
sudo make -B install
seems to require an existing version of openssl in /usr/local/ssl.
If there is no openssl version in /usr/local/ssl the output is this
cc -o sslscan -Wall -Wformat=2 -L/usr/local/ssl/lib/ -L/usr/local/opt/openssl/lib -I/usr/local/ssl/include/ -I/usr/local/ssl/include/openssl/ -I/usr/local/opt/openssl/include -DVERSION=\"1.11.4-rbsec-wip\" sslscan.c -lssl -lcrypto
ld: warning: directory not found for option '-L/usr/local/ssl/lib/'
If there is an existing version of openssl, and this version was not configured with ./Configure darwin64-x86_64-cc, other warnings will be created.
BTW: during the compilation of openssl during make static, at one moment in time, there is the following output:
Configured for darwin64-x86_64-cc.
*** Because of configuration changes, you MUST do the following before
*** building:
make depend
/Library/Developer/CommandLineTools/usr/bin/make -C openssl depend
making depend in crypto...
making depend in crypto/objects...
And finally:
after compiling everything:
$ sslscan --version
1.11.4-rbsec-wip
OpenSSL 1.0.2g 1 Mar 2016
OpenSSL version does not support SSLv2
SSLv2 ciphers will not be detected
from sslscan.
You shouldn't need to alter the Makefile to install under /usr/local
any more; it now has PREFIX support (since 3ed8acf). Just pass the PREFIXargument to
make`:
make install PREFIX=/usr/local
BTW, it looks like that make install
is rebuilding a dynamically-linked sslscan
and blowing away the result of the previous make static
because install
depends on sslscan
and the sslscan
target is marked as phony.
from sslscan.
@apjanke good spot on the install bug - I almost never use make install
so it's not one I've ever come across. Should be fixed in 0d2cd58. Doing it in bash seems like a bit of an ugly fix, but I couldn't see a nice way to do the check natively in the Makefile (although someone who knows a bit more about writing Makefiles may be able to find a cleaner solution).
@Vietwoojagig as mentioned above, you can use PREFIX to change the install directory for sslscan if your OS won't let you write to /usr/bin/
from sslscan.
Related Issues (20)
- Failed to parse certificate information HOT 2
- fatal error C1083 HOT 2
- connected to service but Displaying all TLS Protocol disabled. HOT 7
- Provide precompiled binaries for Linux, Mac HOT 3
- RHEL install with yum HOT 3
- providing a list with --targets doesnt work as only the first item on the list is being check upon HOT 1
- [Question] Cipher strength levels HOT 4
- False Positive 'TLS1.3 Server accepts all signature algorithms'
- gcc-13 warning: 'secondMethod' may be used uninitialized
- Feature Request : Write "security colors" as a text in XML output HOT 1
- Undocumented GPG verification key.
- Docker build stopped working HOT 2
- TLS 1.2 Cipher Suites not detected HOT 8
- Missing protocol and ciphers HOT 5
- TLS 1.3 Inconsistent results HOT 8
- 403 Sorry, your password was incorrect. Please double-check your password. HOT 1
- "Unable to parse certificate" with version 2.1.1 HOT 4
- Error when COPY --from=builder /lib/ld-musl-x86_64.so.1 /lib/ld-musl-x86_64.so.1: HOT 7
- Windows 2.1.2 release zip file contains 2.1.1 pre-compiled binary HOT 9
- Failure when scanning [::1] due to SNI HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sslscan.