Git Product home page Git Product logo

Comments (5)

jekkos avatar jekkos commented on September 9, 2024

You could try to use my python script for the scanning, it just expects to find an interface in monitor mode, so that part should be managed by the system itself

https://github.com/jekkos/find3-openwrt-scanner

from find3-cli-scanner.

schollz avatar schollz commented on September 9, 2024

@pliablepixels

You don't need to use the find3-cli-scanner to switch the card. You can do it manually first and then run using the flag --no-modify which will prevent the code from trying to use iwconfig.

Unfortunately I'm not an OS X person so I don't know how to make the switch manually.

from find3-cli-scanner.

pliablepixels avatar pliablepixels commented on September 9, 2024

@schollz thanks. In that case, I'm not sure what I am doing wrong:

  1. Terminal 1, I have tcpdump -Ini en0 running. This puts my card into monitor mode.

  2. Terminal 2: Validate that I am actually in monitor mode:

 $ airport -I
     agrCtlRSSI: -36
     agrExtRSSI: 0
    agrCtlNoise: -98
    agrExtNoise: 0
          state: running
        op mode: station monitor <==== // THIS
     lastTxRate: 73
        maxRate: 72
lastAssocStatus: 0
    802.11 auth: open
      link auth: wpa2-psk
          BSSID:xxxx
           SSID: xxx
            MCS: 7
        channel: 6

Terminal 1: tcpdump shows its detecting my phones in the vicinity (I grepped for mac)

Terminal 3: I ran:

sudo /usr/local/bin/find3-cli-scanner -i en0 -f test_family -d my_mac -server https://cloud.internalpositioning.com -scantime 40  -passive -no-modify 

Note that "my_mac" and "test_family" are actual names I am using.

This is the output:

2019-01-26 19:59:29 [INFO] main.go func1:209 scanning with en0 
2019-01-26 19:59:29 [INFO] main.go func1:218 scanning for 40 seconds 
2019-01-26 19:59:29 [INFO] main.go func1:222 working in passive mode 
2019-01-26 20:00:09 [INFO] reverse.go ReverseScan:134 collected 0 packets 
2019-01-26 20:00:09 [ERROR] main.go main:237 no packets found 

Should not the cli find the phones like tcpdump is?

from find3-cli-scanner.

schollz avatar schollz commented on September 9, 2024

@pliablepixels Can you run with the -debug flag and post output?

from find3-cli-scanner.

pliablepixels avatar pliablepixels commented on September 9, 2024

Here goes:

sudo /usr/local/bin/find3-cli-scanner -i en0 -f test_family -d my_mac -server https://cloud.internalpositioning.com -scantime 40  -passive -no-modify -debug

2019-01-27 12:57:07 [INFO] main.go func1:209 scanning with en0 
2019-01-27 12:57:07 [INFO] main.go func1:218 scanning for 40 seconds 
2019-01-27 12:57:07 [INFO] main.go func1:222 working in passive mode 
2019-01-27 12:57:07 [DEBUG] reverse.go ReverseScan:28 reverse scanning for 40s 
2019-01-27 12:57:07 [DEBUG] reverse.go func1:39 waiting for 40s 
2019-01-27 12:57:47 [DEBUG] reverse.go func1:41 timed out 
2019-01-27 12:57:47 [DEBUG] reverse.go ReverseScan:102 got done signal 
2019-01-27 12:57:47 [DEBUG] reverse.go ReverseScan:104 <nil> 
2019-01-27 12:57:47 [INFO] reverse.go ReverseScan:134 collected 0 packets 
2019-01-27 12:57:47 [ERROR] main.go main:237 no packets found 

from find3-cli-scanner.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.