aboutsummaryrefslogtreecommitdiff
path: root/sliver-c2/tasks/sliver_install.yaml
diff options
context:
space:
mode:
authorheqnx <root@heqnx.com>2025-05-25 11:50:46 +0300
committerheqnx <root@heqnx.com>2025-05-25 11:50:46 +0300
commit7c8ed923df3c02338dfbf826fd6fd9a23dac502e (patch)
tree929ee32e5a6f32e952bb8fcad33f704a371af9ff /sliver-c2/tasks/sliver_install.yaml
parente905a6a60ceb43ef2bfa8f0f61c23630955caf1f (diff)
downloadansible-playbooks-7c8ed923df3c02338dfbf826fd6fd9a23dac502e.tar.gz
ansible-playbooks-7c8ed923df3c02338dfbf826fd6fd9a23dac502e.zip
moved unorganized playbooks into old folder
Diffstat (limited to 'sliver-c2/tasks/sliver_install.yaml')
-rw-r--r--sliver-c2/tasks/sliver_install.yaml35
1 files changed, 0 insertions, 35 deletions
diff --git a/sliver-c2/tasks/sliver_install.yaml b/sliver-c2/tasks/sliver_install.yaml
deleted file mode 100644
index 3f0e029..0000000
--- a/sliver-c2/tasks/sliver_install.yaml
+++ /dev/null
@@ -1,35 +0,0 @@
-- name: import sliver gpg key
- shell: |
- gpg --keyserver hkps://keyserver.ubuntu.com --recv-keys 4449039C
-
-- name: get latest sliver-server binary URL
- shell: |
- curl -sSLf https://api.github.com/repos/BishopFox/sliver/releases/latest \
- | grep -i browser_download_url \
- | grep -i sliver-server_linux \
- | grep -v sig \
- | head -1 \
- | cut -d '"' -f 4
- register: sliver_url
- changed_when: false
-
-- name: create sliver directory
- file:
- path: "{{ install_path }}"
- state: directory
- mode: '0755'
-
-- name: download sliver-server binary
- get_url:
- url: "{{ sliver_url.stdout }}"
- dest: "{{ install_path }}/sliver-server"
- mode: '0755'
-
-- name: symlink sliver binaries
- file:
- src: "{{ install_path }}/{{ item }}"
- dest: "/usr/local/bin/{{ item }}"
- state: link
- force: true
- loop:
- - sliver-server