Skip to content

Instantly share code, notes, and snippets.

@PortWhisperer
Created July 2, 2018 06:37
Show Gist options
  • Save PortWhisperer/3e5661b05ad458a554ff04eea4fc89ba to your computer and use it in GitHub Desktop.
Save PortWhisperer/3e5661b05ad458a554ff04eea4fc89ba to your computer and use it in GitHub Desktop.
~ ❯❯❯ echo "5)"| nc 172.16.2.25 10000
Please enther number of packets: Traceback (most recent call last):
File "./ping.py", line 3, in <module>
num_packets = int(input(' Please enther number of packets: '))
File "<string>", line 1
5)
^
SyntaxError: unexpected EOF while parsing
~ ❯❯❯ echo "5')"| nc 172.16.2.25 10000
Please enther number of packets: Traceback (most recent call last):
File "./ping.py", line 3, in <module>
num_packets = int(input(' Please enther number of packets: '))
File "<string>", line 1
5')
^
SyntaxError: EOL while scanning string literal
~ ❯❯❯ echo "5\')"| nc 172.16.2.25 10000
Please enther number of packets: Traceback (most recent call last):
File "./ping.py", line 3, in <module>
num_packets = int(input(' Please enther number of packets: '))
File "<string>", line 1
5\')
^
SyntaxError: unexpected character after line continuation character
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment