BotnetStats.info.dawg0100644000076400010010000000505507510535414015432 0ustar AdministratorNoneInformation: This script generates an HTML web page displaying the current users on the partyline, a list of connected bots, and a map of the botnet. Changes log for BotnetStats.tcl: Version 1.9 * Released to the public from the |DAWG| Tcl web site. * Fixed a compatibility issue with scan. * Code cleanups. * Removed the 'locbot' variable. * We now use lsearch -glob for timer-checking. * Fixed a compatibility issue with nick2hand in some 1.6 versions. * Changed the eggdrop version warning message slightly. * The web page is now updated every $botnetstats_setting(timer) seconds, as it should have been. * Documented the .bdel command. * Added a 'case-sensitive' warning to the error message when a bot you are trying to bdel doesn't exist. Version 1.8 * Released to the public from the |DAWG| Tcl web site. * Linked bots table is now correctly numbered. * Added total bots and average hops to the bottom of the botnet map. Version 1.7 * Released to the public from the |DAWG| Tcl web site. * Propper templates are now included. * The default template code now works correctly. * The page is now updated when a user logs in or out of the partyline or goes away/unaway. * Code cleanups. Version 1.6 * Released to the public from the |DAWG| Tcl web site. * Added proper HTML indentation. * Down-bot tracking now works independently of sharing. * Version numbers are now properly displayed. * Added a .bdel command. Version 1.5.1 * Released to the public from the |DAWG| Tcl web site. * Fixed a few possible Tcl errors. * Added a readme file to explain themes. Version 1.5 * Released to the public from the |DAWG| Tcl web site. * Added the option to hide partyline users' hosts. * Users' status prefixes are now shown on the partyline table. * Users' idle time and away messages are now shown on the partyline table. * Bots' servers are now shown on the linked bot table. * Added template support. * Minor bug fixes. Version 1.4 * Released to the public from the |DAWG| Tcl web site. * Added each bot's version to the linked bot list. * Added a HTML tag. * Added "Generated By: " to the end of the page. * Cleaned up code. Version 1.3 * Released to the public from the |DAWG| Tcl web site. * Fixed a minor typo on the web page. Version 1.2 * Released to the public from the |DAWG| Tcl web site. * Script should now be compatible with older Tcl versions. Version 1.1 * Released to the public from the |DAWG| Tcl web site. * Fixed the map. BotnetStats1.9.tcl0100644000076400010010000003731107510532366014573 0ustar AdministratorNone################################## ### BotnetStats.tcl ### ### Version 1.9 ### ### By Wcc ### ### wcc@techmonkeys.org ### ### http://www.dawgtcl.com:81/ ### ### EFnet #|DAWG|Tcl ### ################################## ############################################################################ ### Copyright 2000 - 2002 |DAWG| Scripting Group. All rights reserved. ### ############################################################################ ########################################################################## ## This script generates an HTML web page displaying the current users ## ## on the partyline, a list of connected bots, and a map of the botnet. ## ########################################################################## ############## ## COMMANDS ## ############################################# ## DCC ## .bhtml (Can be changed) ## ######### Manually updates the stats page. ## ############################################# ########################################################## ## Just load the script, edit the settings, and rehash. ## ########################################################## ################################################################ # Set the command used to manually update the stats page here. # ################################################################ set botnetstats_setting(command) "bhtml" ###################################################################### # Set the command used to remove a bot from the down bots list here. # ###################################################################### set botnetstats_setting(dcommand) "bdel" ########################################################################### # Set the flag required to manually update the stats page and remove down # # bots here. # ########################################################################### set botnetstats_setting(flag) "+t" ################################################ # Set the filename of the stats web page here. # ################################################ set botnetstats_setting(page) "../public_html/botnet.html" ########################################################################### # Set the path to the DAWG template file you would like to use. You can # # obtain templates by visiting http://dawg.oc255.net:81/ and clicking the # # templates link. # ########################################################################### set botnetstats_setting(tpl) "./scripts/BotnetStats_DAWG.tpl" ################################################# # Show users' hostmasks in the partyline table? # ################################################# set botnetstats_setting(showparty) 0 ######################################### # How often should the data be updated? # ######################################### set botnetstats_setting(timer) "60" ############################################### # Show which server each bot is connected to? # ############################################### set botnetstats_setting(showserver) 0 ############################################################ # Set the directory in which to store database files here. # ############################################################ set botnetstats_setting(db) "./scripts/" ################################### # Enable use of bold in DCC chat? # ################################### set botnetstats_setting(bold) 1 ############################################### # Prefix "BOTNETSTATS:" in DCC chat messages? # ############################################### set botnetstats_setting(BOTNETSTATS:) 1 #################### # Code begins here # #################### if {![string match 1.6.* $version]} { putlog "\002BOTNETSTATS:\002 \002WARNING:\002 This script is intended to run on eggdrop 1.6.x." } if {[info tclversion] < 8.2} { putlog "\002BOTNETSTATS:\002 \002WARNING:\002 This script is intended to run on Tcl Version 8.2 or later." } foreach {a b} [list $botnetstats_setting(command) botnetstats_man_update $botnetstats_setting(dcommand) botnetstats_downdel] { bind dcc $botnetstats_setting(flag) $a $b } foreach {a b c} [list raw 311 botnetstats_raw raw 312 botnetstats_raw away * botnetstats_do_html link * botnetstats_link disc * botnetstats_link chjn 0 botnetstats_do_html chpt 0 botnetstats_do_html] { bind $a - $b $c } set botnetstats_setting(version) "1.9" set botnetstats_notpl 0 if {![info exists botnetstats_setting(tpl)] || [catch {source $botnetstats_setting(tpl)}]} { putlog "\002BOTNETSTATS:\002 Could not open template; using default." ; set botnetstats_notpl 1 } foreach {s v} [list Page_CC #000000 Page_HC #000000 Page_LinkC #0000FF Page_TTextC #000000 Page_TextC #000000 Page_BGC #FFFFFF Page_TCC_2 #E0E0E0 Page_TCC_1 \ #C0C0C0 Page_THC_2 #8080E0 Page_THC_1 #8080C0 Page_TCS 4 Page_THS 5 Page_TitleS 6 Page_Title {Botnet Status} Page_TitleTag {Botnet Status} Page_Img {} \ Page_Linked_Bots 1 Page_Down_Bots 1 Page_Partyline 1 Page_Botnet_Map 1] { if {$botnetstats_notpl || ![info exists botnetstats_setting($s)]} { set botnetstats_setting($s) $v } } if {[lsearch -glob [utimers] "* botnetstats_getinfo *"] == -1} { utimer $botnetstats_setting(timer) botnetstats_getinfo } proc botnetstats_readarray {array file} { upvar $array ours if {[catch {open $file r} fd]} { return } set arraydata [split [read $fd] \n] close $fd if {[array exists ours]} { unset ours } foreach line $arraydata { if {[string range $line 0 2] != "%!%"} { continue } if {[scan [string range $line 3 end] "%\[^!!!\]!!!%s" name data] > 0} { if {![info exists data]} { set data "" } set ours($name) $data } } } proc botnetstats_savearray {array file} { upvar $array ours if {![array exists ours] || [catch {open $file w} fd]} { return } foreach entry [array names ours] { puts $fd "%!%$entry!!!$ours($entry)" } close $fd } if {![array exists botnetstats_master] && [file exists [set botnetstats_setting(db_master) ${botnetstats_setting(db)}botnetstatsmaster.db]]} { botnetstats_readarray botnetstats_master $botnetstats_setting(db_master) } proc botnetstats_dopre {} { if {!$::botnetstats_setting(BOTNETSTATS:)} { return "" } if {!$::botnetstats_setting(bold)} { return "BOTNETSTATS: " } return "\002BOTNETSTATS:\002 " } proc botnetstats_format_td {type line center text} { switch -- $type { "header" { return "[expr ${center}!=0?"
":""]$text[expr ${center}!=0?"
":""]
" } "cell" { return "[expr ${center}!=0?"
":""]$text[expr ${center}!=0?"
":""]
" } } } proc botnetstats_ncm {pattern string} { return [string match [string tolower $pattern] [string tolower $string]] } proc botnetstats_man_update {hand idx text} { botnetstats_do_html putdcc $idx "[botnetstats_dopre]Web page updated." } proc botnetstats_downdel {hand idx text} { global botnetstats_master if {[set text [join [lrange [split $text] 0 0]]] == ""} { putdcc $idx "[botnetstats_dopre]Usage: .$::botnetstats_setting(dcommand) " ; return } if {![info exists botnetstats_master($text)]} { putdcc $idx "[botnetstats_dopre]$text is not a known bot." ; return } unset botnetstats_master($text) botnetstats_savearray botnetstats_master $::botnetstats_setting(db_master) botnetstats_do_html putdcc $idx "[botnetstats_dopre]$text has been removed from the down-bot list." } proc botnetstats_raw {from keyword text} { switch -- $keyword { "311" { if {![regexp {\\*|$^} [set nick2hand [nick2hand [lindex [split $text] 1]]]]} { set ::botnetstats_hosts($nick2hand) [lindex [split $text] 1]![lindex [split $text] 2]@[lindex [split $text] 3] } } "312" { if {![regexp {\\*|$^} [set nick2hand [nick2hand [lindex [split $text] 1]]]]} { set ::botnetstats_servers($nick2hand) [lindex [split $text] 2] } } } } proc botnetstats_link {bot {uplink {}}} { global botnetstats_master if {$uplink != ""} { set botnetstats_master($bot) $uplink } botnetstats_savearray botnetstats_master $::botnetstats_setting(db_master) botnetstats_do_html } proc botnetstats_getinfo {} { if {$::botnetstats_setting(showserver) && $::server != ""} { foreach bot [bots] { if {[set hand2nick [hand2nick $bot]] != ""} { putserv "WHOIS $hand2nick" } } putserv "WHOIS $::botnick" } botnetstats_do_html if {[lsearch -glob [utimers] "* botnetstats_getinfo *"] == -1} { utimer $::botnetstats_setting(timer) botnetstats_getinfo } } proc botnetstats_do_html {args} { if {![info exists ::botnetstats_servers(${::botnet-nick})] || !$::botnetstats_setting(showserver)} { set server "-" } { set server $::botnetstats_servers(${::botnet-nick}) } foreach bot [botlist] { set ::botnetstats_master([lindex $bot 0]) [lindex $bot 1] } scan $::numversion %1d%2d%2d lmajorv lminorv lreleasev foreach {a b} [list ::botnetstats_master(${::botnet-nick}) ${::botnet-nick} stats [open $::botnetstats_setting(page) w]] { set $a $b } puts $stats "\n \n $::botnetstats_setting(Page_TitleTag)\n \n \n \n\n " if {$::botnetstats_setting(Page_Img) != ""} { puts $stats "
" } puts $stats "
$::botnetstats_setting(Page_Title)
\n
" if {$::botnetstats_setting(Page_Linked_Bots)} { puts $stats "
\n
Linked Bots
\n
\n \n " foreach {a b} [list 1 Number 2 Bot 1 Uplink 2 Server 1 Version] { puts $stats " [botnetstats_format_td header $a 1 $b]" } puts $stats " \n " foreach {a b} [list 1 1 2 ${::botnet-nick} 1 ${::botnet-nick} 2 $server 1 [join [list $lmajorv $lminorv $lreleasev] .]] { puts $stats " [botnetstats_format_td cell $a 1 $b]" } puts $stats " " foreach {a b} [list bnum 1 matches 0] { set $a $b } foreach b [botlist] { set bot [lindex $b 0] scan [lindex $b 2] %1d%2d%2d majorv minorv releasev if {$::botnetstats_setting(showserver) && [validuser $bot] && [info exists ::botnetstats_hosts($bot)]} { foreach h [getuser $bot HOSTS] { regsub -all -- "~" $h "\*" h if {[string match $h $::botnetstats_hosts($bot)]} { set matches 1 ; break } } } if {!$matches || ![info exists ::botnetstats_servers($bot)]} { set ::botnetstats_servers($bot) "-" } incr bnum puts $stats " " foreach {a b} [list 1 $bnum 2 $bot 1 [lindex $b 1] 2 $::botnetstats_servers($bot) 1 [join [list $majorv $minorv $releasev] .]] { puts $stats " [botnetstats_format_td cell $a 1 $b]" } puts $stats " " } puts $stats "
\n
\n
" } if {$::botnetstats_setting(Page_Down_Bots)} { puts $stats "
\n
Down Bots
\n
\n \n " foreach {a b} [list 1 Number 2 Bot 1 Uplink] { puts $stats " [botnetstats_format_td header $a 1 $b]" } puts $stats " " if {[expr [array size ::botnetstats_master] - [llength [bots]] - 1] == 0} { puts $stats " " foreach a [list 1 2 1] { puts $stats " [botnetstats_format_td cell $a 1 -]" } puts $stats " " } { set i 0 foreach bot [array names ::botnetstats_master] { if {[islinked $bot] || [string compare $bot ${::botnet-nick}] == 0} { continue } incr i puts $stats " " foreach {a b} [list 1 $i 2 $bot 1 [lindex $::botnetstats_master($bot) 0]] { puts $stats " [botnetstats_format_td cell $a 1 $b]" } puts $stats " " } } puts $stats "
\n
\n
" } if {$::botnetstats_setting(Page_Partyline)} { puts $stats "
Partyline
\n
\n \n " foreach {a b} [list 1 Number 2 User 1 Bot 2 Host 1 Idle 2 Away] { puts $stats " [botnetstats_format_td header $a 1 $b]" } puts $stats " " set bnum 0 foreach u [whom 0] { incr bnum foreach {a b} [list hand [lindex $u 0] bot [lindex $u 1] idle [duration [expr [lindex $u 4] * 60]] flag [lindex $u 3] host [expr ($::botnetstats_setting(showparty))?"[lindex $u 2]":"-"] away [expr {([lindex $u 5] != "")?"[join [lrange $u 5 end]]":"-"}]] { set $a $b } puts $stats " " foreach {a b} [list 1 $bnum 2 ${flag}$hand 1 $bot 2 $host 1 $idle 2 $away] { puts $stats " [botnetstats_format_td cell $a 1 $b]" } puts $stats " " } if {$bnum == 0} { puts $stats " " foreach a [list 1 2 1 2 1 2] { puts $stats " [botnetstats_format_td cell $a 1 -]" } puts $stats " " } puts $stats "
\n
\n
" } if {$::botnetstats_setting(Page_Botnet_Map)} { puts $stats "
Botnet Map
\n
\n \n \n [botnetstats_format_td header 1 1 Map]\n \n \n \n \n
\n
\n\n   ${::botnet-nick}   "
		botnetstats_get_uplinks
		botnetstats_mapgen "     " $stats ${::botnet-nick}
		puts $stats "
\n
Total Bots: [expr [llength [bots]] + 1]
\n
\n
\n
\n
" } puts $stats "
Last Updated: [clock format [clock seconds] -format "%D %I:%M %p"]
\n
Generated By: ${::botnet-nick}
\n \n\n" close $stats } proc botnetstats_get_uplinks {} { catch { unset ::botnetstats_uplink } foreach b [botlist] { set ::botnetstats_uplink([lindex $b 0]) [lindex $b 1] } set ::botnetstats_uplink(${::botnet-nick}) ${::botnet-nick} } proc botnetstats_mapgen {indent fd bot} { foreach bot2 [array names ::botnetstats_uplink] { if {![string match $bot $bot2] && [string match $::botnetstats_uplink($bot2) $bot]} { lappend downlinks $bot2 } } if {![info exists downlinks]} { return } foreach bot2 $downlinks { if {[string match $bot2 [lindex $downlinks end]]} { puts $fd "$indent `-$bot2 " botnetstats_mapgen "$indent " $fd $bot2 } { puts $fd "$indent |-$bot2 " botnetstats_mapgen "$indent | " $fd $bot2 } } } putlog "\002BOTNETSTATS:\002 BotnetStats.tcl Version $botnetstats_setting(version) by Wcc is loaded." BotnetStats_DAWG.tpl0100644000076400010010000000675607503505044015166 0ustar AdministratorNone################################### ## BotnetStats.tcl Template File ## ############################################## ## For a list of HTML color codes, see ## ## www.webmonkey.com/reference/color_codes/ ## ############################################## ## Table Colors: Orange/Gold/Grey ## ## Background: Black ## ## Font: Orange ## #################################### ###################################################################### # Set the path to the graphic to place at the top of the page here. # # Set to "" to disable. Remember this is not the path to the actual # # file, but the relative path to the web page. E.x: "dawglogo.gif" # # would use the file called "dawglogo.gif from the directory the web # # page is in. # ###################################################################### set botnetstats_setting(Page_Img) "dawglogo.gif" ############################################################ # Set the text that appears in the browser title bar here. # ############################################################ set botnetstats_setting(Page_TitleTag) "Botnet Status" ############################ # Set the page title here. # ############################ set botnetstats_setting(Page_Title) "Botnet Status" ###################################### # Set the page title font size here. # ###################################### set botnetstats_setting(Page_TitleS) "6" ######################################## # Set the table header font size here. # ######################################## set botnetstats_setting(Page_THS) "5" ###################################### # Set the table cell font size here. # ###################################### set botnetstats_setting(Page_TCS) "4" ##################################### # Set the table header colors here. # ##################################### set botnetstats_setting(Page_THC_1) "#FF9900" set botnetstats_setting(Page_THC_2) "#FFCC00" ################################### # Set the table cell colors here. # ################################### set botnetstats_setting(Page_TCC_1) "#c0c0c0" set botnetstats_setting(Page_TCC_2) "#e0e0e0" ################################## # Set the background color here. # ################################## set botnetstats_setting(Page_BGC) "#000000" ############################ # Set the text color here. # ############################ set botnetstats_setting(Page_TextC) "#FF9900" ################################## # Set the title text color here. # ################################## set botnetstats_setting(Page_TTextC) "#FF9900" ################################# # Set the link text color here. # ################################# set botnetstats_setting(Page_LinkC) "#FF9900" ######################################### # Set the table header font color here. # ######################################### set botnetstats_setting(Page_HC) "#000000" ####################################### # Set the table cell font color here. # ####################################### set botnetstats_setting(Page_CC) "#000000" ######################################################## # Set the items to show on the botnet stats page here. # ######################################################## set botnetstats_setting(Page_Linked_Bots) 1 set botnetstats_setting(Page_Down_Bots) 1 set botnetstats_setting(Page_Partyline) 1 set botnetstats_setting(Page_Botnet_Map) 1 ###################### ## End of template. ## ######################BotnetStats_OGGBO.tpl0100644000076400010010000000674207503505102015267 0ustar AdministratorNone################################### ## BotnetStats.tcl Template File ## ############################################## ## For a list of HTML color codes, see ## ## www.webmonkey.com/reference/color_codes/ ## ############################################## ## Table Colors: Orange/Gold/Grey ## ## Background: Black ## ## Font: Orange ## #################################### ###################################################################### # Set the path to the graphic to place at the top of the page here. # # Set to "" to disable. Remember this is not the path to the actual # # file, but the relative path to the web page. E.x: "dawglogo.gif" # # would use the file called "dawglogo.gif from the directory the web # # page is in. # ###################################################################### set botnetstats_setting(Page_Img) "" ############################################################ # Set the text that appears in the browser title bar here. # ############################################################ set botnetstats_setting(Page_TitleTag) "Botnet Status" ############################ # Set the page title here. # ############################ set botnetstats_setting(Page_Title) "Botnet Status" ###################################### # Set the page title font size here. # ###################################### set botnetstats_setting(Page_TitleS) "6" ######################################## # Set the table header font size here. # ######################################## set botnetstats_setting(Page_THS) "5" ###################################### # Set the table cell font size here. # ###################################### set botnetstats_setting(Page_TCS) "4" ##################################### # Set the table header colors here. # ##################################### set botnetstats_setting(Page_THC_1) "#FF9900" set botnetstats_setting(Page_THC_2) "#FFCC00" ################################### # Set the table cell colors here. # ################################### set botnetstats_setting(Page_TCC_1) "#c0c0c0" set botnetstats_setting(Page_TCC_2) "#e0e0e0" ################################## # Set the background color here. # ################################## set botnetstats_setting(Page_BGC) "#000000" ############################ # Set the text color here. # ############################ set botnetstats_setting(Page_TextC) "#FF9900" ################################## # Set the title text color here. # ################################## set botnetstats_setting(Page_TTextC) "#FF9900" ################################# # Set the link text color here. # ################################# set botnetstats_setting(Page_LinkC) "#FF9900" ######################################### # Set the table header font color here. # ######################################### set botnetstats_setting(Page_HC) "#000000" ####################################### # Set the table cell font color here. # ####################################### set botnetstats_setting(Page_CC) "#000000" ######################################################## # Set the items to show on the botnet stats page here. # ######################################################## set botnetstats_setting(Page_Linked_Bots) 1 set botnetstats_setting(Page_Down_Bots) 1 set botnetstats_setting(Page_Partyline) 1 set botnetstats_setting(Page_Botnet_Map) 1 ###################### ## End of template. ## ######################BotnetStats_PBGBW.tpl0100644000076400010010000000674207503505074015303 0ustar AdministratorNone################################### ## BotnetStats.tcl Template File ## ############################################## ## For a list of HTML color codes, see ## ## www.webmonkey.com/reference/color_codes/ ## ############################################## ## Table Colors: Purple/Blue/Grey ## ## Background: Black ## ## Font: White ## #################################### ###################################################################### # Set the path to the graphic to place at the top of the page here. # # Set to "" to disable. Remember this is not the path to the actual # # file, but the relative path to the web page. E.x: "dawglogo.gif" # # would use the file called "dawglogo.gif from the directory the web # # page is in. # ###################################################################### set botnetstats_setting(Page_Img) "" ############################################################ # Set the text that appears in the browser title bar here. # ############################################################ set botnetstats_setting(Page_TitleTag) "Botnet Status" ############################ # Set the page title here. # ############################ set botnetstats_setting(Page_Title) "Botnet Status" ###################################### # Set the page title font size here. # ###################################### set botnetstats_setting(Page_TitleS) "6" ######################################## # Set the table header font size here. # ######################################## set botnetstats_setting(Page_THS) "5" ###################################### # Set the table cell font size here. # ###################################### set botnetstats_setting(Page_TCS) "4" ##################################### # Set the table header colors here. # ##################################### set botnetstats_setting(Page_THC_1) "#8080c0" set botnetstats_setting(Page_THC_2) "#8080e0" ################################### # Set the table cell colors here. # ################################### set botnetstats_setting(Page_TCC_1) "#c0c0c0" set botnetstats_setting(Page_TCC_2) "#e0e0e0" ################################## # Set the background color here. # ################################## set botnetstats_setting(Page_BGC) "#000000" ############################ # Set the text color here. # ############################ set botnetstats_setting(Page_TextC) "#FFFFFF" ################################## # Set the title text color here. # ################################## set botnetstats_setting(Page_TTextC) "#FFFFFF" ################################# # Set the link text color here. # ################################# set botnetstats_setting(Page_LinkC) "#0000FF" ######################################### # Set the table header font color here. # ######################################### set botnetstats_setting(Page_HC) "#000000" ####################################### # Set the table cell font color here. # ####################################### set botnetstats_setting(Page_CC) "#000000" ######################################################## # Set the items to show on the botnet stats page here. # ######################################################## set botnetstats_setting(Page_Linked_Bots) 1 set botnetstats_setting(Page_Down_Bots) 1 set botnetstats_setting(Page_Partyline) 1 set botnetstats_setting(Page_Botnet_Map) 1 ###################### ## End of template. ## ######################BotnetStats_PBGWB.tpl0100644000076400010010000000674207503505064015302 0ustar AdministratorNone################################### ## BotnetStats.tcl Template File ## ############################################## ## For a list of HTML color codes, see ## ## www.webmonkey.com/reference/color_codes/ ## ############################################## ## Table Colors: Purple/Blue/Grey ## ## Background: White ## ## Font: Black ## #################################### ###################################################################### # Set the path to the graphic to place at the top of the page here. # # Set to "" to disable. Remember this is not the path to the actual # # file, but the relative path to the web page. E.x: "dawglogo.gif" # # would use the file called "dawglogo.gif from the directory the web # # page is in. # ###################################################################### set botnetstats_setting(Page_Img) "" ############################################################ # Set the text that appears in the browser title bar here. # ############################################################ set botnetstats_setting(Page_TitleTag) "Botnet Status" ############################ # Set the page title here. # ############################ set botnetstats_setting(Page_Title) "Botnet Status" ###################################### # Set the page title font size here. # ###################################### set botnetstats_setting(Page_TitleS) "6" ######################################## # Set the table header font size here. # ######################################## set botnetstats_setting(Page_THS) "5" ###################################### # Set the table cell font size here. # ###################################### set botnetstats_setting(Page_TCS) "4" ##################################### # Set the table header colors here. # ##################################### set botnetstats_setting(Page_THC_1) "#8080C0" set botnetstats_setting(Page_THC_2) "#8080E0" ################################### # Set the table cell colors here. # ################################### set botnetstats_setting(Page_TCC_1) "#C0C0C0" set botnetstats_setting(Page_TCC_2) "#E0E0E0" ################################## # Set the background color here. # ################################## set botnetstats_setting(Page_BGC) "#FFFFFF" ############################ # Set the text color here. # ############################ set botnetstats_setting(Page_TextC) "#000000" ################################## # Set the title text color here. # ################################## set botnetstats_setting(Page_TTextC) "#000000" ################################# # Set the link text color here. # ################################# set botnetstats_setting(Page_LinkC) "#0000FF" ######################################### # Set the table header font color here. # ######################################### set botnetstats_setting(Page_HC) "#000000" ####################################### # Set the table cell font color here. # ####################################### set botnetstats_setting(Page_CC) "#000000" ######################################################## # Set the items to show on the botnet stats page here. # ######################################################## set botnetstats_setting(Page_Linked_Bots) 1 set botnetstats_setting(Page_Down_Bots) 1 set botnetstats_setting(Page_Partyline) 1 set botnetstats_setting(Page_Botnet_Map) 1 ###################### ## End of template. ## ######################BotnetStats_Templates.doc0100644000076400010010000000143307503505000016323 0ustar AdministratorNoneThis script uses DAWG HTML template files when generating the botnet stats web page. This keeps you from having to redo all of your color settings when upgrading to a new version of the script. Three sample templates are included with the script. Other templates can be obtained by visiting http://dawg.oc255.net:81/ and clicking on the 'Templates' link. Below are descriptions of each included template. BotnetStats_PBGWB.tpl Table Colors: Purple/Blue/Grey Background: White Font: Black BotnetStats_PBGBW.tpl Table Colors: Purple/Blue/Grey Background: Black Font: White BotnetStats_OGGBO.tpl Table Colors: Orange/Gold/Grey Background: Black Font: Orange BotnetStats_DAWG.tpl This is the template I use on http://dawg.oc255.net:81/ (DAWG graphic included).dawglogo.gif0100644000076400010010000003626107507735334013670 0ustar AdministratorNoneGIF89a1m             m        e$x$$+")o&,.5Y(-k (-(,  -XCNI o X &a K +C4P ; 1+y'K*oB ! )  =(8r&8q&8n'" 6i&G38l(66e'=p-9h*4Z(-IPGxv - %S #/U  '_0 -k$R<% !F;y':u'.Y 5_'  +I!&X[Wfie       /0.LLLKKKHHH !,1mH*\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