TFTP Server

Würde manchen Cisco-Phone-User freuen?

Hallo columbo1979,
...
Kontrolle, ob tftpd-Server enthalten ist:
Code:
# temp_dir/bin/busybox
BusyBox v1.23.2 (2015-12-15 09:59:22 CET) multi-call binary.
BusyBox is copyrighted by many authors between 1998-2012.
Licensed under GPLv2. See source distribution for detailed
copyright notices.

Usage: busybox [function [arguments]...]
   or: busybox --list
   or: function [arguments]...

        BusyBox is a multi-call binary that combines many common Unix
        utilities into a single executable.  Most people will create a
        link to busybox for each function they wish to use and BusyBox
        will act like whatever it was invoked as.

Currently defined functions:
        [, [[, addgroup, adduser, arp, arping, ash, awk, base64, basename, bash, bbconfig, blkid, blockdev, brctl, bunzip2, bzcat, bzip2, cat, chat, chattr, chgrp, chmod, chown, chpst,
        chroot, cksum, clear, cmp, comm, conspy, cp, cpio, crond, crontab, cryptpw, cttyhack, cut, date, dc, dd, delgroup, deluser, depmod, devmem, df, dhcprelay, diff, dirname, dmesg,
        dnsd, dnsdomainname, dos2unix, dpkg, dpkg-deb, du, dumpleases, echo, egrep, env, envdir, envuidgid, ether-wake, expand, expr, false, fatattr, fdisk, fgconsole, fgrep, find,
        findfs, flash_eraseall, flash_lock, flash_unlock, flashcp, flock, fold, free, fsck, fsync, ftpd, ftpget, ftpput, fuser, getopt, grep, groups, gunzip, gzip, halt, hd, hdparm, head,
        hexdump, hostid, hostname, httpd, id, ifconfig, ifdown, ifenslave, ifup, inetd, init, inotifyd, insmod, install, iostat, ip, ipaddr, ipcalc, ipcs, iplink, iproute, iprule,
        iptunnel, kill, killall, killall5, klogd, last, less, ln, logger, login, logname, logread, losetup, ls, lsattr, lsmod, lsof, lspci, lsusb, lzcat, lzma, makedevs, makemime, md5sum,
        microcom, mkdir, mkfifo, mknod, mkpasswd, mkswap, mktemp, modinfo, modprobe, more, mount, mountpoint, mpstat, mv, nanddump, nandwrite, nbd-client, nc, netstat, nice, nmeter,
        nohup, nslookup, ntpd, od, openvt, passwd, patch, pgrep, pidof, ping, ping6, pipe_progress, pivot_root, pkill, pmap, poweroff, printenv, printf, ps, pscan, pstree, pwd, pwdx,
        rdate, rdev, readlink, realpath, reboot, reformime, renice, reset, rev, rfkill, rm, rmdir, rmmod, route, rpm, rpm2cpio, run-parts, runsv, runsvdir, rx, sed, sendmail, seq,
        setconsole, setlogcons, setserial, setsid, setuidgid, sh, sha1sum, sha256sum, sha3sum, sha512sum, shuf, slattach, sleep, smemcap, softlimit, sort, split, start-stop-daemon, stat,
        strings, stty, stun-ip, sv, svlogd, swapoff, swapon, switch_root, sync, sysctl, syslogd, tac, tail, tar, taskset, tcpsvd, tee, telnet, telnetd, test, tftp, [COLOR=#0000FF]tftpd[/COLOR], time, timeout,
        top, touch, tr, traceroute, traceroute6, true, tty, tunctl, tune2fs, ubiattach, ubidetach, ubimkvol, ubirmvol, ubirsvol, ubiupdatevol, udhcpc, udhcpc6, udhcpd, udpsvd, umount,
        uname, unexpand, uniq, unix2dos, unlink, unlzma, unxz, unzip, uptime, users, usleep, uudecode, uuencode, vconfig, vi, watch, watchdog, wc, wget, which, who, whois, xargs, xz,
        xzcat, yes, zcat, zcip
#
...

Mir fehlt leider in der gemoddeten 06.51 -ich habe mit viel Aufwand das modfs über eine FRITZ.Box_7490.113.06.55-32922, die telnet perse onboard, hinbekommen :D-
Screen Shot 04-30-16 at 03.15 AM.JPG

tftpd?

Code:
Fritz!Box user: 
password:


BusyBox v1.22.1 (2015-06-09 10:54:06 CEST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

ermittle die aktuelle TTY
tty is "/dev/pts/0"
Console Ausgaben auf dieses Terminal umgelenkt
disable start/stop characters and flowcontrol
# temp_dir/bin/busybox
-sh: temp_dir/bin/busybox: not found
# ls
bin         dev         lib         nohup.out   sys         var
data        etc         lib32       proc        tmp         var.tar
debug       filesystem  mnt         sbin        usr         wrapper
# cd tmp
# ls
E99-custom.error                  me_igd2.ctl
E99-custom.out                    me_l2tpv3d.ctl
MediaServerDevDesc-xbox.xml       me_libgsm.ctl
MediaServerDevDesc.xml            me_logic.ctl
aha.xml                           me_multid-pcp-2821.ctl
avm-resolv.conf                   me_multid.ctl
boxnotify                         me_pcpd-pcp-2953.ctl
chrony.conf                       me_pcpd.ctl
chrony.drift                      me_remote.ctl
chrony.keys                       me_tr064srv.ctl
cloudcds.log                      me_upnp_usb.ctl
crossdomain.xml                   me_upnpd.ctl
csem                              me_upnpdevd.ctl
davfs2.conf                       me_upnpfboxdesc.ctl
ddnsdomains.txt                   me_usermand.ctl
ddnslog_1.txt                     me_voipd.ctl
ddnsstat.txt                      mediadevmap
dect_manager                      medialabels
dect_update_error.log             msrv4.log
dect_update_out.log               nohup.out
dmgr_images                       notifyd_msg
dnsd_servers                      passwd
dnsddebug.txt                     pb_event
fboxdesc.xml                      pbctrl
foncontrol                        pbmsg
fritznasdb_main.db3               pcpserver
group                             plc_sock_if
homeauto                          pppoevlanauto
hosts                             rc.user
igd2desc.xml                      resolv.conf
igddesc.xml                       runclock.out
ike.log                           samba
ikeapi.server                     shadow
inetd.conf                        tamlua
l2tpstat                          tel_ipc
l2tpv3.xml                        tr64desc.xml
load_userman_mod.sh               upnpwebsrv
me_L2TPV3.ctl                     usbdesc.xml
me_TR064.ctl                      usbdevices
me__anony2765-3454289169.ctl      usbhostup
me_aha.ctl                        users.acl
me_avm_home_external.ctl          users.map
me_avmipc_state.ctl               webdav.log
me_ctlmgr-pcp-2744.ctl            webdav.online
me_ctlmgr.ctl                     websrv_ssl_cert.pem
me_ddnsd.ctl                      wget.log
me_dectmgr.ctl                    wlan_dynamic.cfg
me_dsld-pcp-2972.ctl              wlan_roles
me_dsld.ctl                       wlancsi_async.socket
me_eth_oam.ctl                    wlancsi_listener_00000acd.socket
me_igd.ctl                        wland_support.log
# cd bin
-sh: cd: can't cd to bin
# busybox
BusyBox v1.22.1 (2015-06-09 10:54:06 CEST) multi-call binary.
BusyBox is copyrighted by many authors between 1998-2012.
Licensed under GPLv2. See source distribution for detailed
copyright notices.

Usage: busybox [function [arguments]...]
   or: busybox --list
   or: function [arguments]...

        BusyBox is a multi-call binary that combines many common Unix
        utilities into a single executable.  Most people will create a
        link to busybox for each function they wish to use and BusyBox
        will act like whatever it was invoked as.

Currently defined functions:
        [, [[, arp, arping, ash, basename, brctl, bunzip2, bzcat, bzip2, cat,
        chgrp, chmod, chown, chroot, cmp, cp, cut, date, dd, df, dirname,
        dmesg, dnsdomainname, du, echo, egrep, env, ether-wake, expr, false,
        fgconsole, fgrep, find, flock, free, fstrim, ftpget, ftpput, getopt,
        grep, groups, gunzip, gzip, halt, hostname, id, ifconfig, ifdown, ifup,
        inetd, init, insmod, iostat, ip, ipaddr, iplink, iproute, iprule,
        iptunnel, kill, killall, killall5, ln, login, logname, ls, lsmod, lsof,
        md5sum, mkdir, mkfifo, mknod, mkswap, modprobe, more, mount, mpstat,
        mv, nbd-client, netstat, nice, nohup, nslookup, passwd, pidof, ping,
        ping6, pivot_root, pmap, poweroff, printenv, printf, ps, pstree, pwd,
        pwdx, readlink, realpath, reboot, renice, reset, rm, rmdir, rmmod,
        route, sed, seq, setconsole, setserial, sh, sha3sum, sleep, smemcap,
        sort, stat, stty, swapoff, swapon, switch_root, sync, sysctl, tail,
        tar, tee, telnetd, test, tftp, time, top, touch, tr, traceroute, true,
        tty, ubiattach, ubidetach, ubimkvol, ubirmvol, ubirsvol, ubiupdatevol,
        umount, uname, uniq, unxz, unzip, uptime, vconfig, vi, wc, wget, whois,
        xargs, xz, xzcat, zcat

# tftpd [-cr] [-u USER] [DIR]
-sh: tftpd: not found
# tftpd
[COLOR=#ff0000]-sh: tftpd: not found[/COLOR]
# tftp
BusyBox v1.22.1 (2015-06-09 10:54:06 CEST) multi-call binary.

Usage: tftp [OPTIONS] HOST [PORT]

Transfer a file from/to tftp server

        -l FILE Local FILE
        -r FILE Remote FILE
        -g      Get file
        -p      Put file

#

Du verweist zwar in http://www.ip-phone-forum.de/t=283390 auf http://www.ip-phone-forum.de/showthread.php?t=283039&page=2&p=2136386#post2136386 wobei diese RE genau auf meine Frage zuvor abziehlt :D

Eine kleine Step-by-Step-Anleitung wie man das tftpd-binary einbindet unter der busybox wäre nett!

Mir als DAU unklar, ob das über die rc.costum aufrufbar ist, falls irgendwo gespeichert (NAS+Co) oder das ganze nochmals neu gebaut werden muss mit einer anderen/alternativen busybox?

Bekanntermassen ist der sehr geschätze PeterPawn mittlerweile nurnoch "kurz Angebunden" -mit dem Hinweis auf googeln/Lesen+gefälligst verstehen?-

LG+TX for a litle help

Nachtrag+Edit: Kann es sein, dass dazu ein eigens erstelltes Script notwendig?
Code:
...Die vorher erstellte Liste der ModScripts wird der Reihe nach
eingelesen und dabei wird jedes gefundende Skript dahingehend
geprüft, ob es das Flag 'world executable' (o+x) auch gesetzt
hat. Ist das der Fall, wird das betreffende Skript in diesem 
ersten Durchgang ohne weitere Nachfragen aufgerufen und erhält
damit die Möglichkeit, seine Modifikationen vorzunehmen...

Realy hard stuff, wenn ich mir per editor mal das ein oder andere standard-script anschaue :mad:
 

Anhänge

  • Screen Shot 04-30-16 at 06.06 AM.JPG
    Screen Shot 04-30-16 at 06.06 AM.JPG
    189.6 KB · Aufrufe: 17
Zuletzt bearbeitet:

Neueste Beiträge

Statistik des Forums

Themen
244,872
Beiträge
2,219,909
Mitglieder
371,594
Neuestes Mitglied
AA-Idealbau
Holen Sie sich 3CX - völlig kostenlos!
Verbinden Sie Ihr Team und Ihre Kunden Telefonie Livechat Videokonferenzen

Gehostet oder selbst-verwaltet. Für bis zu 10 Nutzer dauerhaft kostenlos. Keine Kreditkartendetails erforderlich. Ohne Risiko testen.

3CX
Für diese E-Mail-Adresse besteht bereits ein 3CX-Konto. Sie werden zum Kundenportal weitergeleitet, wo Sie sich anmelden oder Ihr Passwort zurücksetzen können, falls Sie dieses vergessen haben.