Lightweight reverse phone/name lookup tool written in Go!
Prerequisite | Version |
---|---|
Go | <=1.22 |
apt install golang-go || brew install go
git clone https://github.com/CharlesTheGreat77/reverse-phone-lookup
cd reverse-phone-lookup
go mod init reverse-phone-lookup
go mod tidy
go build main.go
./main -h
Usage of ./reverse-phone-lookup:
-city string
specify the city the target resides [Los Angelos]
-fullname string
specify the targets full name [John Doe]
-h show usage
-phone string
specify a phone number [777-999-0000]
-state string
specify the state the target resides [California]
./main -state California -city "Los Angelos" -fullname "John Doe"
The reverse-phone-lookup is now available as a discord bot. To setup the discord bot follow these steps:
- Enter discord bot token in the config.json file.
- Download the discordgo package:
go get github.com/bwmarrin/discordgo
- Build the discord bot executable:
go build usphonebook_bot.go
- Run the executable!
./usphonebook_bot.go
Usage: <@bot_id> lookup phone=<number> fullname=<name> state=<state> city=<city>
example:
@bot lookup state=road island city=providence fullname=john doe
This example searches usphonebook for john doe in the city and state specified.
@bot lookup phone=777-111-2222
Im just getting use to Go so bear with me but once I get comfortable, I'll attempt to make it scalable for other sources