metasploit-framework July 2010 archive
Main Archive Page > Month Archives  > metasploit-framework archives
metasploit-framework: [framework] Code No-Nos

[framework] Code No-Nos

From: alfonso caponi <alfonso.caponi_at_nospam>
Date: Tue Jul 06 2010 - 12:08:08 GMT

Hi list,

I'm reading "Code No-Nos" paragraph in the HACKING file...

1. Don't print to standard output. Doing so means that users of
interfaces other than msfconsole, such as msfrpc and msfweb, won't see
your output. You can use print_line to accomplish the same thing as

Theoretically should I avoid using functions like printf, sprintf, etc.?
Exist an alternative function for formatting the output in metasploit?

Thank you,