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.

msf-pro > pro_tasks

 

Id Project Desc Status Information

-- ------- ---- ------ ------------

0 default scan running

Viewing Running Tasks

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

msf-pro > pro_tasks -r

Id Project Desc Status Information

-- ------- ---- ------ ------------

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.

msf-pro > pro_tasks

 

Id Project Desc Status Information

-- ------- ---- ------ ------------

0 default scan running

 

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.

msf-pro > pro_tasks

 

Id Project Desc Status Information

-- ------- ---- ------ ------------

0 default scan running

 

msf-pro > pro_tasks -k 0