Add a note about spray to cyclic (#3439)

* add a note about spray to cyclic

* lint
pull/3416/head^2
k4lizen 2 weeks ago committed by GitHub
parent c02999f66c
commit 653f8666f1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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!
<!-- END OF AUTOGENERATED PART. Do not modify this line or the line below, they mark the end of the auto-generated part of the file. If you want to extend the documentation in a way which cannot easily be done by adding to the command help description, write below the following line. -->
<!-- ------------\>8---- ----\>8---- ----\>8------------ -->

@ -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:

Loading…
Cancel
Save