Using whichever of the injection strings was found to be successful, try
injecting a more interesting command (such as
ls
or
dir
), and deter-
mine whether you are able to retrieve the results of the command back
to your browser.
■
If you are unable to retrieve results directly, there are other options open
to you:
■
You can attempt to open an out-of-band channel back to your com-
puter. Try using TFTP to copy tools up to the server, using telnet or net-
cat to create a reverse shell back to your computer, and using the
mail
command to send command output via SMTP.
■
You can redirect the results of your commands to a file within the web
root, which you can then retrieve directly using your browser. For
example:
dir > c:\inetpub\wwwroot\foo.txt
Do'stlaringiz bilan baham: |