View Single Post
Old 13-09-2017, 11:57   #1946
Ansuel
Senior Member
 
Iscritto dal: Sep 2015
Messaggi: 517
Quote:
Originariamente inviato da Busone di Higgs Guarda i messaggi
Forse non tutte le build per armada sono compatibili?
Ho preso busybox e l'ho rinominato telnetd, ho preso sftp-server ma richiede delle impostazioni , vedi anche il post 1915.
Sono in viaggio per cui non riesco a vedere da qui quale build ho scaricato, l'md5 di busybox e' 07d12f422bbf9e2c99ba2507ecc5e6df ma lo trovi anche nel post 1915 e modificando l'url prendi anche sftp-server che pero' e lo stesso per tutte le build; ero convinto che busybox fosse lo stesso per tutte le distribuzioni, potrebbe esserlo ma magari hanno strippato qualcos'altro sul dga che pone dei limiti di funzionamento a busybox, ma almeno dslstats funziona da 2 giorni con quello usandolo come daemon telnet.

busybox rinominato telnetd ha questo header:

Codice:
ELF Header:
  Magic:   7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00 
  Class:                             ELF32
  Data:                              2's complement, little endian
  Version:                           1 (current)
  OS/ABI:                            UNIX - System V
  ABI Version:                       0
  Type:                              EXEC (Executable file)
  Machine:                           ARM
  Version:                           0x1
  Entry point address:               0x146d8
  Start of program headers:          52 (bytes into file)
  Start of section headers:          0 (bytes into file)
  Flags:                             0x5000202, Version5 EABI, soft-float ABI, <unknown>
  Size of this header:               52 (bytes)
  Size of program headers:           32 (bytes)
  Number of program headers:         6
  Size of section headers:           0 (bytes)
  Number of section headers:         0
  Section header string table index: 0

There are no sections in this file.

There are no sections to group in this file.

Program Headers:
  Type           Offset   VirtAddr   PhysAddr   FileSiz MemSiz  Flg Align
  PHDR           0x000034 0x00010034 0x00010034 0x000c0 0x000c0 R E 0x4
  INTERP         0x0000f4 0x000100f4 0x000100f4 0x00014 0x00014 R   0x1
      [Requesting program interpreter: /lib/ld-uClibc.so.0]
  LOAD           0x000000 0x00010000 0x00010000 0x585fc 0x585fc R E 0x10000
  LOAD           0x0585fc 0x000785fc 0x000785fc 0x0062d 0x0196c RW  0x10000
  DYNAMIC        0x058604 0x00078604 0x00078604 0x00100 0x00100 RW  0x4
  GNU_STACK      0x000000 0x00000000 0x00000000 0x00000 0x00000 RW  0x10

Dynamic section at offset 0x58604 contains 27 entries:
  Tag        Type                         Name/Value
 0x00000001 (NEEDED)                     Shared library: [libcrypt.so.0]
 0x00000001 (NEEDED)                     Shared library: [libm.so.0]
 0x00000001 (NEEDED)                     Shared library: [libgcc_s.so.1]
 0x00000001 (NEEDED)                     Shared library: [libc.so.0]
 0x0000000c (INIT)                       0x137d8
 0x0000000d (FINI)                       0x5d22c
 0x00000019 (INIT_ARRAY)                 0x785fc
 0x0000001b (INIT_ARRAYSZ)               4 (bytes)
 0x0000001a (FINI_ARRAY)                 0x78600
 0x0000001c (FINI_ARRAYSZ)               4 (bytes)
 0x00000004 (HASH)                       0x10108
 0x00000005 (STRTAB)                     0x11fbc
 0x00000006 (SYMTAB)                     0x10a7c
 0x0000000a (STRSZ)                      2850 (bytes)
 0x0000000b (SYMENT)                     16 (bytes)
 0x00000015 (DEBUG)                      0x0
 0x00000003 (PLTGOT)                     0x78704
 0x00000002 (PLTRELSZ)                   2536 (bytes)
 0x00000014 (PLTREL)                     REL
 0x00000017 (JMPREL)                     0x12df0
 0x00000011 (REL)                        0x12da8
 0x00000012 (RELSZ)                      72 (bytes)
 0x00000013 (RELENT)                     8 (bytes)
 0x6ffffffe (VERNEED)                    0x12d88
 0x6fffffff (VERNEEDNUM)                 1
 0x6ffffff0 (VERSYM)                     0x12ade
 0x00000000 (NULL)                       0x0

There are no relocations in this file.

Dynamic symbol information is not available for displaying symbols.

Histogram for bucket list length (total of 263 buckets):
 Length  Number     % of total  Coverage
      0  137        ( 52.1%)
      1  69         ( 26.2%)     34.0%
      2  42         ( 16.0%)     75.4%
      3  11         (  4.2%)     91.6%
      4  3          (  1.1%)     97.5%
      5  1          (  0.4%)    100.0%

No version information found in this file.
probabilmente è colpa mia che ho compilato roba con parametri speciali...

in ogni caso si dal busybox del dga è stato tolto il pacchetto telnetd...
comunque sftp a che serve o.o
Ansuel è offline   Rispondi citando il messaggio o parte di esso