Comments (11)
@MadaraTech just set the GOPATH environment variable.
If you're using ~/go as go path, append export GOPATH=$HOME/go
to your .bashrc and source
it.
from xray.
You're right, still that export
should sort it. Enjoying the project though :)
from xray.
glad u like it! looking forward for your contributions/ideas :D
from xray.
okay, m going to define GOPATH again, and yeah thanks for your work @evilsocket, really appreciate it :)
from xray.
Go version:
root@localhost:~/xray# go version
go version go1.8.3 linux/amd64
from xray.
May I have the output of:
ls -la $GOPATH/bin
from xray.
sure!
root@localhost:~/xray# ls -la $GOPATH/bin
total 7896
drwxr-xr-x 2 root root 4096 May 18 06:35 .
drwxr-xr-x 23 root root 4096 Mar 21 09:55 ..
-rwxr-xr-x 1 root root 1029624 Nov 5 2016 bash
-rwxr-xr-x 3 root root 31152 Mar 27 2015 bunzip2
-rwxr-xr-x 3 root root 31152 Mar 27 2015 bzcat
lrwxrwxrwx 1 root root 6 Apr 6 2016 bzcmp -> bzdiff
-rwxr-xr-x 1 root root 2140 Mar 27 2015 bzdiff
lrwxrwxrwx 1 root root 6 Apr 6 2016 bzegrep -> bzgrep
-rwxr-xr-x 1 root root 4877 Mar 27 2015 bzexe
lrwxrwxrwx 1 root root 6 Apr 6 2016 bzfgrep -> bzgrep
-rwxr-xr-x 1 root root 3642 Mar 27 2015 bzgrep
-rwxr-xr-x 3 root root 31152 Mar 27 2015 bzip2
-rwxr-xr-x 1 root root 14480 Mar 27 2015 bzip2recover
lrwxrwxrwx 1 root root 6 Apr 6 2016 bzless -> bzmore
-rwxr-xr-x 1 root root 1297 Mar 27 2015 bzmore
-rwxr-xr-x 1 root root 51912 Mar 14 2015 cat
-rwxr-xr-x 1 root root 14560 Sep 8 2014 chacl
-rwxr-xr-x 1 root root 60072 Mar 14 2015 chgrp
-rwxr-xr-x 1 root root 55944 Mar 14 2015 chmod
-rwxr-xr-x 1 root root 64168 Mar 14 2015 chown
-rwxr-xr-x 1 root root 150824 Mar 14 2015 cp
-rwxr-xr-x 1 root root 125400 Nov 8 2014 dash
-rwxr-xr-x 1 root root 64168 Mar 14 2015 date
-rwxr-xr-x 1 root root 60144 Mar 14 2015 dd
-rwxr-xr-x 1 root root 101872 Mar 14 2015 df
-rwxr-xr-x 1 root root 118280 Mar 14 2015 dir
-rwxr-xr-x 1 root root 52224 Mar 29 2015 dmesg
lrwxrwxrwx 1 root root 8 Apr 6 2016 dnsdomainname -> hostname
lrwxrwxrwx 1 root root 8 Apr 6 2016 domainname -> hostname
-rwxr-xr-x 1 root root 31208 Mar 14 2015 echo
-rwxr-xr-x 1 root root 29 Feb 14 2015 egrep
-rwxr-xr-x 1 root root 27080 Mar 14 2015 false
-rwxr-xr-x 1 root root 29 Feb 14 2015 fgrep
-rwxr-xr-x 1 root root 45216 Mar 29 2015 findmnt
-rwxr-xr-x 1 root root 35824 Mar 24 2014 fuser
-rwxr-xr-x 1 root root 23584 Sep 8 2014 getfacl
-rwxr-xr-x 1 root root 202936 Feb 14 2015 grep
-rwxr-xr-x 2 root root 2301 Sep 26 2014 gunzip
-rwxr-xr-x 1 root root 5927 Sep 26 2014 gzexe
-rwxr-xr-x 1 root root 98152 Sep 26 2014 gzip
-rwxr-xr-x 1 root root 14640 Nov 3 2013 hostname
-rwxr-xr-x 1 root root 314560 Sep 5 2014 ip
-rwxr-xr-x 1 root root 219392 Jan 4 2017 journalctl
-rwxr-xr-x 1 root root 22960 Mar 6 2015 kill
-rwxr-xr-x 1 root root 158592 Sep 27 2014 kmod
-rwxr-xr-x 1 root root 165296 Sep 8 2014 less
-rwxr-xr-x 1 root root 10128 Sep 8 2014 lessecho
lrwxrwxrwx 1 root root 8 Apr 6 2016 lessfile -> lesspipe
-rwxr-xr-x 1 root root 19680 Sep 8 2014 lesskey
-rwxr-xr-x 1 root root 7758 Sep 8 2014 lesspipe
-rwxr-xr-x 1 root root 55984 Mar 14 2015 ln
-rwxr-xr-x 1 root root 52200 May 17 15:07 login
-rwxr-xr-x 1 root root 309488 Jan 4 2017 loginctl
-rwxr-xr-x 1 root root 118280 Mar 14 2015 ls
-rwxr-xr-x 1 root root 64552 Mar 29 2015 lsblk
lrwxrwxrwx 1 root root 4 Apr 6 2016 lsmod -> kmod
-rwxr-xr-x 1 root root 280816 Jan 4 2017 machinectl
-rwxr-xr-x 1 root root 80744 Mar 14 2015 mkdir
-rwxr-xr-x 1 root root 64296 Mar 14 2015 mknod
-rwxr-xr-x 1 root root 39528 Mar 14 2015 mktemp
-rwxr-xr-x 1 root root 39576 Mar 29 2015 more
-rwsr-xr-x 1 root root 40000 Mar 29 2015 mount
-rwxr-xr-x 1 root root 10320 Apr 6 2015 mountpoint
-rwxr-xr-x 1 root root 130288 Mar 14 2015 mv
-rwxr-xr-x 1 root root 196016 Jul 16 2014 nano
lrwxrwxrwx 1 root root 20 Apr 6 2016 nc -> /etc/alternatives/nc
-rwxr-xr-x 1 root root 27152 Sep 11 2014 nc.traditional
lrwxrwxrwx 1 root root 24 Apr 6 2016 netcat -> /etc/alternatives/netcat
-rwxr-xr-x 1 root root 120200 Nov 8 2014 netstat
lrwxrwxrwx 1 root root 8 Apr 6 2016 nisdomainname -> hostname
lrwxrwxrwx 1 root root 14 Apr 6 2016 pidof -> /sbin/killall5
-rwxr-xr-x 1 root root 44104 Nov 8 2014 ping
-rwxr-xr-x 1 root root 44552 Nov 8 2014 ping6
-rwxr-xr-x 1 root root 93096 Mar 6 2015 ps
-rwxr-xr-x 1 root root 31304 Mar 14 2015 pwd
lrwxrwxrwx 1 root root 4 Nov 5 2016 rbash -> bash
-rwxr-xr-x 1 root root 39432 Mar 14 2015 readlink
-rwxr-xr-x 1 root root 60072 Mar 14 2015 rm
-rwxr-xr-x 1 root root 43560 Mar 14 2015 rmdir
lrwxrwxrwx 1 root root 4 Apr 6 2016 rnano -> nano
-rwxr-xr-x 1 root root 19312 Nov 8 2014 run-parts
-rwxr-xr-x 1 root root 73416 Sep 19 2016 sed
-rwxr-xr-x 1 root root 36192 Sep 8 2014 setfacl
lrwxrwxrwx 1 root root 4 Apr 6 2016 sh -> dash
lrwxrwxrwx 1 root root 4 Apr 6 2016 sh.distrib -> dash
-rwxr-xr-x 1 root root 31208 Mar 14 2015 sleep
-rwxr-xr-x 1 root root 77984 Sep 5 2014 ss
-rwxr-xr-x 1 root root 68168 Mar 14 2015 stty
-rwsr-xr-x 1 root root 40168 May 17 15:07 su
-rwxr-xr-x 1 root root 27112 Mar 14 2015 sync
-rwxr-xr-x 1 root root 538904 Jan 4 2017 systemctl
lrwxrwxrwx 1 root root 20 Jan 4 2017 systemd -> /lib/systemd/systemd
-rwxr-xr-x 1 root root 39160 Jan 4 2017 systemd-ask-password
-rwxr-xr-x 1 root root 30944 Jan 4 2017 systemd-escape
-rwxr-xr-x 1 root root 239864 Jan 4 2017 systemd-inhibit
-rwxr-xr-x 1 root root 35048 Jan 4 2017 systemd-machine-id-setup
-rwxr-xr-x 1 root root 26848 Jan 4 2017 systemd-notify
-rwxr-xr-x 1 root root 80104 Jan 4 2017 systemd-tmpfiles
-rwxr-xr-x 1 root root 59632 Jan 4 2017 systemd-tty-ask-password-agent
-rwxr-xr-x 1 root root 18800 Mar 29 2015 tailf
-rwxr-xr-x 1 root root 358072 Oct 31 2016 tar
-rwxr-xr-x 1 root root 10352 Nov 8 2014 tempfile
-rwxr-xr-x 1 root root 60136 Mar 14 2015 touch
-rwxr-xr-x 1 root root 27080 Mar 14 2015 true
-rwxr-xr-x 1 root root 313584 Jan 4 2017 udevadm
-rwsr-xr-x 1 root root 27416 Mar 29 2015 umount
-rwxr-xr-x 1 root root 31240 Mar 14 2015 uname
-rwxr-xr-x 2 root root 2301 Sep 26 2014 uncompress
-rwxr-xr-x 1 root root 118280 Mar 14 2015 vdir
-rwxr-xr-x 1 root root 27032 Mar 29 2015 wdctl
-rwxr-xr-x 1 root root 946 Nov 8 2014 which
lrwxrwxrwx 1 root root 8 Apr 6 2016 ypdomainname -> hostname
-rwxr-xr-x 1 root root 1937 Sep 26 2014 zcat
-rwxr-xr-x 1 root root 1777 Sep 26 2014 zcmp
-rwxr-xr-x 1 root root 5764 Sep 26 2014 zdiff
-rwxr-xr-x 1 root root 140 Sep 26 2014 zegrep
-rwxr-xr-x 1 root root 140 Sep 26 2014 zfgrep
-rwxr-xr-x 1 root root 2131 Sep 26 2014 zforce
-rwxr-xr-x 1 root root 5938 Sep 26 2014 zgrep
-rwxr-xr-x 1 root root 2037 Sep 26 2014 zless
-rwxr-xr-x 1 root root 1910 Sep 26 2014 zmore
-rwxr-xr-x 1 root root 5047 Sep 26 2014 znew
from xray.
Mmm there's something weird about your Go installation, see this line:
/bin/glide install
But it should be (from the Makefile):
$(GOPATH)/bin/glide install
But it looks defined after you gave me the ls output ...
from xray.
hmm any expected solution should i do? new to GO, i got same error while installing Go version of dirserach
from xray.
Yep, define GOPATH correctly https://golang.org/doc/code.html#GOPATH :)
from xray.
@epinna I think he's just using an empty GOPATH, the ls -la $GOPATH/bin was just on /bin :D
from xray.
Related Issues (20)
- Feature request: export options? HOT 3
- install error HOT 14
- please make output human readable HOT 3
- panic: open wordlists/default.lst: no such file or directory HOT 8
- web interface issue HOT 5
- Integrate with Nmap and HTTPScreenshot
- Web ui/output file HOT 2
- Can not build docker HOT 1
- xray docker build installation issue.
- go-shodan fix
- Error on install HOT 1
- Error while installing, docker and manual installation HOT 1
- im getting this error after xray finished running and saving session file
- Installation issue HOT 2
- make issue HOT 2
- Contribute Biggest subdomain Wordlist HOT 1
- build the docker error
- Xray on OpenBSD
- Invalid memory HOT 1
- how to set up VPN on a router?
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 xray.