Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
sundowndev
GitHub Repository: sundowndev/phoneinfoga
Path: blob/master/examples/plugin/README.md
994 views

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.