from pentest.command import JarvisCmd
import sys
__name__ = "tshark"


def main():
	args_config = {
		"passthrough_args": ["-w", "--help", "-h"],
		"output_args": [
			{
				"format": "pcap",
				"arg": "-w"
			}
		]
	}

	cmd = JarvisCmd(sys.argv)
	cmd.set_args_config(args_config)

	target = "sniff"

	cmd.run(target)
