Skip to content

[-] Error while running command beef_target: can't convert String into Integer #1

@zkual0

Description

@zkual0

when i run this line:
msf> beef_target -c 0
i got this error:
[-] Error while running command beef_target: can't convert String into Integer
beef_error

i've been modifing the source code and i've fixed the error, this is the final output
beef_workinggood

this is the pice of code that i've modified at beef.rb (located at /usr/share/metasploit-framework/plugins/beef.rb in kali)
source_code

i'm using this:

  • metasploit v4.8.2-2014010801 [core:4.8 api:1.0]
  • Browser Exploitation Framework (BeEF) 0.4.4.5-alpha

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions