aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorheqnx <root@heqnx.com>2025-05-25 08:42:44 +0300
committerheqnx <root@heqnx.com>2025-05-25 08:42:44 +0300
commit9d9934e08d688973d2f91be469cff7a4f8081072 (patch)
treefb035d5c7dfc06ca8c4cc51a7d73b2e5bdc4e61e
parentf58f7a49a6eef972ca216aca249e47412abb7558 (diff)
downloadansible-playbooks-9d9934e08d688973d2f91be469cff7a4f8081072.tar.gz
ansible-playbooks-9d9934e08d688973d2f91be469cff7a4f8081072.zip
fixed sftp path
-rw-r--r--attackbox/tasks/harden.yaml2
-rw-r--r--sliver-c2/tasks/harden.yaml2
2 files changed, 2 insertions, 2 deletions
diff --git a/attackbox/tasks/harden.yaml b/attackbox/tasks/harden.yaml
index 4edb2c0..75f21bb 100644
--- a/attackbox/tasks/harden.yaml
+++ b/attackbox/tasks/harden.yaml
@@ -75,7 +75,7 @@
Banner /etc/issue
UsePAM yes
Protocol 2
- Subsystem sftp /usr/libexec/openssh/sftp-server
+ Subsystem sftp /usr/lib/openssh/sftp-server
LogLevel verbose
PrintMotd no
AcceptEnv LANG LC_*
diff --git a/sliver-c2/tasks/harden.yaml b/sliver-c2/tasks/harden.yaml
index aaf582b..7ac157c 100644
--- a/sliver-c2/tasks/harden.yaml
+++ b/sliver-c2/tasks/harden.yaml
@@ -75,7 +75,7 @@
Banner /etc/issue
UsePAM yes
Protocol 2
- Subsystem sftp /usr/libexec/openssh/sftp-server
+ Subsystem sftp /usr/lib/openssh/sftp-server
LogLevel verbose
PrintMotd no
AcceptEnv LANG LC_*