Esempio n. 1
0
        if args.report == "output":
            pass
        else:
            print()
            print(
                "================================================================================"
            )
            if args.Flush == "off":
                if input("Continue? [Y/n] ") is 'n':
                    exit()
            print()

        if args.report:
            if not os.path.exists("analysis_report"):
                os.mkdir("analysis_report")
            file_report = pe_report(pe, args.report)
        else:
            sections = pe.sections_analysis(args.report)

        if args.report == "output":
            pass
        else:
            print(
                "================================================================================"
            )
            if args.Flush == "off":
                if input("Continue? [Y/n] ") is 'n':
                    exit()
            print()

        _tls = pe.checkTSL()
Esempio n. 2
0
            if args.report == "output":
                pass
            else:
                print('\t', n)
        if args.report == "output":
            pass
        else:
            print()
            print(
                "================================================================================"
            )

        if args.report:
            if not os.path.exists("analysis_report"):
                os.mkdir("analysis_report")
            file_report = pe_report(pe, args.report, args.strings)
        else:
            sections = pe.sections_analysis(args.report)
            print(
                "================================================================================"
            )
            pe.overlay()

        if args.report == "output":
            pass
        else:
            print(
                "================================================================================"
            )

        _tls = pe.checkTSL()