| | Nouveau telnet 192.168.70.2 | |
|
|
| Auteur | Message |
|---|
yaya8 Invité
 | Sujet: Re: Nouveau telnet 192.168.70.2 Mar 12 Juil 05 à 19:20 | |
| Moi j'obtiens "dr-xr-xr-x 27 root root 0 proc", ça doit être le nombre de processus actif. |
|
 | |
AGusS Invité
 | |
 | |
yaya8 Invité
 | Sujet: Re: Nouveau telnet 192.168.70.2 Mar 12 Juil 05 à 21:00 | |
| moi j'ai trouvé des informations sur la livebox login: root Password: [root @ home]$ rsh -o -u root 192.168.70.2 dmesg Loading LX4189 MMU routines. CPU revision is: 0000c401 Primary instruction cache 16kb, linesize 32 bytes Primary data cache 16kb, linesize 32 bytes Linux version 2.4.18 (delizy@VZY08001) (gcc version 2.95.3 20010315 (release/MontaVista)) #93 Mon Jun 6 13:42:05 CEST 2005 Detected 16MB of memory System clock is 100 MHz Determined physical RAM map: memory: 01800000 @ 00000000 (reserved) memory: 00002000 @ 01800000 (reserved) memory: 007fe000 @ 01802000 (usable) memory: 00800000 @ 1f800000 (ROM data) On node 0 totalpages: 8192 zone(0): 8192 pages. zone(1): 0 pages. zone(2): 0 pages. Kernel command line: auto debug rw root=/dev/mtdblock2 Timers are getting initalized Calibrating delay loop... 75.36 BogoMIPS Memory: 5916k/8184k available (1446k kernel code, 2268k reserved, 137k data, 44k init) Dentry-cache hash table entries: 4096 (order: 3, 32768 bytes) Inode-cache hash table entries: 2048 (order: 2, 16384 bytes) Mount-cache hash table entries: 512 (order: 0, 4096 bytes) Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes) Page-cache hash table entries: 8192 (order: 3, 32768 bytes) Checking for 'wait' instruction... unavailable. POSIX conformance testing by UNIFIX Starting idle task Linux NET4.0 for Linux 2.4 Based upon Swansea University Computer Society NET3.039 Initializing RT netlink socket Starting kswapd JFFS2 version 2.1. (C) 2001 Red Hat, Inc., designed by Axis Communications AB. block: 64 slots per queue, batch=16 RAMDISK driver initialized: 16 RAM disks of 512K size 1024 blocksize loop: loaded (max 8 devices)
ethvl: net device ethvl0 registered. physmap flash device: 800000 at 1f800000 Amd/Fujitsu Extended Query Table v1.3 at 0x0040 number of CFI chips: 1 AD6843 Residential Gateway flash probe(0x1f800000,8388608,2): 800000 at 1f800000 Amd/Fujitsu Extended Query Table v1.3 at 0x0040 number of CFI chips: 1 Creating 8 MTD partitions on "Analog Devices AD6843 Residential Gateway": 0x00000000-0x00030000 : "Base" 0x00030000-0x00130000 : "App1Rescue" 0x00130000-0x00130100 : "Header" 0x00130100-0x00380000 : "Root" 0x00380000-0x00430000 : "DSL1" 0x00430000-0x00700000 : "App2" 0x00700000-0x00780000 : "Jffs2" 0x00780000-0x00800000 : "DSL2" ad6843_mtd_init Root partition found at : mtd->index(5) NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMP, UDP, TCP IP: routing cache hash table of 512 buckets, 4Kbytes TCP: Hash tables configured (established 2048 bind 2048) NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. VFS: Mounted root (cramfs filesystem). Freeing unused kernel memory: 44k freed Sagem init : /etc/sagem_release present, root filesystem seems ok ... Sagem Release is : Sagem RG1V1 raynaud@VZY08001 17062005_16H54
Warning: unable to open an initial console. Running /sbin/init |
|
 | |
goutnet Invité
 | Sujet: Re: Nouveau telnet 192.168.70.2 Mer 13 Juil 05 à 16:26 | |
| | AmmoniAc a écrit: | Bonsoir Beworld N'oublions pas que la box est Bi OS maintenant. Donc l'utilisation d'un Vx Linux (pour tout ce qui touche à la video etc) n'est pas surprenante. |
Pourrais-je demander ce qu'est un "vx linux" et un bi os ? |
|
 | |
AmmoniAc Administrateur


