brloop not working
I just dont seem to get brloop working. It says: Command failed -- brutessl missing ? what seems to be wrong is that it tries to execute command: brutessl - although brutessl does not have a command line option '-'. Why is the '-' there after brutessl ? <o Jüri Kaljundi e-mail: jk@digit.ee o<
o tel: +372 6308994 o> <o DigiTurg http://www.digit.ee/ o<
I just dont seem to get brloop working.
The server is being HAMMERED again .... There appears to be a failure mode whereby when busy, clients call up, say "HELO", then "QUIT" :-(( This adds to the hammering :-((
It says: Command failed -- brutessl missing ? what seems to be wrong is that it tries to execute command: brutessl -
The code expects brclient to return one line which is the comamnd line flags for brutessl, followed by the config data. As brclient is failing, brutessl is being called without the expected args :-(
although brutessl does not have a command line option '-'. Why is the '-' there after brutessl ?
The first arg of brutessl is the file from which to read the config info. "-" is a unix convention for the file "stdin". SO: go grab brclient 0.12 which has a more efficient "-L" flag. go read http://www.brute.cl.cam.ac.uk/brute/how2run.html in particular, create .brloop.rc containing tailored=true checkcmds=false BRNAME="Jyri Kaljundi" BRID="jk@digit.ee" which will stop it checking the commands, set the ID, etc ... [[ NB: Other users should change BRNAME and BRID !! ]]
On Thu, 24 Aug 1995, Piete Brooks wrote:
The first arg of brutessl is the file from which to read the config info. "-" is a unix convention for the file "stdin".
OK - I dig this, but brutessl on my Linux box is still complaining about usage...(sorry about the bandwidth but I assume other people are probably having similar problems) + eval brclient -dklLtssl|(read a;nice -20 brutessl - $a)|(read a;echo $a 1>&2; echo $a) |brclient -AlLtssl ++ brclient -dklLtssl ++ brclient -AlLtssl ++ read a ++ read a ++ nice -20 brutessl - usage: brutessl [-q] <filename> <checksum> <start segment> <no of segments> brutessl [-q] -r <filename> [<no of segments>] brutessl [-q] -t [<hours>[:<minutes>]] -Thomas
OK - I dig this, but brutessl on my Linux box is still complaining about usage...(sorry about the bandwidth but I assume other people are probably having similar problems)
OK -- I'll leave CP on the CC list then ... + eval brclient -dklLtssl|(read a;nice -20 brutessl - $a)|(read a;echo $a 1>&2; echo $a) |brclient -AlLtssl ++ brclient -dklLtssl ++ brclient -AlLtssl ++ read a ++ read a ++ nice -20 brutessl - That's the problem -- "brclient -dklLtssl" failed to return any keys, [ congestion of the server :-((( ] so brutessl was called with just the "-" which brloop put there.
On Thu, 24 Aug 1995, Piete Brooks wrote:
That's the problem -- "brclient -dklLtssl" failed to return any keys, [ congestion of the server :-((( ] so brutessl was called with just the "-" which brloop put there.
I see that can happen, but there is also: ++ brclient -dklLtssl ++ brclient -AlLtssl ++ read a ++ read a ++ nice -20 brutessl - 2977 d42f 1 usage: brutessl [-q] <filename> <checksum> <start segment> <no of segments> brutessl [-q] -r <filename> [<no of segments>] brutessl [-q] -t [<hours>[:<minutes>]] ++ echo Where apparently I did get d42f, but brutessl 1.02 choked - I am going to take the advic of the other poster and add the "--" to the command. Again this is on a Linux box. I suggest that other Linuxers check their logfile for this behaviour. -Thomas
The first arg of brutessl is the file from which to read the config info. "-" is a unix convention for the file "stdin".
OK - I dig this, but brutessl on my Linux box is still complaining about usage...(sorry about the bandwidth but I assume other people are probably having similar problems)
++ nice -20 brutessl - usage: brutessl [-q] <filename> <checksum> <start segment> <no of segments> brutessl [-q] -r <filename> [<no of segments>] brutessl [-q] -t [<hours>[:<minutes>]]
Use 'nice -20 brutessl -- -' instead. The '--' tells getopts() not to parse anything else as arguments, then the next '-' will be interpreted correctly. Tom -- Tom Gillman, Unix/AIX Systems Weenie |"For a privacy advocate to determine Wells Computer Center-Ga. State Univ. |the best way to do key escrow is like (404) 651-4503 syshtg@gsusgi2.gsu.edu |a death penalty opponent choosing I'm not allowed to have an opinion. |between gas or electricity"-D.Banisar key to UNIX: echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D4D465452snlbxq'|dc
On Thu, 24 Aug 1995, Tom Gillman wrote:
Use 'nice -20 brutessl -- -' instead. The '--' tells getopts() not to parse anything else as arguments, then the next '-' will be interpreted correctly.
I made the change, and while it still chokes when you call brutessl without keys (a feature, right?), it DOES work when you get a valid keyspace. So Linux people might want to change the command in brloop if you are getting the same problems I was: #:10: the actual command to do the work .... cmd="${cmd-$brclient -dklLt$type|(read a;nice -20 $brute$type -- - \$a)|(read a; [Huh, like, I wrote more code ;] -Thomas
Ah, found the problem. where is that "-" coming from??? [Linux] ++ nice -20 brutessl - 2977 d42f 1 usage: brutessl [-q] <filename> <checksum> <start segment> <no of segments> brutessl [-q] -r <filename> [<no of segments>] brutessl [-q] -t [<hours>[:<minutes>]] I've stopped it until I can get that fixed. brclient is way huge now...I can't see how to get rid of the "-". -Thomas
Ah, found the problem. where is that "-" coming from??? [Linux]
brloop in the shell variable "cmd". #:10: the actual command to do the work .... cmd="${cmd-$brclient -dklLt$type|(read a;nice -20 $brute$type - \$a)|(read a; echo ' '\$a 1>&2; echo \$a) |$brclient -AlLt$type}"
++ nice -20 brutessl - 2977 d42f 1 usage: brutessl [-q] <filename> <checksum> <start segment> <no of segments> brutessl [-q] -r <filename> [<no of segments>] brutessl [-q] -t [<hours>[:<minutes>]]
I've stopped it until I can get that fixed. brclient is way huge now...I can't see how to get rid of the "-".
"-" is the name of the <filename> -- it's a unix convention for "stdin". brutessl 1.0 was incompatible with bruterc4 -- that was the reason for releasing brutessl 1.01 If you are stuck with brutessl 1.0, fix cmd to be #:10: the actual command to do the work .... cmd="${cmd-$brclient -dklLt$type|(read a;nice -20 $brute$type -- - \$a)|(read a; echo ' '\$a 1>&2; echo \$a) |$brclient -AlLt$type}" i.e. prefix the "-" with "-- "
-----BEGIN PGP SIGNED MESSAGE----- Jyri Kaljundi writes:
I just dont seem to get brloop working. It says:
Command failed -- brutessl missing ?
what seems to be wrong is that it tries to execute command:
brutessl -
although brutessl does not have a command line option '-'. Why is the '-'= =20 there after brutessl ?
I get something similar: ionia:/usr/people/pjm/src/ssl> brloop +++ Command failed -- brutessl missing ? Scalar found where operator expected at (eval 12) line 3, near "*($p" (Missing operator before $p?) +++ FAILED on attempt 1 usage: brutessl [-q] <filename> <checksum> <start segment> <no of segments> brutessl [-q] -r <filename> [<no of segments>] brutessl [-q] -t [<hours>[:<minutes>]] I'll just use the Web keyspace server if I don't get the time to hack around with it. pjm -----BEGIN PGP SIGNATURE----- Version: 2.6.2 iQCVAwUBMDy2P+5Yg08fDKehAQHXvwQAtaV8M5cjrPQKQIRNk0W7u9pcMkacCTL9 74K0V21JwOlUwNkBpjJZi9RFsq0LCKh0GG2ETf9LsL9aDeNFiWZvSukYGZj4L324 J2MrcmhWbqwkoYO/Ij9+bGcKqWr9fSEvXFSMQIAGM3FghZv0jyU8T8PlovXU8hjv G64TqxKhmuw= =To2P -----END PGP SIGNATURE-----
participants (5)
-
Jyri Kaljundi -
Piete Brooks -
pjm@ionia.engr.sgi.com -
Thomas Grant Edwards -
Tom Gillman