LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] [OT puzzle] Grep regex Answers

[ILUG] [OT puzzle] Grep regex Answers

Declan Moriarty junk_mail at iol.ie
Thu Jun 29 15:56:31 IST 2006


On Thu, 2006-06-29 at 13:37 +0100, Proinnsias Breathnach wrote:

> *ah* ... If we'd known the lines started with "Visited: " we could 
> have made the job much easier ...

I did say that... I think, giving these lines as examples. 

0D F0 AD 0B  0D F0 AD 0B   0D F0 AD 0B  0D F0 AD 0B   with odd text
characters, then
Visited:administrator at http://rad.msn.com/ADSAdClient31.dll?GetAd?
PG=IMSIRD?SC=HF

Anyhow it appears to be the way to do this, as some programs seem to use
IE as eye candy while setting up. That leads to some very funny url
protocols indeed.

> strings index.dat | grep ^Visited | sed -e 's@\(/.*\) .*$@\1@' | less

The sed isn't cutting off anything, sadly.  That's the thing about posix
regexes - ymmv. There was a research department motto in the last the
biggest lab I worked in

"If at first you don't succeed - Give up!" (To be said with tongue in
cheek). The 'crud' appears to be php, java or something tacked without a
space onto the url, as in 

Visited: administrator at http://t.msn.com/en-ie/default.aspx?
ver=7.0.0777&did=1&t=7MG0XqkiQB*DQ4BRIgU!wZLJWb!jhSW!lbssD52WRyoW
v2Mg3GOMewEBJYKV4UzNq4xkED3*YTN01GAhg3HNAMDPVnw7dlgL30pAog0Y1aqnlE2pXe2ZCrlWNOoyby!Iez&p=7b05ezVgIDCv6A!8v*GQBs6gRz0SnwG7CYc
NW!eGSxrl3l!
JkeKIxGkXL*LU2KIACRcdkjpOkkxDec1qTNUhiRToEZfnFvYBasLe1eVbtVnK7OSJbNKpQNqgZMNi0UkOyMM9aa7rFMZUY4lp05RJUuc6WRbZN0d
35hAmHca9UOzx0bVeFMbXBo4PVXzKCc5Pqm

Compared with what I was doing, this is neat and manageable. It stops
you having to battle with m$ software which thinks you oughtn't to be
allowed look at those files anyhow. So they have magic in the
desktop.ini file to show a middle finger at directory listing commands.
Thank you again.


-- 
        With Best Regards,

        Declan Moriarty.




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell