Comments (8)
Maybe try to install using xgo.
./xgo -ldflags='-linkmode external -extldflags "-static -s -w"' --deps=http://www.tcpdump.org/release/libpcap-1.8.1.tar.gz --depsargs=--with-pcap=linux --targets=linux/arm-6 github.com/schollz/find3-cli-scanner
from find3-cli-scanner.
First build xgo wrapper from https://github.com/jekkos/xgo/
from find3-cli-scanner.
Hey @jekkos ! Thanks for commenting :)
It fails, unfortunately. Here's the output.
$ xgo -ldflags='-linkmode external -extldflags "-static -s -w"' --deps=http://www.tcpdump.org/release/libpcap-1.8.1.tar.gz --depsargs=--with-pcap=linux --targets=linux/arm-6 github.com/schollz/find3-cli-scanner
Checking docker installation...
Client:
Version: 18.09.0
API version: 1.39
Go version: go1.10.4
Git commit: 4d60db4
Built: Wed Nov 7 00:57:21 2018
OS/Arch: linux/arm
Experimental: false
Server: Docker Engine - Community
Engine:
Version: 18.09.0
API version: 1.39 (minimum version 1.12)
Go version: go1.10.4
Git commit: 4d60db4
Built: Wed Nov 7 00:17:57 2018
OS/Arch: linux/arm
Experimental: false
Checking for required docker image jekkos/xgo-latest... not found!
Pulling jekkos/xgo-latest from docker registry...
Using default tag: latest
latest: Pulling from jekkos/xgo-latest
18d680d61657: Pulling fs layer
0addb6fece63: Pulling fs layer
78e58219b215: Pull complete
eb6959a66df2: Pull complete
60ad253a943f: Pull complete
11f386937c9c: Pull complete
405b2c10ad63: Pull complete
0e476f5f02b4: Pull complete
c2f03308f2ca: Pull complete
8eda80eb8f92: Pull complete
57aada3a87a6: Pull complete
1207c2c55730: Pull complete
464a41bd6bd3: Pull complete
9654fa2af097: Pull complete
5e30fe9fae68: Pull complete
8697237a7b22: Pull complete
369f4a2a8bf4: Pull complete
2906473ea2ea: Pull complete
6e940c200eb6: Pull complete
3ba639fd35cf: Pull complete
4ee773a8ce8a: Pull complete
bdd8d2be8784: Pull complete
931dbb81f917: Pull complete
739adbfd7511: Pull complete
b3887d276dc1: Pull complete
Digest: sha256:608a769009e1d5f7e3d9de506734895ee6ee5049e83214a6322528e75c98fe6a
Status: Downloaded newer image for jekkos/xgo-latest:latest
Downloading new dependency: http://www.tcpdump.org/release/libpcap-1.8.1.tar.gz...
New dependency cached: /home/pi/.xgo-cache/libpcap-1.8.1.tar.gz.
Cross compiling github.com/schollz/find3-cli-scanner...
standard_init_linux.go:190: exec user process caused "exec format error"
2019/01/08 20:01:36 Failed to cross compile package: exit status 1.
I ran it once again, to check if it needs to pull the first two. Errored again.
$ xgo -ldflags='-linkmode external -extldflags "-static -s -w"' --deps=http://www.tcpdump.org/release/libpcap-1.8.1.tar.gz --depsargs=--with-pcap=linux --targets=linux/arm-6 github.com/schollz/find3-cli-scanner
Checking docker installation...
Client:
Version: 18.09.0
API version: 1.39
Go version: go1.10.4
Git commit: 4d60db4
Built: Wed Nov 7 00:57:21 2018
OS/Arch: linux/arm
Experimental: false
Server: Docker Engine - Community
Engine:
Version: 18.09.0
API version: 1.39 (minimum version 1.12)
Go version: go1.10.4
Git commit: 4d60db4
Built: Wed Nov 7 00:17:57 2018
OS/Arch: linux/arm
Experimental: false
Checking for required docker image jekkos/xgo-latest... found.
Dependency already cached: /home/pi/.xgo-cache/libpcap-1.8.1.tar.gz.
Cross compiling github.com/schollz/find3-cli-scanner...
standard_init_linux.go:190: exec user process caused "exec format error"
2019/01/08 20:06:14 Failed to cross compile package: exit status 1.
Thanks
from find3-cli-scanner.
I found this online containers/buildah#475 (comment) . I'll check if it works.
from find3-cli-scanner.
You could also try xgo from this repo ykyuen/xgo
instead
from find3-cli-scanner.
Or use my python script together with tcpdump to do the scanning.. (see other issue here in the repo)
from find3-cli-scanner.
My repo also has a script to run it with airodump-ng. This might give you more control on how you want to setup the monitor mode itself.
from find3-cli-scanner.
Yeah, that's better. I ended up forking schollz/wifiscan and making some small changes.
Thanks a lot @jekkos , this comment of yours led me to my implementation :)
from find3-cli-scanner.
Related Issues (20)
- Segmentation Fault on Raspberry pi HOT 3
- Cannot run passive mode on OSX HOT 5
- ARMv5 support
- Bluetooth scanning panic on macOS
- Systems without `iwlist` HOT 2
- Installation failed "main.go:98:15: too many errors" HOT 4
- install nativelly errors HOT 4
- Running the docker CLI with costume host gave errors HOT 2
- Raspberry Pi Zero W - cannot build project from binary HOT 4
- Training with bluetooth beacons HOT 1
- UID/EID tracking
- Bug: Program Crash HOT 5
- Errors installing on Raspbian Lite Pi 3b+ HOT 6
- Some notes HOT 2
- Building Dockerimage on rpi-aarch64 fails
- find3-cli-scanner is not working.
- Bug:
- how to fix this problem HOT 4
- Cannot scan wifi and bluetooth at the same time
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 find3-cli-scanner.