Golang phish table updater
Go to file
2023-01-11 12:43:55 +01:00
.gitignore Initial commit 2023-01-09 16:55:43 +01:00
dbupdate.go Added screen clear and updated binary to include it 2023-01-11 11:44:40 +01:00
domain-db-updater Added screen clear and updated binary to include it 2023-01-11 11:44:40 +01:00
go.mod Changed go.mod 2023-01-11 10:10:57 +01:00
go.sum Initial commit 2023-01-09 16:55:43 +01:00
LICENSE Added time to output with a time difference calculation. 2023-01-10 13:16:06 +01:00
README.md Fix 2023-01-11 12:43:55 +01:00

A free to use update tool which checks phish.sinking.yachts database. It adds all domains found after custom domains are added. If not needed they can be commented or removed.

The following code is needed in a .env. This is for the DB connection.

DB_HOST=

DB_PORT=

DATABASE=

DB_USER=

DB_PASS=

This is based on the phish table. Table can also be changed if needed.

Execution time is 1h23m35.23654842s. This was for 18855 records.

Sample output with all defined code:

Script started at 11-01-2023 10:11:17 Deletion: Number of rows affected: 2 Altering: Number of rows affected: 0 Insert: Number of rows affected: 1 Insert: Number of rows affected: 1 11-01-2023 10:11:18: Initial database table setup done Status code: 200 Total number of rows affected: 18855 Recent changes recieved and has been added to the database. Removed domains deleted from database. Reorded domains. Script ended at 11-01-2023 11:34:52 Time until completion: 1h23m35.23654842s