From d6a8c3f05dae1fb3cb51a6f0aaf08e61953e287f Mon Sep 17 00:00:00 2001 From: hunz Date: Sat, 22 Mar 2003 00:44:22 +0000 Subject: [PATCH] snort --- parse.pl | 54 +++++++++++++++++++++++++++++++++++++++++++++ wlan1/wlan1-content | 2 +- 2 files changed, 55 insertions(+), 1 deletion(-) create mode 100755 parse.pl diff --git a/parse.pl b/parse.pl new file mode 100755 index 0000000..2e923a5 --- /dev/null +++ b/parse.pl @@ -0,0 +1,54 @@ +#!/usr/bin/perl + +@content=; +chomp @content; + +@slide=(); + +print "\n"; +print "\n"; + +push(@content," 23"); + +foreach(@content) { + s/\#.*//; + s/&/&/g; + s//>/; + # unterpunkt + if(/^ \d/) { + if(@slide) { + print "\n"; + pop(@slide); + print "
$topic
\n\n"; + foreach(@slide) { + if(/ \+ /) { + s/\+//; + print "$_\n"; + } + else { + print "$_\n"; + } + } + print "
\n\n"; + } + @slide=(); + #push(@slide,$_); + $topic=$_; + } + # ueberpunkt + elsif (/^\d/) { + #$topic=$_; + } + # normaler content + else { + push(@slide,$_); + } +} + +print "
\n"; \ No newline at end of file diff --git a/wlan1/wlan1-content b/wlan1/wlan1-content index 3a6aa9a..f41f39c 100644 --- a/wlan1/wlan1-content +++ b/wlan1/wlan1-content @@ -110,7 +110,7 @@ aus driver/orinoco-0.13b-hermesap-0.1a/ *.c *.h ins wireless dir von pcmcia-cs kopieren pcmcia-cs wie oben compilen + AP firmware extrahieren und laden: - im firmware dir ./hfwget.sh ausführen + im firmware dir ./hfwget.sh ausfuehren dann firmware mit hfw/hfwload ethX firmware/T108580.hfw laden + config: ssid / wepkeys / channel setzen wie oben -- 2.39.2