Skip to content

Commit 2b249d5

Browse files
committed
update linux example persistence
1 parent 96cc6b4 commit 2b249d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/exploits/example_linux_persistence.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def initialize(info = {})
5656
# What types of sessions we can use this module in conjunction with. Most modules use libraries
5757
# which work on shell and meterpreter, but there may be a nuance between one of them, so best to
5858
# test both to ensure compatibility.
59-
'SessionTypes' => [ 'shell', 'meterpreter' ],
59+
'SessionTypes' => [ 'meterpreter' ], # @clean_up_rc only works in meterpreter sessions
6060
'Targets' => [[ 'Auto', {} ]],
6161
# from lib/msf/core/module/privileged, denotes if this requires or gives privileged access
6262
# since privilege escalation modules typically result in elevated privileges, this is

0 commit comments

Comments
 (0)