Skip to content

Fingerprint Routers Scanner Module Error #3498

@zinduolis

Description

@zinduolis

First Steps

  1. Confirmed issue not posted previously.
  2. Confirmed wiki does not contain answers.
  3. Checking FAQ.
  4. BeEF Version: Latest
  5. Ruby Version: 3.2.3
  6. Browser Details: Firefox (Linux)
  7. Operating System: Linux

Configuration

  1. BeEF configuration changes? No
  2. Enabled/disabled extensions? No

Steps to Reproduce

  1. Browser: Firefox
  2. Execute "Fingerprint Routers" module.

Error Description

The module crashes the BeEF server thread with an ActiveModel::UnknownAttributeError when attempting to save results to the database.

Console Error

ActiveModel::UnknownAttributeError: unknown attribute 'type' for BeEF::Core::Models::NetworkService.
from /beef/modules/network/jslanscanner/module.rb:29:in `post_execute'

Root Cause

The module's post_execute method in modules/network/jslanscanner/module.rb:29 attempts to create a NetworkService record using attribute type, but the model expects ntype.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions