diff --git a/pwndbg/commands/shell.py b/pwndbg/commands/shell.py index ef09ab00c..c3c82accc 100644 --- a/pwndbg/commands/shell.py +++ b/pwndbg/commands/shell.py @@ -18,7 +18,6 @@ shellcmds = [ "clear", "cp", "date", - "dd", "diff", "egrep", "find", diff --git a/pwndbg/commands/windbg.py b/pwndbg/commands/windbg.py index 4c91d2671..9b4cb7166 100644 --- a/pwndbg/commands/windbg.py +++ b/pwndbg/commands/windbg.py @@ -56,7 +56,7 @@ def dX(size, address, count, to_string=False): except gdb.MemoryError: break - n_rows = math.ceil(count * size / float(16)) + n_rows = int(math.ceil(count * size / float(16))) row_sz = int(16 / size) rows = [values[i*row_sz:(i+1)*row_sz] for i in range(n_rows)] lines = []