()
| 32 | |
| 33 | |
| 34 | def main(): |
| 35 | from argparse import ArgumentParser |
| 36 | |
| 37 | parser = ArgumentParser( |
| 38 | "bin_to_uuid", description="Converts binary files into legit UUID") |
| 39 | |
| 40 | parser.add_argument( |
| 41 | '-p', |
| 42 | '--payload', |
| 43 | required=True, |
| 44 | help='payload (in binary format) that is to be converted to UUID') |
| 45 | parser.add_argument( |
| 46 | '-o', |
| 47 | '--output', |
| 48 | required=False, |
| 49 | help='output file for the payload that was converted to UUID') |
| 50 | |
| 51 | args = vars(parser.parse_args()) |
| 52 | |
| 53 | bin_to_uuid(args['payload'], args['output']) |
| 54 | |
| 55 | |
| 56 | if '__main__' == __name__: |
no test coverage detected