From 7ec5141a3e82dd0c97175147e20f768fcc8fa442 Mon Sep 17 00:00:00 2001 From: aJuvan Date: Thu, 9 Apr 2026 10:50:03 +0200 Subject: [PATCH] Tested and fixed VP-63774 --- roles/VP-63774/meta/main.yml | 2 +- roles/pwndbg/tasks/main_lin.yml | 18 ++++++++++++------ roles/pwndbg/tasks/main_win.yml | 3 ++- 3 files changed, 15 insertions(+), 8 deletions(-) diff --git a/roles/VP-63774/meta/main.yml b/roles/VP-63774/meta/main.yml index 2e5e989..a9a0892 100644 --- a/roles/VP-63774/meta/main.yml +++ b/roles/VP-63774/meta/main.yml @@ -6,4 +6,4 @@ dependencies: - pwntools - netcat - ropr - - pwntools + - pwndbg diff --git a/roles/pwndbg/tasks/main_lin.yml b/roles/pwndbg/tasks/main_lin.yml index 015850c..ae97948 100644 --- a/roles/pwndbg/tasks/main_lin.yml +++ b/roles/pwndbg/tasks/main_lin.yml @@ -3,17 +3,23 @@ name: - git -- name: Download pwntools +- name: Download pwndbg command: cmd: git clone https://github.com/pwndbg/pwndbg - creates: pwndbg + creates: /opt/pwndbg + chdir: /opt -- name: Pull latest pwntools +- name: Pull latest pwndbg command: cmd: git pull - chdir: pwndbg + chdir: /opt/pwndbg -- name: Install pwntools +- name: Install pwndbg command: cmd: ./setup.sh - chdir: pwndbg + chdir: /opt/pwndbg + +- name: Update folder permissions (to allow lock files) + file: + mode: '0777' + path: /opt/pwndbg/.venv diff --git a/roles/pwndbg/tasks/main_win.yml b/roles/pwndbg/tasks/main_win.yml index 4a41d13..b530adb 100644 --- a/roles/pwndbg/tasks/main_win.yml +++ b/roles/pwndbg/tasks/main_win.yml @@ -1,2 +1,3 @@ - name: pwndbg uninstallable - msg: "This task is not installable on Windows. Skipping." + debug: + msg: "This task is not installable on Windows. Skipping."