Nombre de messages: 2022 Localisation: Sophia Antipolis Date d'inscription: 21/10/2004
 | Sujet: Re: Nouveau telnet 192.168.70.2 Mer 13 Juil 05 à 19:39 | |
| | goutnet a écrit: | | AmmoniAc a écrit: | Bonsoir Beworld N'oublions pas que la box est Bi OS maintenant. Donc l'utilisation d'un Vx Linux (pour tout ce qui touche à la video etc) n'est pas surprenante. |
Pourrais-je demander ce qu'est un "vx linux" et un bi os ? |
Dans le firmware 24013A, deux systèmes d'exploîtation sont exécutés, d'où l'appelletion Bi OS. vxLinux ou VXWorks est un Linux embarqué temps réel développé par Wind River._________________ Best regards Etienne Visitez AmmoniAc's Web Show!  |
|
 | |
goutnet Invité
 | Sujet: Re: Nouveau telnet 192.168.70.2 Mer 13 Juil 05 à 22:12 | |
| interessant, google ne connaissais pas vraiement vxlinux  , et windriver non plus d'ailleurs, mais pourquoi pas ... Bi OS est le terme employé dans la com France Télécom ? |
|
 | |
yaya8 Invité
 | Sujet: Re: Nouveau telnet 192.168.70.2 Jeu 14 Juil 05 à 12:50 | |
| voici quelques fonctions pour "rsh -o -u root 192.168.70.2"
addgroup adduser ash busybox cat checkjffs2 chmod cp date delgroup deluser df dmesg dnsmasq echo egrep erase false freeramdisk ftpd getlink getty grep hostname ifconfig inetd init kill ln login ls mkdir modprobe more mount mv passwd ping ps pwd restore rm rmdir rshd sagemalert save sed setlink sh sleep sntpclient stty su telnetd tinylogin true umount updatedd
avec des fonctions avancées pour le dyndns par: rsh -o -u root 192.168.70.2 updatedd |
|
 | |
AmmoniAc Administrateur


Nombre de messages: 2022 Localisation: Sophia Antipolis Date d'inscription: 21/10/2004
 | Sujet: Re: Nouveau telnet 192.168.70.2 Jeu 14 Juil 05 à 13:10 | |
| | yaya8 a écrit: | avec des fonctions avancées pour le dyndns par: rsh -o -u root 192.168.70.2 updatedd |
Bonjour Ben voilà ça avance bien
Pour le dyndns,
| Code: | Usage: updatedd [--with-backmx] [--wildcard <on|off>] [--with-syslog] [--offline] [--mx <mxhost>] [--service <service>] [--force] [--ip <ip address>] <--hostnames <h1,h2,h3...>> <--system <system>> <--user <user:pass>>
-b --with-backmx enable backmx -f --force force update -h --help print this help -i --ip <ip> ip address -L --list-services list supported services -m --mx <mxhost> hostname of your mail exchange -n --hostnames <h1,h2...> your hostnames, seperate each with a comma -o --offline set host to offline mode -S --service <service> select the type of service you are using -s --system <system> specify the system (dyndns, statdns, custom) -u --user <user:pass> user and password to login with -v --version print the version -w --wildcard <on|off> enable wildcard -y --with-syslog print error messages to syslog
[root @ home]$ |
On a donc à priori la possibilité de s'adresser à d'autres services que DynDNS et surtout d'avoir sur un même serveur un nombre quelconque de serveurs virtuels. On a aussi la possibilité d'avoir son propre serveur Mail, backward et wilcard et celle de désigner un host en cas d'indisponibilité du serveur (set host to offline mode).
Je n'ai pas le temps de tester ces jours ci, mais c'est à creuser._________________ Best regards Etienne Visitez AmmoniAc's Web Show!  |
|
 | |
tata Invité
 | Sujet: Re: Nouveau telnet 192.168.70.2 Jeu 14 Juil 05 à 13:51 | |
| Avis aux amateurs, vérifier si on a tous le meme HASH du MDP pour le compte root dans /etc/shadow En effet, un ami du labo-linux, ma dit comment faire pour changer le MDP via RSH mais bon, j'ai pas envie de niquer ma bobox pour ca ^^ Donc soit Sagem utilise un MDP aléatoire, et donc le changement peut se faire vu qu'il n'intervient pas dans les procedures d'update :p Soit cest le meme, et mieux vaut pas s'amuser avec  En tout cas, c'est vrai qu'il y a un max des fonctions de la box en avancée en ligne de commande ... j'ai pas fait le tour complet, mais elle a de belles possibilités la demoiselle. |
|
 | |
