metasploit-framework
https://github.com/rapid7/metasploit-framework
Ruby
Metasploit Framework
RbMysql#stmt_init
:call-seq:
statement()
statement() {|st| ... }
Make empty prepared-statement object.
If block is specified then prepared-statement is closed when exiting the block.
=== Block parameter
st :: [ Mysql::Stmt ] Prepared-statement object.
=== Return
Mysql::Statement :: If block is not specified.
The value returned by block :: If block is specified.Edit
git clone [email protected]:rapid7/metasploit-framework.git
cd metasploit-framework
open lib/rbmysql/compat.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-RbMysql-stmt_init-for-pr
# Commit to gitgit add lib/rbmysql/compat.rbgit commit -m "better docs for RbMysql#stmt_init"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-RbMysql-stmt_init-for-pr
hub pull-request
# Celebrate!