forked from ssh-mitm/ssh-mitm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsnapcraft.yaml
30 lines (27 loc) · 892 Bytes
/
snapcraft.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: ssh-mitm # you probably want to 'snapcraft register <name>'
base: core18 # the base snap is the execution environment for this snap
version: '1.0.0' # just for humans, typically '1.2+git' or '1.3.2'
summary: ssh mitm server for security audits # 79 char long summary
description: |
ssh mitm server for security audits supporting
publickey authentication, session hijacking and file manipulation
grade: stable # must be 'stable' to release into candidate/stable channels
confinement: strict # use 'strict' once you have the right plugs and slots
architectures:
- build-on: [amd64]
parts:
ssh-mitm:
# See 'snapcraft plugins'
plugin: python
source: .
apps:
ssh-mitm:
command: usr/bin/python3 $SNAP/bin/ssh-mitm
environment:
PYTHONIOENCODING: utf-8
PYTHONOPTIMIZE: 1
plugs:
- home
- network
- network-bind
- ssh-keys