PrepAway - Latest Free Exam Questions & Answers

Tag: passwd

How would you protect from these attacks?

Take a look at the following attack on a Web Server using obstructed URL:
http://www.example.com/script.ext?template=%2e%2e%2f%2e%2e%2f%2e%2e%2f%65%74%63 %2f%70%61%73%73%77%64
This request is made up of:
.%2e%2e%2f%2e%2e%2f%2e%2e%2f = ../../../
.%65%74%63 = etc
.%2f = /
.%70%61%73%73%77%64 = passwd
How would you protect from these attacks?

What does the following command in netcat do?

What does the following command in netcat do?
nc 55555 < /etc/passwd