Re: bash oom problem

2009-10-06 Thread Patrick O'Callaghan
On Tue, 2009-10-06 at 19:17 +0100, psmith wrote: > i'm doing some pen testing of my brother's companies network he wants > me > to see if it's possible to get in so I'd be using the output as a > word > list, and yes unfortunately i'll need all of it for comparison i'm > not > sure if the progra

Re: bash oom problem

2009-10-06 Thread Mikkel
Mikkel wrote: > psmith wrote: >> for a in {A..Z}; \ >> do for b in {A..Z}; \ >> do for c in {A..Z}; \ >> do for d in {A..Z}; \ >> do for e in {A..Z}; \ >> do for f in {A..Z}; \ >> do for g in {A..Z}; \ >> do for h in {A..Z}; \ >> do echo $a$b$c$d$e$f$g$h; \ >> done;done;done;done;done;done;done;don

Re: bash oom problem

2009-10-06 Thread Steve Searle
Around 07:17pm on Tuesday, October 06, 2009 (UK time), psmith scrawled: > i'm doing some pen testing of my brother's companies network he wants me > to see if it's possible to get in so I'd be using the output as a word > list, and yes unfortunately i'll need all of it for comparison i'm not >

Re: bash oom problem

2009-10-06 Thread Mikkel
psmith wrote: > > for a in {A..Z}; \ > do for b in {A..Z}; \ > do for c in {A..Z}; \ > do for d in {A..Z}; \ > do for e in {A..Z}; \ > do for f in {A..Z}; \ > do for g in {A..Z}; \ > do for h in {A..Z}; \ > do echo $a$b$c$d$e$f$g$h; \ > done;done;done;done;done;done;done;done; > wl1 > > now i've

Re: bash oom problem

2009-10-06 Thread psmith
On 04/10/09 15:28, Mikkel wrote: Patrick O'Callaghan wrote: On Sun, 2009-10-04 at 13:54 +0100, psmith wrote: do you have any suggestions what/where i should be looking to get my required output? As Sam says, your initial attempt is trying to produce all 1.5TB at once, which i

Re: bash oom problem

2009-10-06 Thread psmith
On 04/10/09 14:03, Patrick O'Callaghan wrote: On Sun, 2009-10-04 at 13:54 +0100, psmith wrote: On 04/10/09 11:17, Sharpe, Sam J wrote: 2009/10/4 psmith: hi list, whilst trying to run this bash command for w in {A..Z}{A..Z}{A..Z}{A..Z}{A..Z}{A..Z}{A..Z}{A..Z} ;do echo $w;don

Re: bash oom problem

2009-10-04 Thread Tony Nelson
On 09-10-04 06:17:20, Sharpe, Sam J wrote: > 2009/10/4 psmith : > > hi list, whilst trying to run this bash command > > > > for w in {A..Z}{A..Z}{A..Z}{A..Z}{A..Z}{A..Z}{A..Z}{A..Z} ;do echo > $w;done > > > wl1 > > Consider that for a second... > > You are trying to generate a list of all possibl

Re: bash oom problem

2009-10-04 Thread Mikkel
jack craig wrote: > you might consider piping your echo $w | xargs... > When writing to a file, or just printing to the terminal, piping to xargs does not help anything. Mikkel -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting a bad thing? sign

Re: bash oom problem

2009-10-04 Thread Patrick O'Callaghan
On Sun, 2009-10-04 at 13:21 -0700, jack craig wrote: > you might consider piping your echo $w | xargs... [Please don't top-post. See the Guidelines]. How would that help? The problem isn't that an argument stack is overflowing but that the Shell itself is running out of memory. poc -- fedora-l

Re: bash oom problem

2009-10-04 Thread jack craig
you might consider piping your echo $w | xargs... On 10/04/2009 02:42 AM, psmith wrote: hi list, whilst trying to run this bash command for w in {A..Z}{A..Z}{A..Z}{A..Z}{A..Z}{A..Z}{A..Z}{A..Z} ;do echo $w;done > wl1 on my aspire one (which is running rawhide) it kept crashing my system dow

Re: bash oom problem

2009-10-04 Thread Mikkel
Patrick O'Callaghan wrote: > On Sun, 2009-10-04 at 13:54 +0100, psmith wrote: >> do you have any suggestions what/where i should be looking to get my >> required output? > > As Sam says, your initial attempt is trying to produce all 1.5TB at > once, which is why it blows up, but that's going to h

Re: bash oom problem

2009-10-04 Thread Patrick O'Callaghan
On Sun, 2009-10-04 at 13:54 +0100, psmith wrote: > On 04/10/09 11:17, Sharpe, Sam J wrote: > > 2009/10/4 psmith: > > > >> hi list, whilst trying to run this bash command > >> > >> for w in {A..Z}{A..Z}{A..Z}{A..Z}{A..Z}{A..Z}{A..Z}{A..Z} ;do echo $w;done> > >> wl1 > >> > > Consider that f

Re: bash oom problem

2009-10-04 Thread psmith
On 04/10/09 11:17, Sharpe, Sam J wrote: 2009/10/4 psmith: hi list, whilst trying to run this bash command for w in {A..Z}{A..Z}{A..Z}{A..Z}{A..Z}{A..Z}{A..Z}{A..Z} ;do echo $w;done> wl1 Consider that for a second... You are trying to generate a list of all possible combinations of a

Re: bash oom problem

2009-10-04 Thread Sharpe, Sam J
2009/10/4 psmith : > hi list, whilst trying to run this bash command > > for w in {A..Z}{A..Z}{A..Z}{A..Z}{A..Z}{A..Z}{A..Z}{A..Z} ;do echo $w;done > > wl1 Consider that for a second... You are trying to generate a list of all possible combinations of an 8 character word composed of only uppercas

bash oom problem

2009-10-04 Thread psmith
hi list, whilst trying to run this bash command for w in {A..Z}{A..Z}{A..Z}{A..Z}{A..Z}{A..Z}{A..Z}{A..Z} ;do echo $w;done > wl1 on my aspire one (which is running rawhide) it kept crashing my system down with no reasons shown in any of the logs, so i tried it on my desktop machine which is