bonjour,
j'utilisais il y a quelque temps 2 fichiers.bat avec le logiciel TST10.exe pour changer l'ip de ma livebox SAGEM et c'etait bien pratique pour télécharger sur rapidshare puisque le temps d'attente etait supprimé.Je rappelle que ca ne cache pas l'ip,ce n'est pas du spoofing.
Voila le fichier bat 1 à executer en 1er :
192.168.1.1
WAIT "login"
SEND "root\m"
WAIT "Password"
SEND "1234\m"
WAIT "[root @ home]$"
SEND "sndcp"
WAIT "[root @ sndcp]$"
SEND "pppoestop 0"
WAIT "[root @ sndcp]$"
SEND "home"
WAIT "[root @ home]$"
SEND "exit"
WAIT "[root @ h"
le fichier bat à execute en 2eme:
192.168.1.1
WAIT "login"
SEND "root\m"
WAIT "Password"
SEND "1234\m"
WAIT "[root @ home]$"
SEND "sndcp"
WAIT "[root @ sndcp]$"
SEND "pppoestart 0"
WAIT "[root @ sndcp]$"
SEND "home"
WAIT "[root @ home]$"
SEND "exit"
WAIT "[root @ home]$"
le TST10.exe:
Usage Syntax:
tst10.exe /r:script.txt [options]
/r:script.txt run script.txt
[options] any of these:
/o:output.txt send session output to output.txt
/m run script in minimized window
Usage Example:
tst10.exe /r:script.txt /o:output.txt /m
Scripting Syntax:
HOSTNAME PORT port number optional, default: 23
WAIT "string" string to wait for
SEND "string" string to send
\" represents the a quote character
\m represents a <CR/LF>
\\ represents the backslash character
Scripting Example:
hostname.com 23
WAIT "login"
SEND "root\m"
WAIT "password"
SEND "mypassword\m"
WAIT ">"
SEND "dip internet.dip\m"
WAIT ">"
Scripting Note:
You can start with either WAIT or SEND commands,
but you *must* alternate them. ie: you can't use two
or more WAIT or SEND in a row.
Note:
TST will disconnect and close as soon
as its done with the last entry of the script.
If you need to, you can type in the terminal
window while the script is running.
Le probleme c'est qu'apres la foudre j'ai été obligé de changer de livebox et maintenant j'ai la mini livebox thomson et ces fichiers ne fonctionnent plus et je ne peux plus changer mon ip.
Quelque aurait-il la solution à mon probleme?
merci