Quick and Easy Infrastructure
Project description
tempor is a tool used for creating ephemeral infrastructure in the cloud. tempor has the ability to create an arbitrary number of servers via Terraform, ideal for penetration testers and bug hunters.
VPS configuration is performed via Ansible roles after creation. Currently the following roles are executed:
- dev-sec.os-hardening
- dev-sec.ssh-hardening
- IPv4 and IPv6 iptables lockdown
- INPUT only allow SSH
- OUTUT only allow DNS, HTTP/S, DoT
- More to come...
Currently supporting Digital Ocean, Linode, and Vultr. More to come!
Total Setup Time
tempor --setup 43.06s user 6.64s system 27% cpu 3:03.99 total
:moneybag: Referrals - Get Free Credit! :moneybag:
:heavy_plus_sign: Install :heavy_plus_sign:
python3 -m pip install --user tempor
:wrench: Dependencies :wrench:
- Windows - Microsoft Visual C++ 14.0
:gear: Configuration :gear:
# ~/.config/tempor/config.yml
providers:
-
name: digitalocean
api_token: API_TOKEN_HERE
-
name: linode
api_token: API_TOKEN_HERE
-
name: vultr
api_token: API_TOKEN_HERE
default: digitalocean
:interrobang: Usage :interrobang:
➜ tempor -h
usage: tempor [-h] [-p PROVIDER] [-c COUNT] [--setup] [--list]
[--no-config] [--teardown]
optional arguments:
-h, --help show this help message and exit
-p PROVIDER, --provider PROVIDER
Specify the Provider Name
-c COUNT, --count COUNT
Number of Images to Create
--setup Setup Image(s)
--list List Available Images
--no-config Leave as a Bare Install
--teardown Tear down VPS
➜ tempor --setup
Preparing Configuration...Done.
Creating VPS...Done.
Configuring SSH Keys...Done.
VPS' now available!
ssh nnvnv620
➜ tempor --list
Active VPS'
┏━━━━━━━━━━┳━━━━━━━━━━━━━━━━┓
┃ VPS Name ┃ IP Address ┃
┡━━━━━━━━━━╇━━━━━━━━━━━━━━━━┩
│ nnvnv620 │ 178.128.144.45 │
└──────────┴────────────────┘
➜ tempor --teardown
Tearing down...Done.
Inspired by pry0cc/axiom.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tempor-0.0.17.tar.gz
(139.9 kB
view hashes)
Built Distribution
tempor-0.0.17-py3-none-any.whl
(168.0 kB
view hashes)