Managing Tasks

When you run a task, such as a scan, bruteforce attack, or exploit, the Pro Console tracks the progress of the task in the task log. To manage the task log, you can view or cancel any task.

Viewing All Tasks

Use the pro_tasks command to view a list of all tasks that you have run since you connected to the database.

1
msf-pro > pro_tasks
2
3
Id Project Desc Status Information
4
-- ------- ---- ------ ------------
5
0 default scan running

Viewing Running Tasks

Use the pro_tasks command and the -r option to view a list of all running tasks.

1
msf-pro > pro_tasks -r
2
Id Project Desc Status Information
3
-- ------- ---- ------ ------------
4
0 default scan running

Viewing the Task Log

Use the pro_tasks command and the -w option to view the task log for a specific task.You must define the task ID for the task log that you want to view. To find the task ID, type pro_tasks to view the tasks list. The tasks list shows the task ID.

1
msf-pro > pro_tasks
2
3
Id Project Desc Status Information
4
-- ------- ---- ------ ------------
5
0 default scan running
6
7
msf-pro > pro_tasks -w 0

Canceling a Running Task

Use the pro_tasks command and the -k option to cancel a task. You must specify the task ID for the task that you want to cancel. To find the task ID, type pro_tasks to view the tasks list. The tasks list shows the task IDs.

1
msf-pro > pro_tasks
2
3
Id Project Desc Status Information
4
-- ------- ---- ------ ------------
5
0 default scan running
6
7
msf-pro > pro_tasks -k 0