Skip to content

Commit 1865d42

Browse files
committed
Allow grep like searching
1 parent 2505be4 commit 1865d42

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

nxc/protocols/smb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1094,7 +1094,7 @@ def format_row(procInfo):
10941094
# If args.tasklist is not True then a process name was supplied
10951095
if self.args.tasklist is not True:
10961096
# So we look for it and print its information if found
1097-
if self.args.tasklist.lower() == procInfo["ImageName"].lower():
1097+
if self.args.tasklist.lower() in procInfo["ImageName"].lower():
10981098
found_task = True
10991099
self.logger.highlight(format_row(procInfo))
11001100
# Else, no process was supplied, we print the entire list of remote processes

0 commit comments

Comments
 (0)