diff --git a/docs/commands/misc/cyclic.md b/docs/commands/misc/cyclic.md index 48cbe4c66..372e7c5c3 100644 --- a/docs/commands/misc/cyclic.md +++ b/docs/commands/misc/cyclic.md @@ -27,5 +27,8 @@ Cyclic pattern creator/finder. |-o|--lookup|Do a lookup instead of printing the sequence (accepts constant values as well as expressions)| |-d|--detect|Detect cyclic patterns in registers (Immediate values and memory pointed to by registers)| +### Notes +If you want to write the cyclic pattern to memory, use the `spray` command! + diff --git a/pwndbg/commands/cyclic.py b/pwndbg/commands/cyclic.py index 6d43218ca..0900fa791 100644 --- a/pwndbg/commands/cyclic.py +++ b/pwndbg/commands/cyclic.py @@ -148,7 +148,12 @@ parser.add_argument( ) -@pwndbg.commands.Command(parser, command_name="cyclic", category=CommandCategory.MISC) +@pwndbg.commands.Command( + parser, + command_name="cyclic", + category=CommandCategory.MISC, + notes="If you want to write the cyclic pattern to memory, use the `spray` command!", +) def cyclic_cmd( alphabet, length: Optional[int], lookup, detect, count=100, filename="", timeout=2 ) -> None: