Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/binarymaster/3WiFi
3WiFi Wireless Database
https://github.com/binarymaster/3WiFi
database hacktoberfest jquery php security-audit sql wifi-security wireless-network
Last synced: 5 days ago
JSON representation
3WiFi Wireless Database
- Host: GitHub
- URL: https://github.com/binarymaster/3WiFi
- Owner: binarymaster
- License: apache-2.0
- Created: 2015-07-11T15:15:31.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2022-09-06T09:15:41.000Z (about 2 years ago)
- Last Synced: 2024-10-31T08:09:29.336Z (10 days ago)
- Topics: database, hacktoberfest, jquery, php, security-audit, sql, wifi-security, wireless-network
- Language: PHP
- Homepage: https://3wifi.stascorp.com/
- Size: 1.93 MB
- Stars: 238
- Watchers: 120
- Forks: 89
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 3WiFi Database
(c) 2015-2022 Anton Kokarev et al.
This project was created to collect data from Router Scan log reports, search for access points, obtain its geolocation coordinates, and display it on world map.
## Prerequirements:
1. Disable display of errors, warnings, and notices in `php.ini`
1. Make sure your web server is set up to apply .htaccess policies per directory
1. Make sure you have installed `bcmath`, `curl`, `mysqli`, and `simplexml` php extensions## Installation steps:
1. Copy all required files to your `/www` directory
1. Create database (execute `3wifi.sql` to create tables)
1. Copy config.php-distr to config.php
1. Edit config.php (DB_SERV, DB_NAME, DB_USER, DB_PASS etc)
1. (optional) Turn on memory tables (in the `config.php` define `TRY_USE_MEMORY_TABLES` as `true`)
1. (optional) Use `import.free.php` once to import old format database
1. Start all background daemons:
```sh
# Upload routine loads data into database
php -f 3wifid.php uploads
# Finalize routine prepares tasks for finalization
php -f 3wifid.php finalize
# Geolocate routine locates new added BSSIDs on map
php -f 3wifid.php geolocate
# Stats routine caches statistics (use only when stats caching enabled)
php -f 3wifid.php stats
# Memory table manager (use only with memory tables enabled)
php -f 3wifid.php memory
```## Database maintenance:
```sh
# Recheck not found BSSIDs in the database
php -f 3wifid.php recheck
```
Before running the daemons, make sure that `php-cli` interpreter is accessible from your directory.