Trying to run expect from web page

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm going on vacation and want to check in to my server. I've written a knock-3-times.php webpage with the idea of then running an expect script to: telnet modem, echo iptables nat -s $IP etc. which would allow me get in to my server.

The expect script runs just fine but in the page: exec ("<path>/modfirewall.exp"); does nothing - it's as if the line is #exec ("... commented out. Suggestions?

Thanks



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx





[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux