Comments (16)
Hi guys!
It's not a bug - htrace.sh
uses this PATH
variable (it's hardcoded in src/settings
):
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
You should create symlinks for all external tools. For resolve it will be best to follow this guide: dockerfile
So, after clone repository:
- Install
geoip-bin
(should working without symlinks)
apt-get install geoip-bin
- Install Mozilla Observatory (should working without symlinks)
curl -sL https://deb.nodesource.com/setup_10.x | bash -
apt-get install -y nodejs
npm install -g observatory-cli
- Install Ssllabs scanner
apt-get install -y golang
go get github.com/ssllabs/ssllabs-scan
ln -s /opt/go/bin/ssllabs-scan /usr/bin/ssllabs-scan
- Install Mixed Content scanner.
apt-get install -y composer php7.2-curl php7.2-xml
composer global require bramus/mixed-content-scan
ln -s /root/.composer/vendor/bramus/mixed-content-scan/bin/mixed-content-scan /usr/bin/mixed-content-scan
- Install Nmap (remember about properly version)
from htrace.sh.
I added this issue to README.md.
from htrace.sh.
Install Mozilla Observatory is also hardcoded.
As I use nvm (a Node version manager), I had to make some dirty changes with:
sudo ln -s $HOME/.nvm/versions/node/v10.8.0/bin/observatory \
/usr/bin/observatory
where my first path has been obtained with whereis observatory
from htrace.sh.
Hi @devil00x
I also got same error did you find any ways to come out from this??
from htrace.sh.
I also encountered the same problem.
$ htrace.sh --domain http://www.baidu.com
not found in PATH: geoiplookup observatory ssllabs-scan mixed-content-scan
from htrace.sh.
Faced the same issue.
from htrace.sh.
i dont any idea!!!!!
from htrace.sh.
@ThomasG77 : hardcoded in the system? In htrace.sh
it looks like this:
lib/DomainScan: local _observatory_cmd="eval observatory \"$_host\" --format=report --rescan --zero --quiet"
from htrace.sh.
@trimstray You are right: not hardcoded.
However, eval observatory
is OK, observatory
is OK but when running htrace.sh --help
without my previous symlink it returns
not found in PATH: observatory
My conclusion = this is an issue with detection of observatory
in the PATH but unable to track it down at the moment
PS: observatory
is in my PATH
from htrace.sh.
ln -s /root/.composer/vendor/bramus/mixed-content-scan/bin/mixed-content-scan /usr/bin/mixed-content-scan
Which NMAP version required for the tool?
from htrace.sh.
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
@trimstray still getting the same message after installing all the dependencies
not found in PATH: observatory ssllabs-scan mixed-content-scan
from htrace.sh.
ln -s /root/.composer/vendor/bramus/mixed-content-scan/bin/mixed-content-scan /usr/bin/mixed-content-scan
Which NMAP version required for the tool?
nmap --version
Nmap version 7.60 ( https://nmap.org )
Platform: x86_64-redhat-linux-gnu
Compiled with: liblua-5.3.3 openssl-1.1.0g libssh2-1.8.0 libz-1.2.11 libpcre-8.42 libpcap-1.9.0-PRE-GIT nmap-libdnet-1.12 ipv6
Compiled without:
Available nsock engines: epoll poll select
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
@trimstray still getting the same message after installing all the dependencies
not found in PATH: observatory ssllabs-scan mixed-content-scan
Check where stored these tools (use whereis
or hash
):
for i in observatory ssllabs-scan mixed-content-scan ; do whereis "$i" ; done
from htrace.sh.
ln -s /root/.composer/vendor/bramus/mixed-content-scan/bin/mixed-content-scan /usr/bin/mixed-content-scan
Which NMAP version required for the tool?
nmap --version Nmap version 7.60 ( https://nmap.org ) Platform: x86_64-redhat-linux-gnu Compiled with: liblua-5.3.3 openssl-1.1.0g libssh2-1.8.0 libz-1.2.11 libpcre-8.42 libpcap-1.9.0-PRE-GIT nmap-libdnet-1.12 ipv6 Compiled without: Available nsock engines: epoll poll select
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
@trimstray still getting the same message after installing all the dependencies
not found in PATH: observatory ssllabs-scan mixed-content-scan
Check where stored these tools (use
whereis
orhash
):for i in observatory ssllabs-scan mixed-content-scan ; do whereis "$i" ; done
observatory: /usr/bin/observatory
ssllabs-scan: /usr/bin/ssllabs-scan /home/ankur/go/bin/ssllabs-scan
mixed-content-scan: /usr/bin/mixed-content-scan
$PATH contains
/home/ankur/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/go/bin:/home/ankur/go/bin:/home/ankur/.fzf/bin
Input:
htrace.sh --domain https://www.google.com
Result
not found in PATH: ssllabs-scan mixed-content-scan
from htrace.sh.
Hi guys!
@ankurloriya , @ThomasG77 : I can not reproduce this, please run htrace.sh
with this:
bash -x htrace.sh --domain https://www.google.com
from htrace.sh.
@trimstray, using your docker I've got the same error with testssl.sh
as it now seems that when you install it with apt-get
it gets named as testssl
.
Would you like a PR?
from htrace.sh.
from htrace.sh.
Related Issues (20)
- Problems with setup.sh
- JavaScript HOT 1
- Awesome
- App 00- 01 Marcel HonkaEms
- #11; Option lรจve commentaire @ pour quel raison est elle la signature github.
- New
- This issue may have been opened accidentally. I'm going to close it now, but feel free to open a new issue with a more descriptive title.
- Improving the mechanism for checking the HTRACE_COLORS
- Disable filter for req methods.
- Set ssl/tls versions.
- Set ciphersuite.
- Add new parameters.
- Don't use alpine:latest in Dockerfile HOT 4
- Add full support for openssl 1.0.2-chacha.
- Replace whatwaf to wafw00f.
- Install on Arch Linux HOT 3
- Unable to build Docker image: manifest for drwetter/testssl.sh:stable not found
- Unable to build Docker image: cannot find package "github.com/projectdiscovery/subfinder/cmd/subfinder" HOT 1
- Installation in Parrot OS
- git clone https://github.com/trimstray
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 htrace.sh.