Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > de.alt.folklore.computer > #41544

Re: ULTRIX /bin/sh und telnetd

From Diedrich Ehlerding <diedrich.ehlerding@t-online.de>
Newsgroups de.alt.folklore.computer
Subject Re: ULTRIX /bin/sh und telnetd
Date 2023-08-03 21:31 +0200
Organization kreatives Chaos auf dem Schreibtisch
Message-ID <5ubtpjx3na.ln2@diedrich.ddnssec.de> (permalink)
References (2 earlier) <u74bag$a9f$1@news.szaf.org> <kflrlvF486mU2@mid.individual.net> <u74of7$cvm$1@news.szaf.org> <u8p9a5$3mplp$1@dont-email.me> <uadg4v$25kq$1@dont-email.me>

Show all headers | View raw


Marco Scholz meinte:

> https://www.in-ulm.de/~mascheck/various/whatshell/
> 
> von Sven Maschek hinweisen.
> 
> Vielleicht ist es für den einen oder anderen hier von Interesse.

Hm.

diedrich@diedrich:~> bash ./whatshell.sh
bash 4.4.23(1)-release
diedrich@diedrich:~> sh ./whatshell.sh
bash 4.4.23(1)-release
diedrich@diedrich:~> ksh -o vi ./whatshell.sh 
ksh88 Version (..-)11/16/88e

aber

diedrich@diedrich:~> tclsh ./whatshell.sh
invalid command name "LC_ALL=C"
    while executing
"LC_ALL=C"
    (file "./whatshell.sh" line 2)

diedrich@diedrich:~>  csh ./whatshell.sh
LC_ALL=C: Befehl nicht gefunden.
export: Befehl nicht gefunden.
Zu viele ')'.
diedrich@diedrich:~> 

(nachdem ich vorher die Kommentarzeilen am anfang entfernt hatte, die 
ihrerseits zu Problemen führten),

Interessant auch das Ergebnbis beim Umngehungsversuchen, also nicht 
aus der normalen Shell herazs "csh ./whatshell.sh" aufzurufen, sondern 
vorher in eine andere Shell zu wechseln:

diedrich@diedrich:~> tclsh
% ./whatshell.sh
bash 4.4.23(1)-release
% 

diedrich@diedrich:~> exec csh
/home/diedrich% ./whatshell.sh 
bash 4.4.23(1)-release

Und nein, weder csh noch tclsh sind symlinks auf die bash:


