Coder Social home page Coder Social logo

wifidetective's Introduction

WiFiDetective

功能和实现

1 WiFi扫描:获取你的android设备能够扫描到的所有的WiFi设备,并返回基本信息:SSID、WiFi信号强度、信道以及加密方式
2 设备扫描:尽可能的获取所有你android设备所在的WiFi下的所有连接该WiFi的设备及其信心:IPMAC、名称或者厂商

实现原理

WiFi扫描

注册android的广播,实现监听即可。

设备扫描

关键技术

  1. android下如何进行ping操作
  2. android下如何判断端口是否打开
  3. android如何读取arp表
  4. android下如何通过ip获取mac地址
  5. android下如何通过ip获取部分设备的名称(NetBios service)
  6. android下如何通过mac地址获取设备的厂商 设备的Mac地址都是官方有国际官方组织的,通过这个你可以查到不同设备mac地址段,从而可以得到不同的 厂商信息。
    以上的这些你通过阅读代码就可以得到。请关注……谢谢……

业界常用的基本端口信息如下所示:

  1. 22 linux ssh端口
  2. 80和8081 http 端口
  3. 135 远程打开对方的telnet服务器
  4. 137 在局域网中提供计算机的名字或OP地址查询服务,一般安装了NetBIOS协议后,就会自动开放
  5. 139 Windows获得NetBIOS/SMB服务
  6. 445 局域网中文件的共享端口
  7. 3389 远程桌面服务端口
  8. 具体的苹果接口的端口使用情况见:Apple 软件产品所使用的 TCP 和 UDP 端口 ##效果图 image image
    image

##Thanks

wifidetective's People

Contributors

gpfduoduo avatar

Watchers

 avatar  avatar

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.