GithubHelp home page GithubHelp logo

Comments (6)

esvanoe avatar esvanoe commented on June 10, 2024

Try running airodump-ng before you start snoopy to force the adapter to go
channels?
On Nov 29, 2014 1:13 AM, "jimbonet" [email protected] wrote:

I am running 1.09 kali image on raspberry pi with Alfa awus051nh
(dualband) and have found that I only appear to detect APs and clients on
one channel. when i run kismet or wifi analyser on another device I detect
lots more APs/clients in the same location.
I have tried wifi:mon=True and false and also tried placing alfa into
monitor mode before running snoopy but still no joy.

It seems like snoopy locks on one channel when it runs rather than
hopping. I have ran airodump-ng on same pi and it scans all the channels so
do think its a driver issue.

Any thoughts?

note: I had to comment out mitmproxy in install.sh and remove the
mitmproxy.py to compile without errors


Reply to this email directly or view it on GitHub
#30.

from snoopy-ng.

jimbonet avatar jimbonet commented on June 10, 2024

Cheers, what I have found that seems to work so far is:

  1. Install screen using: apt-get install screen
  2. Create mon0 and mon1 interfaces by running command airmon-ng start wlan0 twice.
  3. start a new screen for airodump: screen -dmS airodump
  4. jump to that screen using: screen -r airodump
  5. start airodump-ng running: airodump-ng mon1
  6. go back to main terminal using: ctrl A then D
  7. start a new screen for snoopy: screen -dmS snoopy
  8. jump to that screen using: screen -r snoopy
  9. now start snoopy: snoopy -v -m wifi:iface=mon0,mon=False -d TEST -l HOME
  10. go back to main terminal using: ctrl A then D

Now seem to be detecting all APs an clients but only if airodump is running at same time!
Bit of a pain and probably pushing poor Pi to the limits but at least its working!!

from snoopy-ng.

esvanoe avatar esvanoe commented on June 10, 2024

I am pretty sure if you specify iface=mon0 you can skip mon=False, that is how I run mine, without issue.

you might also be able to run both airodump-ng and snoopy on mon0, I think I had this work in the past, but I could be mistaken.

Glad it is working though!

from snoopy-ng.

7109node avatar 7109node commented on June 10, 2024

Esvanoe is correct. The easiest way I have found is to start airodump-ng as a startup service in init.d with the appropriate headers. Then have the snoopy call in rc.local as normal using iface=mon0. This works since you already specified mon0 during the airodump startup script.

I use this setup on my pi B+ and it works flawlessly.

from snoopy-ng.

th36r1m avatar th36r1m commented on June 10, 2024

This may sound silly, but make sure you aren't connected to a wireless network on your 'wlan' interface when you put the card into monitor mode. I'm running 1.0.9 using my alfa card using 'wifi:mon=True' with no problem, and I don't start anything extra at start up. If you are connected, then your card will only scan that particular channel.

from snoopy-ng.

glennzw avatar glennzw commented on June 10, 2024

Keep in mind 'mon=True' will just run 'airmon-ng', note the first available adapter, and run 'airmon-ng start wlanXX'. Snoopy then listens on whatever monitor interface is returned. You could run the airmon-ng commands yourself, then run with 'iface=monX'.

You're right on the channel hopping. I was trying to figure out an elegant way to hop, but backgrounding airodump is the solution for now. So, in summary:

snoopy -l home -d myDrone -m wifi:mon=True -v & airodump-ng mon0
or
airmon-ng start wlan0 && airmon-ng check kill && snoopy -l home -d myDrone -m wifi:iface=mon0 -v & airodump-ng mon0

I might add an option to the wifi plugin to background airodump for us.

from snoopy-ng.

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.