Royleplubo Moderateur


Nombre de messages: 673 Localisation: Peillon Date d'inscription: 28/02/2005
 | Sujet: Re: Nouveau telnet 192.168.70.2 Jeu 14 Juil 05 à 16:29 | |
| J'ai trouvé un truc trop cool, en telnet, tapez rsh -o -u root 192.168.70.2 "cat /sbin/init"
Quand vous validez, il ya pleinds de symboles qui défilent.
Edit : Attention, en effectuant cette commande, vous ne pourrez plus vous reloger en telnet si vous fermez la fenetre car lorque j'ai essayé de reouvrir telnet, les symboles continuaint de defiler. Seule solution, un reboot. Mais je vous jure ca vaut le coup de le faire. Au bout d'un moment, entre les symboles, des commandes ecrites en texte normal defilent. peut etre qqch d'interessant? _________________ Amd Athlon Xp 3000+, 512 Mo de Ram, Ati Radeon 9600 Pro 256 Mo, Xp Pro SP2. LiveBox Sagem Débit Max "Ethernet Rouge" + VoIp Illimité.  |
|
 | |
fluzz Invité
 | Sujet: Re: Nouveau telnet 192.168.70.2 Jeu 14 Juil 05 à 17:28 | |
| J'ai pas encore le nouveau firmware sur ma LB, alors je peux pas faire joujou moi-meme  ( Quelqu'un peut essayer : rsh -o -u root 192.168.70.2 "ls /bin" rsh -o -u root 192.168.70.2 "ls /usr/bin" rsh -o -u root 192.168.70.2 "/bin/sh" (au fait, /sbin/init c'est l'executable lance par le noyau Linux au demarrage) |
|
 | |
yaya8 Invité
 | Sujet: Re: Nouveau telnet 192.168.70.2 Jeu 14 Juil 05 à 17:45 | |
