I don't really understand how it works. May be that's because I know nothing about grep and sed.
Why do we need to get a host with grep from the plugin_container if we use rtmpsrv > rtmpsrv.txt? And where do we use the host value?
Also I don't understand how the following works for changing the hosts file.
Code:
cd C:\Windows\System32\drivers\etc & sed s/#// hosts > tmp & mv tmp hosts
cd C:\Windows\System32\drivers\etc & sed "s/^/#/" hosts > tmp & mv tmp hosts
Where are the values that are added into the hosts file and how they are removed?