mirror of
https://github.com/sundowndev/phoneinfoga.git
synced 2026-11-04 12:04:37 +00:00
Example plugin
This is an example scanner plugin.
Build
$ go build -buildmode=plugin ./customscanner.go
Depending on your OS, it will create a plugin file (e.g. customscanner.so for linux).
Usage
You can now use this plugin with phoneinfoga.
$ phoneinfoga scan -n <number> --plugin ./customscanner.so
Running scan for phone number <number>...
Results for customscanner
Valid: true
Info: This number is known for scams!
...
The --plugin flag can be used multiple times to use several plugins at once.