metasploit-framework

https://github.com/rapid7/metasploit-framework

Ruby

Metasploit Framework

OpenPipeSock#fd

The session manager expects a socket object so we must implement
fd, localinfo, and peerinfo. fd is passed to select while localinfo
and peerinfo are used to report the addresses and ports of the
connection.

Source | Google | Stack overflow

Edit

git clone [email protected]:rapid7/metasploit-framework.git

cd metasploit-framework

open lib/msf/core/handler/bind_named_pipe.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-OpenPipeSock-fd-for-pr


# Commit to git

git add lib/msf/core/handler/bind_named_pipe.rbgit commit -m "better docs for OpenPipeSock#fd"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-OpenPipeSock-fd-for-pr

hub pull-request


# Celebrate!