All Projects → Feghal → FGRoute

Feghal / FGRoute

Licence: MIT license
Get your device ip address, router ip or wifi ssid

Programming Languages

c
50402 projects - #5 most used programming language
objective c
16641 projects - #2 most used programming language
ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to FGRoute

Spoofmac
💼 Change your MAC address for debugging
Stars: ✭ 2,687 (+1999.22%)
Mutual labels:  address, wifi, ip
sledgehammer
🔨 📶 WiFi-Jammer/DoS toolset
Stars: ✭ 34 (-73.44%)
Mutual labels:  wifi, ip
Ship
A simple, handy network addressing multitool with plenty of features
Stars: ✭ 81 (-36.72%)
Mutual labels:  address, ip
UserDeviceTracker
快速定位一个IP或MAC在你的网络中的位置,是网络工程师提高工作效率的利器,也可以为CMDB提供基础网络数据。
Stars: ✭ 36 (-71.87%)
Mutual labels:  router, ip
google streetview
A command line tool and module for Google Street View Image API
Stars: ✭ 77 (-39.84%)
Mutual labels:  address, route
ngx-ip
An Angular network address component (IPv4, IPv6 and MAC)
Stars: ✭ 20 (-84.37%)
Mutual labels:  address, mask
STCRouter
基于标准URL的iOS路由系统,可实现业务模块组件化,控制器之间零耦合,可实现黑白名单控制,可进行native降级到hybrid。
Stars: ✭ 19 (-85.16%)
Mutual labels:  router, route
private-ip
Check if IP address is private.
Stars: ✭ 26 (-79.69%)
Mutual labels:  address, ip
Ansible Openwisp2 Imagegenerator
Automatically build several openwisp2 firmware images for different organizations while keeping track of their differences
Stars: ✭ 122 (-4.69%)
Mutual labels:  router, wifi
Router
🍭灵活的组件化路由框架.
Stars: ✭ 1,502 (+1073.44%)
Mutual labels:  router, route
Ng
Get password of the wifi you're connected, and your current ip address.
Stars: ✭ 151 (+17.97%)
Mutual labels:  wifi, ip
macos-wifiname
Display the currently connected WiFi name (SSID) in the menu bar on macOS
Stars: ✭ 45 (-64.84%)
Mutual labels:  wifi, ssid
Cnp3
Computer Networking : Principles, Protocols and Practice (first and second edition, third edition is being written on https://github.com/cnp3/ebook)
Stars: ✭ 471 (+267.97%)
Mutual labels:  wifi, ip
Request Ip
A Node.js module for retrieving a request's IP address on the server.
Stars: ✭ 501 (+291.41%)
Mutual labels:  address, ip
Probe-Hunter
Probe Request sniffer + Wigle
Stars: ✭ 46 (-64.06%)
Mutual labels:  wifi, ssid
Peanuts
Peanuts is a free and open source wifi tracking tool. Based on the SensePosts Snoopy-NG project that is now closed.
Stars: ✭ 34 (-73.44%)
Mutual labels:  wifi, ssid
Ipsubnet
Network calculator for subnet mask and other classless (CIDR) network information. ( GO )
Stars: ✭ 44 (-65.62%)
Mutual labels:  subnet, ip
Iptools
PHP Library for manipulating network addresses (IPv4 and IPv6)
Stars: ✭ 163 (+27.34%)
Mutual labels:  subnet, ip
Ska
Simple Karma Attack
Stars: ✭ 55 (-57.03%)
Mutual labels:  router, wifi
CDDN-Change-DNS-Dynamically-with-your-Network
This script allows you to have the best configuration of your DNS when switching from one Wi-Fi to another.
Stars: ✭ 22 (-82.81%)
Mutual labels:  wifi, ssid

FGRoute

Awesome Version License Platform

FGRoute is written on C and Objective C (includes Swift support), it helps developers to get rid of dealing with WiFi interfaces.

Example



To run the example project, clone the repo, and run `pod install` from the Example directory first.

Requirements

iOS 8 and later.

Installation

CocoaPods

FGRoute is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "FGRoute"

Then, run the following command:

pod install

Manually

  1. Drag and Drop it into your project

  2. Import "FGRoute.h"

  3. You are ready to go!

Usage

With FGRoute you can easily get your ip address, Route, ssid etc.

First of all import header file at the top of your file for ObjC

#import "FGRoute.h"

for Swift

import FGRoute

Full method documentation for Swift

FGRoute.isWifiConnected() // Bolean value to check internet connection

FGRoute.getGatewayIP() //route ip address

FGRoute.getSSID() // Connected wifi name

FGRoute.getBSSID() // Connected wifi BSSID

FGRoute.getSSIDDATA() // Connected wifi SSIDDATA

FGRoute.getIPAddress() // Your local ip address in network

FGRoute.getNetmask() // Connected wifi Netmask

FGRoute.getDestination() // Connected wifi Destination ip address

Full method documentation for ObjC

[FGRoute isWifiConnected]; // Bolean value to check internet connection

[FGRoute getGatewayIP]; //route ip address

[FGRoute getSSID]; // Connected wifi name

[FGRoute getBSSID]; // Connected wifi BSSID

[FGRoute getSSIDDATA]; // Connected wifi SSIDDATA

[FGRoute getIPAddress]; // Your local ip address in network

[FGRoute getNetmask]; // Connected wifi Netmask

[FGRoute getDestination]; // Connected wifi Destination ip address

iOS 13 and later

You need to have "Access WiFi Information" entitlement enabled and you must meet at least one of criteria bellow

  • App with permission to access location
  • Currently enabled VPN app
  • NEHotspotConfiguration

see example for more details

Author

Arthur Sahakyan, [email protected]

License

FGRoute is available under the MIT license. See the LICENSE file for more info.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].