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.
1msf-pro > pro_tasks23Id Project Desc Status Information4-- ------- ---- ------ ------------50 default scan running
Viewing Running Tasks
Use the pro_tasks
command and the -r
option to view a list of all running tasks.
1msf-pro > pro_tasks -r2Id Project Desc Status Information3-- ------- ---- ------ ------------40 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.
1msf-pro > pro_tasks23Id Project Desc Status Information4-- ------- ---- ------ ------------50 default scan running67msf-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.
1msf-pro > pro_tasks23Id Project Desc Status Information4-- ------- ---- ------ ------------50 default scan running67msf-pro > pro_tasks -k 0