metasploit-framework icon indicating copy to clipboard operation
metasploit-framework copied to clipboard

Msf::Post::File: read_file returns zero bytes for some files on iOS

Open bcoles opened this issue 2 months ago • 1 comments

read_file returns zero bytes for some files on iOS. Tested with a ~990KB SQLite database via ssh_login shell session.

Subsequent interaction with the session (sessions -i) after attempting read_file causes the file contents to be spewed to the session buffer.

The file is readable. From a new clean session, interacting with the session and reading the file with cat works fine.

bcoles avatar Oct 24 '25 06:10 bcoles

Hi!

This issue has been left open with no activity for a while now.

We get a lot of issues, so we currently close issues after 60 days of inactivity. It’s been at least 30 days since the last update here. If we missed this issue or if you want to keep it open, please reply here. You can also add the label "not stale" to keep this issue open!

As a friendly reminder: the best way to see this issue, or any other, fixed is to open a Pull Request.

github-actions[bot] avatar Nov 24 '25 15:11 github-actions[bot]