torstate.csv" $writeTheNewGeneratedAddress = "echo $rootPW | sudo -S cat /var/lib/tor/$hsname/hostname > hshostname.txt" $output = exec($configureHiddenService1); $output1 = exec($configureHiddenService2); $output2 = exec($restartTor); $output3 = exec($replaceTorState); $output4 = exec($writeTheNewGeneratedAddress); echo $output3; echo " oi oi oi "; ?>