diff options
Diffstat (limited to 'src')
| -rwxr-xr-x | src/op_mode/file.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/op_mode/file.py b/src/op_mode/file.py index a0efdb5cb..8420c5355 100755 --- a/src/op_mode/file.py +++ b/src/op_mode/file.py @@ -133,9 +133,6 @@ def print_file_data(path: str) -> None: with open(path, 'r') as f: for line in f: print(line, end='') - # tcpdump files go to TShark. - elif 'pcap' in file_type or os.path.splitext(path)[1] == '.pcap': - print(cmd(['sudo', 'tshark', '-r', path])) # All other binaries get hexdumped. else: print(cmd(['hexdump', '-C', path])) |
