You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/exploits/linux/persistence/init_systemd.rb
+9-8Lines changed: 9 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -83,13 +83,13 @@ def initialize(info = {})
83
83
end
84
84
85
85
defcheck
86
-
print_warning('Payloads in /tmp will only last until reboot, you want to choose elsewhere.')ifdatastore['WritableDir'].start_with?('/tmp')
86
+
print_warning('Payloads in /tmp will only last until reboot, you want to choose elsewhere.')ifwritable_dir.start_with?('/tmp')
87
87
print_warning('User doesnt have root permissions, yet target set to systemd, likely need to change target to systemd user.')iftarget.name == 'systemd' && !is_root?
0 commit comments