Path: csiph.com!xmission!news.alt.net!not-for-mail From: owl Newsgroups: comp.os.linux.advocacy Subject: Re: done Date: Sat, 30 Apr 2016 04:04:07 +0000 (UTC) Organization: O.W.L. Lines: 75 Message-ID: References: <20160430055112.5ed9b1ea@maxa-pc> <20160430055743.150023f9@maxa-pc> NNTP-Posting-Host: boom.rooftop.invalid User-Agent: tin/2.2.1-20140504 ("Tober an Righ") (UNIX) (Linux/3.16.0-4-amd64 (x86_64)) Xref: csiph.com comp.os.linux.advocacy:352813 Melzzzzz wrote: > On Sat, 30 Apr 2016 03:55:05 +0000 (UTC) > owl wrote: > >> Melzzzzz wrote: >> > On Sat, 30 Apr 2016 03:50:02 +0000 (UTC) >> > owl wrote: >> > >> >> DFS wrote: >> >> > On 4/29/2016 6:13 PM, owl wrote: >> >> > >> >> >> Elapsed time 3 hours +/- 2 min. >> >> >> Now grep'ing. :) >> >> > >> >> > The beady-eyes narrow down while the stalking prey is hunted. >> >> > >> >> > >> >> > >> >> >> anon@lowtide:/media/anon/5331134e-f853-4f49-876b-863d26af6261/ips$ >> >> >> ls -ltrah out* -rw-r--r-- 1 anon anon 25G Apr 29 18:01 out32 >> >> >> -rw-r--r-- 1 anon anon 24G Apr 29 18:02 out64 >> >> >> -rw-r--r-- 1 anon anon 24G Apr 29 18:03 out96 >> >> >> -rw-r--r-- 1 anon anon 25G Apr 29 18:03 out128 >> >> >> -rw-r--r-- 1 anon anon 25G Apr 29 18:04 out160 >> >> >> -rw-r--r-- 1 anon anon 25G Apr 29 18:05 out192 >> >> >> -rw-r--r-- 1 anon anon 25G Apr 29 18:05 out224 >> >> >> -rw-r--r-- 1 anon anon 24G Apr 29 18:06 out255 >> >> >> anon@lowtide:/media/anon/5331134e-f853-4f49-876b-863d26af6261/ips$ >> >> >> >> >> > >> >> > >> >> > That's on the order of 398,000 per second. >> >> > >> >> > Did I do the math right? >> >> > >> >> > 256*256*256*256 = 4,294,967,296 hashes to generate >> >> > 60 secs/minute * 60 min/hour * 3 hrs = 10,800 seconds >> >> > >> >> > 4,294,967,296 / 10,800 = 397,682 >> >> > >> >> > >> >> >> >> Sounds about right. I didn't get a match on the one string >> >> I tested. Takes anywhere from 11 to 13 minutes to grep through >> >> *one* of the 8 files. I scrounged around for speed enhancement >> >> techniques, and that's about the best I could get it to do. >> >> >> >> $ LANG=C grep -m 1 -F >> >> >> >> Anyway, I may try hashing with a newline. >> >> >> > >> > Why don't you first try on known ip address? >> >> You got one? >> > > 109.72.51.248 , this is my ip address posting from eternal. > Cool. It matches with my first code. anon@lowtide:~$ echo 109.72.51.248 |md5sum fd81dcdbef0d516b4ec84ec977a7b6d0 - anon@lowtide:~$ echo -n 109.72.51.248 |md5sum c5fd5ec5996a00946001a1952cc5e09b - anon@lowtide:~$ cd code/md5 anon@lowtide:~/code/md5$ ./md5ip 109.72.51.248 109.72.51.248 109.72.51.248 c5fd5ec5996a00946001a1952cc5e09b anon@lowtide:~/code/md5$ I don't know why the other eternal hash didn't match. I'll see if grep finds yours in out128. Back in a few...