Культурный офтопик
 help / color / mirror / Atom feed
From: Michael Bykov <m.bykov@gmail.com>
To: "Культурный офтопик" <smoke-room@lists.altlinux.org>
Subject: Re: [room] ssdeep: нет обработки standard input
Date: Thu, 20 Aug 2009 00:20:27 +0400
Message-ID: <69c7dc8b0908191320gaa4c264i5d8e0726eb321e4b@mail.gmail.com> (raw)
In-Reply-To: <20090819194922.GX31497@altlinux.org>

19 августа 2009 г. 23:49 пользователь Alexey I. Froloff
(raorn@ot-e.biz) написал:
> On Thu, Aug 20, 2009 at 01:23:13AM +0600, Andrey Rahmatullin wrote:
>> > > как обмануть программу, которая не имеет обработки standard input? Она
>> > > хочет, чтобы я указал ей файл.
>> > Можно попробовать дать ей /dev/stdin (echo foo | ssdeep
>> > /dev/stdin), но если она по нему делает seek, то только через
>> > временный файл.
>> too slow
> 2 часа это ещё не too ;-)

да, /dev/stdin не работает. Возвращает пустой хеш.

cat aaa | ssdeep /dev/stdin
ssdeep,1.0--blocksize:hash:hash,filename
,"/dev/stdin"

Я написал автору, получил ответ от автомата, что автор до 1 сентября в отпуске.

В файл писать строчку каждый раз даже и не медленно, но как-то очень глупо (

М.

      reply	other threads:[~2009-08-19 20:20 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-19 17:03 Michael Bykov
2009-08-19 17:07 ` Eugene Ostapets
2009-08-19 17:46   ` Michael Bykov
2009-08-19 17:47     ` Michael Bykov
2009-08-19 17:20 ` Andrey Rahmatullin
2009-08-19 18:38   ` Michael Bykov
2009-08-19 19:17 ` Alexey I. Froloff
2009-08-19 19:23   ` Andrey Rahmatullin
2009-08-19 19:49     ` Alexey I. Froloff
2009-08-19 20:20       ` Michael Bykov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=69c7dc8b0908191320gaa4c264i5d8e0726eb321e4b@mail.gmail.com \
    --to=m.bykov@gmail.com \
    --cc=smoke-room@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Культурный офтопик

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/smoke-room/0 smoke-room/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 smoke-room smoke-room/ http://lore.altlinux.org/smoke-room \
		smoke-room@lists.altlinux.org smoke-room@lists.altlinux.ru smoke-room@lists.altlinux.com smoke-room@altlinux.ru smoke-room@altlinux.org smoke-room@altlinux.com
	public-inbox-index smoke-room

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.smoke-room


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git