I keep getting IndexError: list index out of range
when using the below snippets in a python script:
rhost = sys.argv[1] #target ip
rport = int(sys.argv[2]) #target port
I do not really see the issue with the above code. Any assistance would be most appreciated!