Skip to content

No such file or directory @ rb_check_realpath_internal #20664

@pyrenaica

Description

@pyrenaica

Steps to reproduce

How'd you do it?

  1. Commit 8dd2724: running multi/handler gives back the following error: Exploit failed: No such file or directory @ rb_check_realpath_internal - /usr/lib/metasploit9999/vendor/ruby/3.3.0/gems/metasploit-payloads-2.0.234/lib/../data

Expected behavior

multi/handler should run as expected

Current behavior

throws back the error Exploit failed: No such file or directory @ rb_check_realpath_internal - /usr/lib/metasploit/vendor/ruby/3.3.0/gems/metasploit-payloads-2.0.234/lib/../data
metasploit-payloads-2.0.234 does not exist, but metasploit-payloads-2.0.235 does.

Metasploit version

Commit 8dd2724

Additional Information

Current dirty workaround was to create a symlink ln -sf /usr/lib/metasploit/vendor/ruby/3.3.0/gems/metasploit-payloads-2.0.235 /usr/lib/metasploit/vendor/ruby/3.3.0/gems/metasploit-payloads-2.0.234

Running on gentoo linux

Once the symlink created, it runs good.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions