From 37d76c4d514a16c5d6cbd97f1003a35d23cacb07 Mon Sep 17 00:00:00 2001 From: Justin Steven Date: Fri, 8 Oct 2021 23:59:56 +1000 Subject: [PATCH] Fix hexdump docstring. s should by bytes. --- pwnlib/util/fiddling.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pwnlib/util/fiddling.py b/pwnlib/util/fiddling.py index 3788aa1f6..6a81e78c5 100644 --- a/pwnlib/util/fiddling.py +++ b/pwnlib/util/fiddling.py @@ -765,7 +765,7 @@ def hexdump(s, width=16, skip=True, hexii=False, begin=0, style=None, Return a hexdump-dump of a string. Arguments: - s(str): The data to hexdump. + s(bytes): The data to hexdump. width(int): The number of characters per line groupsize(int): The number of characters per group skip(bool): Set to True, if repeated lines should be replaced by a "*"