I am a beginner Python programmer and I really like security in general. However, I am learning, and today I stumbled upon a Python script that easily allows to use NTP servers to perform a DoS attack using amplification provided by a NTP 'vulnerability'.
If you look at the script, line 18, you will see:
data=str("\x17\x00\x03\x2a") + str("\x00")*4
However, if I go to the Python console and try to print it, what it is returned has no sense:
>>> str("\x17\x00\x03\x2a") + str("\x00")*4
*
Obviously I am missing something here but I do not know how to find it out. Could someone explain it to me?