ChopperCharles Posted April 12, 2012 Share Posted April 12, 2012 Is there documentation for session.fs.file in metasploit? Here's my problem: I'm building a post module (meterpreter, windows sessions only). If I attempt to upload a nonexistent file using session.fs.file.upload, a zero byte file gets created on the remote system, and the remote directory is locked. I don't mind the zero byte file, but the locked directory is a BIG problem. So, I need a way to check that the local file exists before uploading, or preferably have a way to release the lock on the directory when an error occurs. I can't even find where in the metasploit code session.fs.file is located, and there's no documentation that I've been able to find using google... but I may not be searching for the right thing. Any help would be appreciated! Charles. Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.