Xigenere cypher

another old implementation of vigenere encryption combained with logical xor operator.

# Xignere:

## this script is an implementation of vignere encryption

### underlying xor logical operator  mutated into Xignere (was bored)

#### useage: Xigenere-v1.0

  <-e|-d>

 

if(@ARGV < 3)

{ &usage;  }

 

if($ARGV[2] eq "-e")

{

 $fileCont = loadFile($ARGV[0]);

 $crypt = xigenereCrypt($fileCont,$ARGV[1]);

 open(FILE,">$ARGV[0]");

 print FILE $crypt;

 print "Encryption completed, results saved to $ARGV[0]\n";

 

}

elsif($ARGV[2] eq "-d")

{

 $fileCont = loadFile($ARGV[0]);

 $decrypt [...]

Simple DNS Plus 5.0/4.1 remote Denial of Service exploit

after reading the story about Dan kaminskys DNS cache posioning attack
and watching his ridiculous youtube cornflakes commercial
i decided to trace the source of this vulnerability.
so in order to understand how kaminsky attack is any diffrent from the traditional dns cache posioning
i started digging into some RFCs/documentations and playing with the protocol
to see if i can [...]