def print_banner(): print ConsoleOutputBeautifier.getColor("green"), \ "=" * 20, "HTML source code Analyzer", "=" * 20, "\n", \ " https://github.com/bl4de | https://twitter.com/_bl4de \n" \ " https://hackerone.com/bl4de | [email protected] ", \ "\n\n", \ ConsoleOutputBeautifier.getSpecialChar("endline")
def show_stats(_file, i, _ident, _fw): """showing summary stats about HTML file""" print ConsoleOutputBeautifier.getColor( "green"), "\n------ SUMMARY -------\n" print "total lines of code: %d" % (i) print "identified CMS: %s" % (_ident) print "identified framework: %s" % ( _fw), ConsoleOutputBeautifier.getSpecialChar("endline") # end of summary print "\n"