WAPS uses iwlist to scan for wireless access points and convert the output into ruby hash format. Following is the usage of the gem.
gem install waps
Require
require 'waps'
- First Require the gem:
require 'waps'
- Creating new instance require interface name. Leave it empty if not sure.
new_scan = Waps.new('Interface_name')
- Start Scan.
results = new_scan.scan
- Get specific field.
mac_address = new_scan.get('address')
require 'waps'
new_scan = Waps.new('')
new_scan.scan
new_scan.output
mac_addresses = new_scan.get('address')
- Address
- SSID
- Signal Level
- Encryption
- Channel
- Frequency
- Quality
- Gurjant Singh - Initial work - gurjant31
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE.md file for details