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


Groups > comp.os.linux.advocacy > #471231

Re: What is this BASH Code Doing?

From "F. Russell" <fr@random.info>
Newsgroups comp.os.linux.advocacy
Subject Re: What is this BASH Code Doing?
Date 2018-10-08 22:09 +0000
Organization NewsGuy - Unlimited Usenet $23.95
Message-ID <ppgki7030gn@news3.newsguy.com> (permalink)
References <6dd66e7f-85b3-45a6-bfbd-0c039ddd6a0d@googlegroups.com> <az80b8034ga.h9o34@rooftop.invalid>

Show all headers | View raw


On Mon, 08 Oct 2018 21:04:29 +0000, owl wrote:

> 
> So, dd is just jumping to the start of the 7z magic before it
> writes.  
> 
> I don't know why why the magic would be in a different
> place than the start of the file (maybe for obfuscation?).
>

It seems that the Foxit installer binary contains a sequence
of 7z compressed files.

The grep determines the positions of all those files
and then passes that info to the dd loop which then
extracts those files.

I don't have time today to try this on the actual
Foxit installer binary but maybe tomorrow I will.

Back to comp.os.linux.advocacy | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

What is this BASH Code Doing? fr314159@gmail.com - 2018-10-08 11:02 -0700
  Re: What is this BASH Code Doing? Steve Carroll <frelwizzen@gmail.com> - 2018-10-08 11:27 -0700
  Re: What is this BASH Code Doing? owl <owl@rooftop.invalid> - 2018-10-08 21:04 +0000
    Re: What is this BASH Code Doing? "F. Russell" <fr@random.info> - 2018-10-08 22:09 +0000
      Re: What is this BASH Code Doing? Steve Carroll <frelwizzen@gmail.com> - 2018-10-08 15:52 -0700
        Re: What is this BASH Code Doing? Steve Carroll <frelwizzen@gmail.com> - 2018-10-09 08:17 -0700
          Re: What is this BASH Code Doing? Steve Carroll <frelwizzen@gmail.com> - 2018-10-09 14:14 -0700
      Re: What is this BASH Code Doing? Steve Carroll <frelwizzen@gmail.com> - 2018-10-09 02:04 -0700
        Re: What is this BASH Code Doing? Steve Carroll <frelwizzen@gmail.com> - 2018-10-09 11:25 -0700
      Re: What is this BASH Code Doing? "F. Russell" <fr@random.info> - 2018-10-10 09:11 +0000
        Re: What is this BASH Code Doing? Steve Carroll <frelwizzen@gmail.com> - 2018-10-10 02:30 -0700
        Re: What is this BASH Code Doing? Melzzzzz <Melzzzzz@zzzzz.com> - 2018-10-10 18:29 +0000
          Re: What is this BASH Code Doing? fr314159@gmail.com - 2018-10-10 11:42 -0700
            Re: What is this BASH Code Doing? Steve Carroll <fretwizzer@gmail.com> - 2018-10-10 13:32 -0700
              Re: What is this BASH Code Doing? "F. Russell" <fr@random.info> - 2018-10-10 22:59 +0000
                Re: What is this BASH Code Doing? Silicon Vee <siliconvee1945@yahoo.com> - 2018-10-11 01:03 +0200
                Re: What is this BASH Code Doing? Steve Carroll <frelwizzen@gmail.com> - 2018-10-10 16:32 -0700
                Re: What is this BASH Code Doing? Steve Carroll <frelwizzen@gmail.com> - 2018-10-10 16:16 -0700
                Re: What is this BASH Code Doing? DFS <nospam@nospam.com> - 2018-10-10 20:01 -0400
                Re: What is this BASH Code Doing? Silicon Vee <siliconvee1945@yahoo.com> - 2018-10-11 02:02 +0200
                Re: What is this BASH Code Doing? DFS <nospam@nospam.com> - 2018-10-10 20:11 -0400
                Re: What is this BASH Code Doing? Steve Carroll <frelwizzen@gmail.com> - 2018-10-10 17:18 -0700
                Re: What is this BASH Code Doing? "F. Russell" <fr@random.info> - 2018-10-11 00:22 +0000
                Re: What is this BASH Code Doing? Silicon Vee <siliconvee1945@yahoo.com> - 2018-10-11 02:28 +0200
                Re: What is this BASH Code Doing? Steve Carroll <frelwizzen@gmail.com> - 2018-10-10 17:34 -0700
                Re: What is this BASH Code Doing? Steve Carroll <fretwizzer@gmail.com> - 2018-10-10 17:45 -0700
                Re: What is this BASH Code Doing? Steve Carroll <frelwizzen@gmail.com> - 2018-10-10 17:50 -0700
                Re: What is this BASH Code Doing? "F. Russell" <fr@random.info> - 2018-10-11 00:58 +0000
                Re: What is this BASH Code Doing? Steve Carroll <fretwizzer@gmail.com> - 2018-10-10 18:15 -0700
                Re: What is this BASH Code Doing? Silicon Vee <siliconvee1945@yahoo.com> - 2018-10-11 04:28 +0200
          Re: What is this BASH Code Doing? Steve Carroll <frelwizzen@gmail.com> - 2018-10-10 14:59 -0700
    Re: What is this BASH Code Doing? Steve Carroll <frelwizzen@gmail.com> - 2018-10-08 17:26 -0700
      Re: What is this BASH Code Doing? Steve Carroll <frelwizzen@gmail.com> - 2018-10-09 09:04 -0700
        Re: What is this BASH Code Doing? Steve Carroll <frelwizzen@gmail.com> - 2018-10-09 15:33 -0700
          Re: What is this BASH Code Doing? Steve Carroll <frelwizzen@gmail.com> - 2018-10-10 03:32 -0700

csiph-web