Skip to content

Commit e104f73

Browse files
committed
Merge pull request rapid7#103 from rapid7/bug/MSP-10683/pnd-login-task-assoc
Filler task dropped, login results in task assoc
2 parents 87e6ede + 5b1dc39 commit e104f73

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

lib/msf/core/db.rb

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3452,11 +3452,7 @@ def inspect_single_packet_http(pkt,wspace,args)
34523452
protocol: 'tcp',
34533453
workspace_id: wspace.id
34543454
}
3455-
3456-
if task.nil?
3457-
task = wspace.tasks.create
3458-
end
3459-
task_id = task.id
3455+
service_data[:task_id] = task.id if task
34603456

34613457
filename = args[:filename]
34623458

@@ -3465,7 +3461,6 @@ def inspect_single_packet_http(pkt,wspace,args)
34653461
private_data: pass,
34663462
private_type: :password,
34673463
username: user,
3468-
task_id: task_id,
34693464
filename: filename
34703465
}
34713466
credential_data.merge!(service_data)

0 commit comments

Comments
 (0)