| | fluzz a écrit: | J'ai pas encore le nouveau firmware sur ma LB, alors je peux pas faire joujou moi-meme (
Quelqu'un peut essayer :
rsh -o -u root 192.168.70.2 "ls /bin" rsh -o -u root 192.168.70.2 "ls /usr/bin" rsh -o -u root 192.168.70.2 "/bin/sh"
(au fait, /sbin/init c'est l'executable lance par le noyau Linux au demarrage) |
le premier donne la liste que j'ai donné plus haut .
le second rsh -o -u root 192.168.70.2 "ls /usr/bin" donne: [ clear cmp dirname env find free id route test uptime wget xargs
le troisieme se bloque, en effet rsh -o -u root 192.168.70.2 "/bin/sh" permet d'éxecuter un programme comme on peut le voir ici [root @ home]$ rsh -o -u root 192.168.70.2 ps PID TTY Uid Size State Command 1 root 1112 S init 2 root 0 S [keventd] 3 root 0 S [ksoftirqd_CPU0] 4 root 0 S [kswapd] 5 root 0 S [bdflush] 6 root 0 S [kupdated] 7 root 0 S [mtdblockd] 13 root 0 S [jffs2_gcd_mtd8] 26 root 1116 S /bin/sh /etc/init.d/rc.d/S20telnetd start 28 root 1100 S telnetd -debug 36 root 1116 S /bin/sh /etc/init.d/rc.d/S40inetd start 38 root 1312 S inetd -R 1000 --debug 269 root 1116 S sh -c /usr/bin/xargs 270 root 1108 S /usr/bin/xargs 336 root 1116 S sh -c /bin/sh 337 root 1112 S /bin/sh 507 root 1116 S sh -c ps 508 root 1112 R ps
on peut par exemple faire rsh -o -u root 192.168.70.2 "/bin/sh /etc/init.d/rc.d/S30telnetd start" |
|
 | |
AmmoniAc Administrateur


Nombre de messages: 2022 Localisation: Sophia Antipolis Date d'inscription: 21/10/2004
 | Sujet: Re: Nouveau telnet 192.168.70.2 Jeu 14 Juil 05 à 17:56 | |
| | yaya8 a écrit: | | fluzz a écrit: | J'ai pas encore le nouveau firmware sur ma LB, alors je peux pas faire joujou moi-meme (
Quelqu'un peut essayer :
rsh -o -u root 192.168.70.2 "ls /bin" rsh -o -u root 192.168.70.2 "ls /usr/bin" rsh -o -u root 192.168.70.2 "/bin/sh"
(au fait, /sbin/init c'est l'executable lance par le noyau Linux au demarrage) |
le premier donne la liste que j'ai donné plus haut .
|
Tu m'as grillé sur le coup
Pour moi le troisième donne :
| Code: | login: root Password: [root @ home]$ rsh -o -u root 192.168.70.2 ps PID TTY Uid Size State Command 1 root 1112 S init 2 root 0 S [keventd] 3 root 0 S [ksoftirqd_CPU0] 4 root 0 S [kswapd] 5 root 0 S [bdflush] 6 root 0 S [kupdated] 7 root 0 S [mtdblockd] 13 root 0 S [jffs2_gcd_mtd8] 26 root 1116 S /bin/sh /etc/init.d/rc.d/S20telnetd start 36 root 1116 S /bin/sh /etc/init.d/rc.d/S40inetd start 37 root 1312 S inetd -R 1000 --debug 19676 root 1100 S telnetd -debug 20572 root 1116 S sh -c /bin/sh 20573 root 1112 S /bin/sh 20902 root 0 Z [init] 20903 root 1116 S sh -c ps 20904 root 1112 R ps
[root @ home]$ |
_________________ Best regards Etienne Visitez AmmoniAc's Web Show!  |
|
 | |
yaya8 Invité
 | Sujet: Re: Nouveau telnet 192.168.70.2 Jeu 14 Juil 05 à 18:06 | |
| login: root Password: [root @ home]$ rsh -o -u root 192.168.70.2 ps PID TTY Uid Size State Command 1 root 1112 S init 2 root 0 S [keventd] 3 root 0 S [ksoftirqd_CPU0] 4 root 0 S [kswapd] 5 root 0 S [bdflush] 6 root 0 S [kupdated] 7 root 0 S [mtdblockd] 13 root 0 S [jffs2_gcd_mtd8] 26 root 1116 S /bin/sh /etc/init.d/rc.d/S20telnetd start 36 root 1116 S /bin/sh /etc/init.d/rc.d/S40inetd start 37 root 1312 S inetd -R 1000 --debug 19676 root 1100 S telnetd -debug
20572 root 1116 S sh -c /bin/sh 20573 root 1112 S /bin/sh 20902 root 0 Z [init] 20903 root 1116 S sh -c ps 20904 root 1112 R ps
En fait les dernières commandes (en gras sont les commandes faites par l'utilisateur tu as donc fait /bin/sh , tu as redémarré et tu as fait ps |
|
 | |
AmmoniAc Administrateur


Nombre de messages: 2022 Localisation: Sophia Antipolis Date d'inscription: 21/10/2004
 | Sujet: Re: Nouveau telnet 192.168.70.2 Jeu 14 Juil 05 à 18:15 | |
| | yaya8 a écrit: | login: root Password: [root @ home]$ rsh -o -u root 192.168.70.2 ps PID TTY Uid Size State Command 1 root 1112 S init 2 root 0 S [keventd] 3 root 0 S [ksoftirqd_CPU0] 4 root 0 S [kswapd] 5 root 0 S [bdflush] 6 root 0 S [kupdated] 7 root 0 S [mtdblockd] 13 root 0 S [jffs2_gcd_mtd8] 26 root 1116 S /bin/sh /etc/init.d/rc.d/S20telnetd start 36 root 1116 S /bin/sh /etc/init.d/rc.d/S40inetd start 37 root 1312 S inetd -R 1000 --debug 19676 root 1100 S telnetd -debug
20572 root 1116 S sh -c /bin/sh 20573 root 1112 S /bin/sh 20902 root 0 Z [init] 20903 root 1116 S sh -c ps 20904 root 1112 R ps
En fait les dernières commandes (en gras sont les commandes faites par l'utilisateur tu as donc fait /bin/sh , tu as redémarré et tu as fait ps |
Ok, Tiens un truc marrant :
| Code: | login: root Password: [root @ home]$ rsh -o -u root 192.168.70.2 sagemalert Usage sagemalert <alertcode> Sends an alert to collaborator OS, depending on the alert code, this program may freeze Linux
[root @ home]$ |
_________________ Best regards Etienne Visitez AmmoniAc's Web Show!  |
|
 | |
| | Nouveau telnet 192.168.70.2 | |
|