diedrich@diedrich:~> ls -l `which csh`
lrwxrwxrwx 1 root root 9 13. Apr 2021  /usr/bin/csh -> /bin/tcsh
diedrich@diedrich:~> ls -l /bin/tcsh
-rwxr-xr-x 1 root root 420536 13. Apr 2021  /bin/tcsh
diedrich@diedrich:~> ls -l `which tclsh`
lrwxrwxrwx 1 root root 8 23. Sep 2022  /usr/bin/tclsh -> tclsh8.6
diedrich@diedrich:~> ls -l /usr/bin/tclsh8.6
-rwxr-xr-x 1 root root 6448 23. Sep 2022  /usr/bin/tclsh8.6
diedrich@diedrich:~> file /usr/bin/tclsh8.6
/usr/bin/tclsh8.6: ELF 64-bit LSB shared object, x86-64, version 1 
(SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, 
BuildID[sha1]=197a24c8a1d5e5a50495b8b60dcd87c2b2d1c5ae, for GNU/Linux 
3.2.0, stripped
diedrich@diedrich:~

-- 
 gpg-Key (DSA 1024) D36AD663E6DB91A4
 fingerprint = 2983 4D54 E00B 8483 B5B8  C7D1 D36A D663 E6DB 91A4
 HTML-Mail wird ungeleſen entſorgt.

Back to de.alt.folklore.computer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

ULTRIX /bin/sh und telnetd Dennis Grevenstein <dennis.grevenstein@gmail.com> - 2023-06-21 23:01 +0000
  Re: ULTRIX /bin/sh und telnetd poc@pocnet.net - 2023-06-23 11:21 +0000
    Re: ULTRIX /bin/sh und telnetd Dennis Grevenstein <dennis.grevenstein@gmail.com> - 2023-06-23 14:47 +0000
      Re: ULTRIX /bin/sh und telnetd poc@pocnet.net - 2023-06-23 15:22 +0000
        Re: ULTRIX /bin/sh und telnetd Dennis Grevenstein <dennis.grevenstein@gmail.com> - 2023-06-23 18:32 +0000
          Re: ULTRIX /bin/sh und telnetd Enrik Berkhan <Enrik.Berkhan@inka.de> - 2023-06-24 08:34 +0000
          Re: ULTRIX /bin/sh und telnetd Stefan Möding <Jun2023.5.kill-9@spamgourmet.com> - 2023-06-24 12:44 +0200
            Re: ULTRIX /bin/sh und telnetd Dennis Grevenstein <dennis.grevenstein@gmail.com> - 2023-06-24 11:13 +0000
              Re: ULTRIX /bin/sh und telnetd Stefan Möding <Jun2023.5.kill-9@spamgourmet.com> - 2023-06-24 14:22 +0200
                Re: ULTRIX /bin/sh und telnetd Dennis Grevenstein <dennis.grevenstein@gmail.com> - 2023-06-24 19:29 +0000
          Re: ULTRIX /bin/sh und telnetd Diedrich Ehlerding <diedrich.ehlerding@t-online.de> - 2023-06-24 11:58 +0200
            Re: ULTRIX /bin/sh und telnetd Dennis Grevenstein <dennis.grevenstein@gmail.com> - 2023-06-24 11:04 +0000
          Re: ULTRIX /bin/sh und telnetd Marco Scholz <tool@disroot.org> - 2023-07-13 16:38 +0000
            Re: ULTRIX /bin/sh und telnetd Marco Scholz <tool@disroot.org> - 2023-07-16 16:04 +0000
              Re: ULTRIX /bin/sh und telnetd Dennis Grevenstein <dennis.grevenstein@gmail.com> - 2023-07-17 07:42 +0000
            Re: ULTRIX /bin/sh und telnetd Marco Scholz <tool@disroot.org> - 2023-08-02 11:54 +0000
              Re: ULTRIX /bin/sh und telnetd Christian Corti <use@reply.to> - 2023-08-02 14:23 +0200
                Re: ULTRIX /bin/sh und telnetd Marco Scholz <tool@disroot.org> - 2023-08-02 15:51 +0000
              Re: ULTRIX /bin/sh und telnetd Dennis Grevenstein <dennis.grevenstein@gmail.com> - 2023-08-03 19:06 +0000
                Re: ULTRIX /bin/sh und telnetd Marco Scholz <tool@disroot.org> - 2023-08-07 16:18 +0000
                Re: ULTRIX /bin/sh und telnetd Dennis Grevenstein <dennis.grevenstein@gmail.com> - 2023-08-07 17:21 +0000
                Re: ULTRIX /bin/sh und telnetd Marco Scholz <tool@disroot.org> - 2023-08-08 07:39 +0000
                Re: ULTRIX /bin/sh und telnetd Dennis Grevenstein <dennis.grevenstein@gmail.com> - 2023-08-08 08:05 +0000
                Re: ULTRIX /bin/sh und telnetd poc@pocnet.net - 2023-08-08 11:39 +0000
                Re: ULTRIX /bin/sh und telnetd Dennis Grevenstein <dennis.grevenstein@gmail.com> - 2023-08-08 16:11 +0000
              Re: ULTRIX /bin/sh und telnetd Diedrich Ehlerding <diedrich.ehlerding@t-online.de> - 2023-08-03 21:31 +0200
                Re: ULTRIX /bin/sh und telnetd "Peter J. Holzer" <hjp-usenet3@hjp.at> - 2023-08-03 23:14 +0200
      Re: ULTRIX /bin/sh und telnetd Hanno Foest <hurga-news2@tigress.com> - 2023-06-23 18:02 +0200
        Re: ULTRIX /bin/sh und telnetd "Peter J. Holzer" <hjp-usenet3@hjp.at> - 2023-06-23 18:23 +0200
          Re: ULTRIX /bin/sh und telnetd Stefan Möding <Jun2023.5.kill-9@spamgourmet.com> - 2023-06-23 18:28 +0200
            Re: ULTRIX /bin/sh und telnetd "Peter J. Holzer" <hjp-usenet3@hjp.at> - 2023-06-23 18:59 +0200
              Re: ULTRIX /bin/sh und telnetd Stefan Möding <Jun2023.5.kill-9@spamgourmet.com> - 2023-06-24 12:40 +0200
                Re: ULTRIX /bin/sh und telnetd Dennis Grevenstein <dennis.grevenstein@gmail.com> - 2023-06-24 11:24 +0000
  Re: ULTRIX /bin/sh und telnetd Christian Corti <use@reply.to> - 2023-06-22 11:27 +0200
    Re: ULTRIX /bin/sh und telnetd Dennis Grevenstein <dennis.grevenstein@gmail.com> - 2023-06-26 14:20 +0000

csiph-web