Last updated:
0 purchases
pinkman 0.1.7
Pinkman
To use pinkman, follow the following steps:
Create a python virtual environment or use system wide environment
$ python3 -m venv venv
$ source venv/bin/activate
Install pinkman package with pip.
$ pip install pinkman
Create the config file.
server:
hostname: localhost
port: 1025
cache:
type: sqlite
path: /tmp/pinkman.db
backend:
type: http
method: post
url: https://pinkman.free.beeceptor.com
apikey: 5ab99869-f403-4481-bed6-da7c8aad7521
Run the pinkman server.
$ pinkman server run -c /etc/config.pinkman.prod.yml
Run the pinkman worker.
$ pinkman worker run -c /etc/config.pinkman.prod.yml
Forward packets from port 1025 to port 25.
$ iptables -t nat -A PREROUTING -p tcp --dport 1025 -j REDIRECT --to-port 25
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.