Metasploit mailing list archives

Code No-Nos


From: alfonso caponi <alfonso.caponi () gmail com>
Date: Tue, 6 Jul 2010 14:08:08 +0200

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
puts.

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

Thank you,
Al
_______________________________________________
https://mail.metasploit.com/mailman/listinfo/framework

Current thread: