Install tor via HomeBrew and start the tor serivce.
brew install tor && brew services start tor
And to use obsf4 proxy we need to install its library/ Use HomeBrew for installation of the library.
brew install obfs4proxy
Install tor via HomeBrew and start the tor serivce.
brew install tor && brew services start tor
And to use obsf4 proxy we need to install its library/ Use HomeBrew for installation of the library.
brew install obfs4proxy
To run you will need docker and docker-compose installed, and run the command
docker-compose up
on a folder within this file named docker-compose.yml(attached in this Gist)
How the PGAudit is enable, you will see the queries log and in which database is running which query, this is the main purpose of this Gist, along with have a database with replication working out of the box
| package main | |
| import ( | |
| "fmt" | |
| "github.com/gin-gonic/gin" | |
| engineio "github.com/googollee/go-engine.io" | |
| "github.com/googollee/go-engine.io/transport" | |
| engineiopooling "github.com/googollee/go-engine.io/transport/polling" | |
| socketio "github.com/googollee/go-socket.io" | |
| "log" |
| /** | |
| * Отформатировать телефонный номер. | |
| * | |
| * Для мобильных код отбивается пробелами, для домашних — скобками. | |
| * | |
| * Грамотно обрабатываются только русские номера, | |
| * для остальных функция пытается отформатировать более-менее нормально. | |
| * | |
| * Для отбивания цифр используются не просто дефисы, а специальные цифровые чёрточки, не хухры. | |
| * |