Skip to content

Commit 204d28a

Browse files
committed
Single char args scheduleme
1 parent 7cb79e8 commit 204d28a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/meterpreter/scheduleme.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"-h" => [ false,"Help menu." ],
2222
"-c" => [ true,"Command to execute at the given time. If options for execution needed use double quotes"],
2323
"-d" => [ false,"Daily." ],
24-
"-hr" => [ true,"Every specified hours 1-23."],
24+
"-H" => [ true,"Every specified hours 1-23."],
2525
"-m" => [ true, "Every specified amount of minutes 1-1439"],
2626
"-e" => [ true, "Executable or script to upload to target host, will not work with remote schedule"],
2727
"-l" => [ false,"When a user logs on."],
@@ -214,7 +214,7 @@ def upload(session,file)
214214
when "-d"
215215
tmmod = val
216216
schtype = "daily"
217-
when "-hr"
217+
when "-H"
218218
tmmod = val
219219
schtype = "hourly"
220220
when "-m"

0 commit comments

Comments
 (0)