//Written by RSnake (thanks to Id for debugging my FireFox issue) - 10/10/2004
//(As Mr. T would say, "I pity the foo who steals custom JavaScript")
function secstuffsfunct() {
  var aa = document.getElementById("secstuffslinks");
  aa.innerHTML = '<UL>' +
'<LI><A HREF="/weird/">Weird lab<\/A> people sometimes ask me what I\'m working on, well here are a few things that I haven\'t invested any time in at all, but find odd.  Check them out at your own peril.' +
'<LI><A HREF="webbug.html">Another interesting way to include a webbug in .doc files<\/A>' +
'<LI><A HREF="popup.html">The most annoying popup window ever created<\/A> - I personally apologize for having thought of this.  :(' +
'<LI><A HREF="imagecrash.html">RSnake\'s Windows image crash <\/A> - Written to crash Windows boxes using up all the memory on video cards and putting them into an infinite loop (this may crash your computer if you have an older video card).  <A HREF="http://dunck.us/code/greasemonkey/MaxImageSize.user.js">This is the GreaseMonkey script<\/A> to prevent it in Firefox.' +
'<LI><A HREF="detect.html">RSnake\'s MSIE 6.0 SP1 OS and application tester <\/A> - only works for MSIE 6.0 SP1 on Microsoft' +
'<LI><A HREF="cutandpaste.html">RSnake\'s clipboard stealing program<\/A> - only works for MSIE on Microsoft' +
'<LI><A HREF="xss.html">XSS cheatsheet<\/A> - Esp: for filter evasion' +
'<LI><A HREF="security.html">Virus trends<\/A> - a collection of free trend information' +
'<LI><A HREF="log.cgi">Environmental variables list<\/A> - works with get and post methods too, but doesn\'t leak server information (sorry)' +
//'<LI><A HREF="hosts">Anti-banner ad hosts file<\/A> just replace your Windows hosts file with this one' +
'<\/UL>';
  var ab = document.getElementById("secstuffsplus");
  ab.innerHTML = '<A HREF="javascript:secstuffscollfunct();">-<\/A>';
}
function secstuffscollfunct() {
  var aa = document.getElementById("secstuffsplus");
  aa.innerHTML = '<A HREF="javascript:secstuffsfunct();">+<\/A>';
  var ab = document.getElementById("secstuffslinks");
  ab.innerHTML = '';
}
function buildblockfunct() {
  var ba = document.getElementById("buildblocklinks");
  ba.innerHTML = '<UL>' +
'<LI><A HREF="http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html">PuTTy<\/A> - Free SSH client' +
'<LI><A HREF="http://www.trillian.cc">Trillian Pro<\/A> - multiple instant messangers built into one and supports encryption' +
'<LI><A HREF="http://www.cygwin.com">Cygwin<\/A> - Linux emulator for Windows' +
'<LI><A HREF="http://www.apache.org">Apache<\/A> - The world\'s best webserver' +
'<LI><A HREF="http://fedora.redhat.com">Fedora<\/A> - everyone needs a throw away Linux boxen' +
'<LI><A HREF="http://www.freebsd.org">FreeBSD<\/A> - ports directories 0wn' +
'<LI><A HREF="http://www.vmware.com">VM Ware<\/A> - virtual machine' +
'<LI><A HREF="http://winscp.sourceforge.net/eng/">WinSCP<\/A> - Windows SCP for the faint of heart' +
'<\/UL>';
  var bb = document.getElementById("buildblockplus");
  bb.innerHTML = '<A HREF="javascript:buildblockcollfunct();">-<\/A>';
}
function buildblockcollfunct() {
  var ba = document.getElementById("buildblocklinks");
  ba.innerHTML = '';
  var bb = document.getElementById("buildblockplus");
  bb.innerHTML = '<A HREF="javascript:buildblockfunct();">+<\/A>';
}
function secaudfunct() {
  var ca = document.getElementById("secaudlinks");
  ca.innerHTML = '<UL>' +
'<LI><A HREF="http://naughty.monkey.org/~dugsong/dsniff/">DSniff<\/A> - great sniffer for revealing passwords' +
'<LI><A HREF="http://winfingerprint.sourceforge.net/">Winfingerprint<\/A> - windows enumeration scanner (Written by my buddy Vacuum)' +
'<LI><A HREF="http://www.insecure.org/nmap/">nmap<\/A> - the somewhat mis-named port mapper' +
'<LI><A HREF="http://ettercap.sourceforge.net/">ettercap<\/A> - amazing sniffer and it\'s just MADE for MITM attacks' +
'<LI><A HREF="http://www.snort.org/">snort<\/A> - freeware IDS (signature based is dead, but hey, it\'s free, right?)' +
'<LI><A HREF="http://sourceforge.net/projects/airpwn">airpwn<\/A> - 802.11 packet injector' +
'<LI><A HREF="http://www.netstumbler.com/downloads/">NetStumbler<\/A> - 802.11 network wardriving utility' +
'<LI><A HREF="http://airsnort.shmoo.com/">AirSnort<\/A> - 802.11b wep key revealing utility (not be confused with snort)' +
'<LI><A HREF="http://www.modsecurity.org/">mod_security<\/A> - Apache security module (even though I\'ve found some problems in it, it\'s still awesome)' +
'<LI><A HREF="http://www.portswigger.net/proxy/">burp proxy<\/A> - open source proxy for modifying headers outbound AND inbound (this is the best one I have seen)' +
'<LI><A HREF="http://paulenglish.com/ivr/">IVR Cheat Sheet<\/A> - How to get past the annoying voice recognition software' +
'<\/UL>';
  var cb = document.getElementById("secaudplus");
  cb.innerHTML = '<A HREF="javascript:secaudcollfunct();">-<\/A>';
}
function secaudcollfunct() {
  var ca = document.getElementById("secaudlinks");
  ca.innerHTML = '';
  var cb = document.getElementById("secaudplus");
  cb.innerHTML = '<A HREF="javascript:secaudfunct();">+<\/A>';
}
function exsecfunct() {
  var da = document.getElementById("exseclinks");
  da.innerHTML = '<UL>' +
'<LI><A HREF="http://www.securityfocus.com/">Security Focus<\/A> - home of bugtraq, vuln dev, webappsec, etc...' +
'<LI><A HREF="http://www.symantec.com/avcenter/hoax.html">Virus hoaxes<\/A> - life would be much easier if people weren\'t so gullible' +
'<LI><A HREF="http://www.w3.org/Security/Faq/">W3C Security FAQ<\/A>' +
'<LI><A HREF="http://www.packetstormsecurity.org/">Packet Storm<\/A> - Tattooman\'s old site' +
'<LI><A HREF="http://www.webfringe.com/">WebFringe<\/A> - once upon a time I started this site - oh how times change.' +
'<LI><A HREF="http://www.securethe.net/">SecureThe.net<\/A> - Lothos\' security site.' +
'<\/UL>';
  var db = document.getElementById("exsecplus");
  db.innerHTML = '<A HREF="javascript:exseccollfunct();">-<\/A>';
}
function exseccollfunct() {
  var da = document.getElementById("exseclinks");
  da.innerHTML = '';
  var db = document.getElementById("exsecplus");
  db.innerHTML = '<A HREF="javascript:exsecfunct();">+<\/A>';
}
function recentpapersfunct() {
  var ea = document.getElementById("recentpaperslinks");
  ea.innerHTML = '<UL>' +
'<LI><A HREF="firefox_improvements.html">RSnake\'s guide to improving Firefox<\/A> tips and tricks for the up and coming browser' +
'<LI><A HREF="search.html">When it comes to search engines, it\'s all about LUMP<\/A> - A list of items to remember when trying to gain link popularity in search engines' +
'<LI><A HREF="acutrust/">AcuTrust Entropy Attacks<\/A> - AcuTrust anti-phishing is vulnerable to statistical analysis' +
'<LI><A HREF="pgp.html">PGP Man in the Middle Attack<\/A> - yes, PGP is vulnerable... sometimes.' +
'<LI><A HREF="http://www.securityfocus.com/infocus/1368">HTAccess Hardening in Apache Environments Parts 1<\/A> <A HREF="http://www.securityfocus.com/infocus/1369">2<\/A> and <A HREF="http://www.securityfocus.com/infocus/1370">3<\/A> - military hardening for htaccess, groovy.' +
'<LI><A HREF="http://www.securityfocus.com/guest/7000">Realizing Electronic Notaries<\/A>' +
'<LI><A HREF="trillianremote.html">Accessing Trillian Pro Remotely and Through an Encrypted Tunnel<\/A>' +
'<\/UL>';
  var eb = document.getElementById("recentpapersplus");
  eb.innerHTML = '<A HREF="javascript:recentpaperscollfunct();">-<\/A>';
}
function recentpaperscollfunct() {
  var ea = document.getElementById("recentpaperslinks");
  ea.innerHTML = '';
  var eb = document.getElementById("recentpapersplus");
  eb.innerHTML = '<A HREF="javascript:recentpapersfunct();">+<\/A>';
}
function forshamefunct() {
  var fa = document.getElementById("forshamelinks");
  fa.innerHTML = '<UL>' +
'<LI><A HREF="wallofshame.html">RSnake\'s wall of shame<\/A>' +
'<LI><A HREF="dsl.html">RSnake\'s DSL rant page<\/A>' +
'<LI><A HREF="cut.dat">RSnake\'s log of people who went to the cutandpaste demo seen above<\/A>' +
'<\/UL>';
  var fb = document.getElementById("forshameplus");
  fb.innerHTML = '<A HREF="javascript:forshamecollfunct();">-<\/A>';
}
function forshamecollfunct() {
  var fa = document.getElementById("forshamelinks");
  fa.innerHTML = '';
  var fb = document.getElementById("forshameplus");
  fb.innerHTML = '<A HREF="javascript:forshamefunct();">+<\/A>';
}
function picsfunct() {
  var ga = document.getElementById("picslinks");
  ga.innerHTML = '<UL>' +
'<LI><A HREF="defcon9/">DefCon 9<\/A>' +
'<LI><A HREF="defcon10/">DefCon 10<\/A>' +
'<LI><A HREF="defcon13/">DefCon 13<\/A>' +
'<\/UL>';
  var gb = document.getElementById("picsplus");
  gb.innerHTML = '<A HREF="javascript:picscollfunct();">-<\/A>';
}
function picscollfunct() {
  var ga = document.getElementById("picslinks");
  ga.innerHTML = '';
  var gb = document.getElementById("picsplus");
  gb.innerHTML = '<A HREF="javascript:picsfunct();">+<\/A>';
}
function emailfunct() {
  var ga = document.getElementById("emaillinks");
  ga.innerHTML = '<UL>' +
'<LI><A HREF="RSnake.asc">2048/1024 DH/DSS AES-256 - 0x07476BA3<\/A>' +
'<\/UL>';
  var gb = document.getElementById("emailplus");
  gb.innerHTML = '<A HREF="javascript:emailcollfunct();">-<\/A>';
}
function emailcollfunct() {
  var ga = document.getElementById("emaillinks");
  ga.innerHTML = '';
  var gb = document.getElementById("emailplus");
  gb.innerHTML = '<A HREF="javascript:emailfunct();">+<\/A>';
}

