Skip to content

Commit

Permalink
fixup: pyrdp-convert needed a main
Browse files Browse the repository at this point in the history
  • Loading branch information
obilodeau committed Dec 5, 2023
1 parent d7c10b8 commit 6d4dbd4
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions pyrdp/bin/convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

#
# This file is part of the PyRDP project.
# Copyright (C) 2020-2021 GoSecure Inc.
# Copyright (C) 2020-2023 GoSecure Inc.
# Licensed under the GPLv3 or later.
#
import argparse
Expand All @@ -16,7 +16,7 @@
from pyrdp.player import HAS_GUI


if __name__ == "__main__":
def main():
parser = argparse.ArgumentParser()
parser.add_argument("input", help="Path to a .pcap or .pyrdp file. "
"Converting from a .pcap will always extract file transfer artifacts in addition to the actual replay.")
Expand Down Expand Up @@ -94,3 +94,6 @@

exitCode = converter.process()
sys.exit(exitCode)

if __name__ == "__main__":
main()

0 comments on commit 6d4dbd4

Please sign in to comment.