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


Groups > linux.debian.user > #160705

Re: how execute a script

From shawn wilson <ag4ve.us@gmail.com>
Newsgroups linux.debian.user
Subject Re: how execute a script
Date 2015-11-17 23:20 +0100
Message-ID <qvWLv-2zc-1@gated-at.bofh.it> (permalink)
References (6 earlier) <qvUJI-1gq-19@gated-at.bofh.it> <qvUTo-1l2-21@gated-at.bofh.it> <qvVw6-1Ai-9@gated-at.bofh.it> <qvVPt-1Xk-25@gated-at.bofh.it> <qvWBQ-2uT-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Nov 17, 2015 at 4:25 PM,  <tomas@tuxteam.de> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Tue, Nov 17, 2015 at 04:13:48PM -0500, shawn wilson wrote:
>> On Tue, Nov 17, 2015 at 3:24 PM,  <tomas@tuxteam.de> wrote:
>
> [...]
>
>> > Now you lost me.
>> >
>>
>> If magic were smarter (was able to derive from syntax or had regex
>> capability in the format), it could've still told me I was looking at
>> a script (and not just a bunch of text - which is next to useless). It
>> doesn't, so arguing that magic could be used (not an argument I've
>> seen, but one I was expecting and figured I'd preempt) instead of an
>> extension is lacking.
>
> Got it. But magic *can* do many of those things. A headless shell
> script is a tough nut to crack, though: "echo" could occur as well
> in a Tcl script (via Tcl's crazy but genius "unknown" mechanism).
>

You're right - just "script" then. I'm not dissing magic - it's a good
starting point in forensics or to see what's in a bin directory, but
shouldn't be relied on (also see ftimes xmagic for a more featureful
magic implementation w/e sf comes back up).

My point is that you can't determine what you're looking at w/o being
told (an extension) or looking at it. So (my original point) you loose
data by removing/not having an extension.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: how execute a script Martin Str|mberg <ams@ludd.luth.se> - 2015-11-16 07:00 +0100
  Re: how execute a script Chris Bannister <cbannister@slingshot.co.nz> - 2015-11-16 07:30 +0100
  Re: how execute a script David Wright <deblis@lionunicorn.co.uk> - 2015-11-16 20:40 +0100
    Re: how execute a script Lisi Reisz <lisi.reisz@gmail.com> - 2015-11-16 23:40 +0100
      Re: how execute a script <tomas@tuxteam.de> - 2015-11-17 09:30 +0100
      Re: how execute a script shawn wilson <ag4ve.us@gmail.com> - 2015-11-17 15:40 +0100
        Re: how execute a script Chris Bannister <cbannister@slingshot.co.nz> - 2015-11-17 19:10 +0100
          Re: how execute a script shawn wilson <ag4ve.us@gmail.com> - 2015-11-17 19:10 +0100
            Re: how execute a script Elimar Riesebieter <riesebie@lxtec.de> - 2015-11-17 19:30 +0100
              Re: how execute a script shawn wilson <ag4ve.us@gmail.com> - 2015-11-17 20:10 +0100
            Re: how execute a script Brian <ad44@cityscape.co.uk> - 2015-11-17 20:00 +0100
              Re: how execute a script shawn wilson <ag4ve.us@gmail.com> - 2015-11-17 20:10 +0100
                Re: how execute a script Brian <ad44@cityscape.co.uk> - 2015-11-17 21:00 +0100
                Re: how execute a script shawn wilson <ag4ve.us@gmail.com> - 2015-11-17 21:00 +0100
                Re: how execute a script shawn wilson <ag4ve.us@gmail.com> - 2015-11-17 21:10 +0100
                Re: how execute a script shawn wilson <ag4ve.us@gmail.com> - 2015-11-17 21:20 +0100
                Re: how execute a script <tomas@tuxteam.de> - 2015-11-17 22:00 +0100
                Re: how execute a script shawn wilson <ag4ve.us@gmail.com> - 2015-11-17 22:20 +0100
                Re: how execute a script tomas@tuxteam.de - 2015-11-17 23:10 +0100
                Re: how execute a script shawn wilson <ag4ve.us@gmail.com> - 2015-11-17 23:20 +0100
                Re: how execute a script shawn wilson <ag4ve.us@gmail.com> - 2015-11-17 23:30 +0100
                Re: how execute a script tomas@tuxteam.de - 2015-11-18 09:10 +0100
                Re: how execute a script John Hasler <jhasler@newsguy.com> - 2015-11-17 22:40 +0100
                Re: how execute a script Brian <ad44@cityscape.co.uk> - 2015-11-17 21:30 +0100
                Re: how execute a script Luis Felipe Tabera Alonso <taberalf@unican.es> - 2015-11-17 22:10 +0100
                Re: how execute a script Brian <ad44@cityscape.co.uk> - 2015-11-18 00:10 +0100
                Re: how execute a script Don Armstrong <don@debian.org> - 2015-11-18 01:10 +0100
                Re: how execute a script <tomas@tuxteam.de> - 2015-11-18 09:30 +0100
                Re: how execute a script David Wright <deblis@lionunicorn.co.uk> - 2015-11-18 16:00 +0100
                Re: how execute a script <tomas@tuxteam.de> - 2015-11-18 16:20 +0100
                Re: how execute a script David Wright <deblis@lionunicorn.co.uk> - 2015-11-18 16:40 +0100
              Re: how execute a script David Wright <deblis@lionunicorn.co.uk> - 2015-11-17 21:20 +0100
              Re: how execute a script <tomas@tuxteam.de> - 2015-11-17 22:00 +0100
                Re: how execute a script Brian <ad44@cityscape.co.uk> - 2015-11-18 00:10 +0100
                Re: how execute a script <tomas@tuxteam.de> - 2015-11-18 09:30 +0100
                Re: how execute a script Brian <ad44@cityscape.co.uk> - 2015-11-18 13:50 +0100
          Re: how execute a script <tomas@tuxteam.de> - 2015-11-17 19:20 +0100

csiph-web