Archive for the ‘Externally Sourced’ Category

Perl … just wow :o

Externally Sourced, Programming | Posted by attriel April 17th, 2009

Hoping this shows right …

    ''=~(        '(?{'        .('`'        |'%')        .('['        ^'-')
    .('`'        |'!')        .('`'        |',')        .'"'.        '\$'
    .'=='        .('['        ^'+')        .('`'        |'/')        .('['
    ^'+')        .'||'        .(';'        &'=')        .(';'        &'=')
    .';-'        .'-'.        '\$'        .'=;'        .('['        ^'(')
    .('['        ^'.')        .('`'        |'"')        .('!'        ^'+')
   .'_\{'      .'(\$'      .';=('.      '\$=|'      ."|".(      '`'^'.'
  ).(('`')|    '/').').'    .'\"'.+(    '{'^'[').    ('`'|'"')    .('`'|'/'
 ).('['^'/')  .('['^'/').  ('`'|',').(  '`'|('%')).  '\".\"'.(  '['^('(')).
 '\"'.('['^  '#').'!!--'  .'\$=.\"'  .('{'^'[').  ('`'|'/').(  '`'|"&").(
 '{'^"[").(  '`'|""").(  '`'|"%").(  '`'|"%").(  '['^(')')).  '\").\"'.
 ('{'^'[').(  '`'|"/").(  '`'|".").(  '{'^"[").(  '['^"/").(  '`'|"(").(
 '`'|"%").(  '{'^"[").(  '['^",").(  '`'|"!").(  '`'|",").(  '`'|(',')).
 '\"\}'.+(  '['^"+").(  '['^")").(  '`'|")").(  '`'|".").(  '['^('/')).
 '+_,\",'.(  '{'^('[')).  ('\$;!').(  '!'^"+").(  '{'^"/").(  '`'|"!").(
 '`'|"+").(  '`'|"%").(  '{'^"[").(  '`'|"/").(  '`'|".").(  '`'|"%").(
 '{'^"[").(  '`'|"$").(  '`'|"/").(  '['^",").(  '`'|('.')).  ','.(('{')^
 '[').("["^  '+').("`"|  '!').("["^  '(').("["^  '(').("{"^  '[').("`"|
 ')').("["^  '/').("{"^  '[').("`"|  '!').("["^  ')').("`"|  '/').("["^
 '.').("`"|  '.').("`"|  '$').",".(  '!'^('+')).  '\",_,\"'  .'!'.("!"^
 '+').("!"^  '+').'\"'.  ('['^',').(  '`'|"(").(  '`'|")").(  '`'|",").(
 '`'|('%')).  '++\$="})'  );$:=('.')^  '~';$~='@'|  '(';$^=')'^  '[';$/='`';

That there is some nice formatting :o 

Source: http://www.99-bottles-of-beer.net/language-perl-737.html
Bottling (and obfuscating) done by: Acme::EyeDrops

SANS NewsBites

Externally Sourced | Posted by attriel January 1st, 2009

One of the email lists i’ve been sub’d to for a few years now is the SANS NewsBites .Unfortunately, in the last year or so, i keep finding myself without the time to read it in my inbox reasonably.  As in, I purged a bunch of them this summer from the first half of the year, and I think I still have the rest in my box now.  Whee :o

On the other hand, I manage to hit my newsfeeds on Google Reader semi-regularly.  I tend to just skim the headlines on the BBC News feed, and I may not read all of my articles, but it’s nice to have them there.  Unfortunately, the SANS NewsBites RSS has the headline and then a tiny bit of the actual article.  And I like to read the SANS articles or notes from the editors and the related links a bit more frequently than I do the BBC … And I really hate having to open a new window for every article. 

So one of the things I worked on the last few days was to set up a system whereby I could convert the emails to an RSS feed.  And I have!  SANS NewsBites E-Mail RSS

It’s still a work in progress, but if anyone wants to use it, I’ll be seeding it through the weekend probably, not sure how many old newsletters I’ll bother with but the feed is set to show the entries entered in the last seven days.  And I’m still working out how to display everything well, since the <script></script> tags I obviously want to escape out to make them visible, but if i do that they become &lt; instead, but if I leave them in I’m afraid they’ll parse :o  Still working on that one …  I’m sure there are other issues with it that I’ll hammer out over time.  For now it looks like it will work ‘decently’ so I’m running with it.  The next step is to set up something to auto-parse the emails so I don’t have to log in to get them in.  

And once I have this one working , I may look at SANS Ouch! and @RISK too … but those are more freeform and self-related …

More Euler projects

Externally Sourced, Site Maintenance | Posted by attriel October 21st, 2008

So, I’m thinking of doing some more of the Project Euler stuff.  Not sure how precisely to handle them, since for the most part they’re algorithmic rather than “solve the equation” things …

But it’s a thought for getting more bits.  Because as proven by the DES example that I’ve been working on FOREVER, doing the demonstrations for cryptography by hand is slow :o

Project Euler Problem

Externally Sourced, Project Euler | Posted by attriel October 8th, 2008

So, from a post on another blog (Out of All the Possible Answers), I followed a link to Project Euler … 

And then I read it to Kiir.  The problem is to find the smallest number evenly divisble by all the numbers from 1-20.  We decided that it didn’t mean at the same time, since that’s factorial :o

And then … *sigh* I felt compelled to find the answer.  My answer and logic after the break

Read the rest of this entry »