evilsocket / xray

XRay is a tool for recon, mapping and OSINT gathering from public networks.
GNU General Public License v3.0
2.21k stars 299 forks source link

Xray on OpenBSD #50

Open gonzalo- opened 2 years ago

gonzalo- commented 2 years ago

I am creating the port of xray for OpenBSD and so far I am getting this:

# xray -wordlist /home/gonzalo/xray/wordlists -shodan-key LpJVd71839173914JhQ6 -domain google.com  
____  ___
\   \/  /
 \     RAY v 1.0.0b
 /    by Simone 'evilsocket' Margaritelli
/___/\  \
      \_/

Warning: You have 0 query credits.
@ Saving session to google.com-xray-session.json
@ Web UI running on http://127.0.0.1:8080/

All tasks completed, press Ctrl-C to quit.
panic: json: unsupported value: NaN

goroutine 37 [running]:
github.com/evilsocket/xray.(*Session).Flush(0xc0003cb800, 0xc00002a6e0?)
        github.com/evilsocket/xray/session.go:52 +0x9e
github.com/evilsocket/xray.(*Pool).FlushSession(0xc0003fe400, 0xc000576000?)
        github.com/evilsocket/xray/pool.go:29 +0x73
main.OnResult({0x8a9be0?, 0xc00041fdd0?})
        github.com/evilsocket/xray/cmd/xray/main.go:51 +0x1e7
github.com/evilsocket/xray.(*Machine).outputConsumer(0xc0000beb00)
        github.com/evilsocket/xray/machine.go:99 +0x4b
created by github.com/evilsocket/xray.(*Machine).Start
        github.com/evilsocket/xray/machine.go:116 +0xb6