This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

web-overview of the botnet

Old posts that have not been replied to for several years.
Locked
t
tobydude
Voice
Posts: 15
Joined: Mon Jun 06, 2005 6:22 am
Location: Norway
Contact:

web-overview of the botnet

Post by tobydude »

The idea is a web-page which have graphics,describing the whole botnet.
I.E, which bots are on the different channels, which users are on
the different channels.
How nice it would have been to log on the web to check the status
of my bonet and mybe se the users online.
I have made a simple graphic illustration of what I mean.
http://www.tessa.shellcity.no/bilder/webbotnet.jpg


Some script has some of theese features. Many additional features
could be added to such a script (or module).

I have no knowledge of tcl-scripting

toby
t
tobydude
Voice
Posts: 15
Joined: Mon Jun 06, 2005 6:22 am
Location: Norway
Contact:

Post by tobydude »

hey toby.
This is a very good idea for a script!!!
I will pass this on to my scripting friends.
But I must tell you:
This is not an easy task...

somedude
t
tobydude
Voice
Posts: 15
Joined: Mon Jun 06, 2005 6:22 am
Location: Norway
Contact:

Post by tobydude »

Thank you, somedude.
I will wait patiently for your answer.
Thank you...

tobydude
User avatar
^DooM^
Owner
Posts: 772
Joined: Tue Aug 26, 2003 5:40 pm
Location: IronForge
Contact:

Post by ^DooM^ »

split personality disorder? :roll:
The lifecycle of a noob is complex. Fledgling noobs gestate inside biometric pods. Once a budding noob has matured thru gestation they climb out of their pod, sit down at a PC, ask a bunch of questions that are clearly in the FAQ, The Noob is born
t
tobydude
Voice
Posts: 15
Joined: Mon Jun 06, 2005 6:22 am
Location: Norway
Contact:

Post by tobydude »

Just to get some attention but
I guess such a script is not possible... :roll:

toby
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

it's possible, I'll give you some hints later
User avatar
awyeah
Revered One
Posts: 1580
Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:

Post by awyeah »

^DooM^ wrote:split personality disorder? :roll:
Maybe 2 people sharing 1 ID.
·­awyeah·

==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
d
domp
Voice
Posts: 13
Joined: Wed Apr 13, 2005 6:35 am

Post by domp »

i've seen that before...


Will try to find it for u again
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

this script (run on all bots) will update every 10 mins two global arrays, indexed by channel name and containing bot- and user lists:

Code: Select all

bind time - "?0 *" {set flag 1; putallbots req;#}

bind bot - req gotreq
proc gotreq {from cmd text} {
	foreach chan [channels] {
		foreach user [chanlist $chan] {
			if {[nick2hand $user $chan] != "*"} {
				putbot $from "ans $chan $user"
			}
		}
	}
}

bind bot - ans gotans
proc gotans {from cmd text} {
	if $::flag {
		if [info exists ::bbots] {unset ::bbots}
		if [info exists ::buser] {unset ::buser}
		set ::flag 0
	}
	set chan [lindex [split $text] 0]
	set user [lindex [split $text] 1]
	if {![info exists ::bbots($chan)] ||
	    [lsearch -exact $::bbots($chan) $from] == -1} {
		lappend ::bbots($chan) $from
	}
	if {![info exists ::buser($chan)] ||
	    [lsearch -exact $::buser($chan) $user] == -1} {
		lappend ::buser($chan) $user
	}
}
it's trivial to construct the web layout you need using the two arrays
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

of course, requesting bot's own chans/users also need to be included:

Code: Select all

bind time - "?0 *" {set flag 1; putallbots req;#}

bind bot - req gotreq
proc gotreq {from cmd text} {
   foreach chan [channels] {
      foreach user [chanlist $chan] {
         if {[nick2hand $user $chan] != "*"} {
            putbot $from "ans $chan $user"
         }
      }
   }
}

bind bot - ans gotans
proc gotans {from cmd text} {
   if $::flag {
      if [info exists ::bbots] {unset ::bbots}
      if [info exists ::buser] {unset ::buser}
      foreach chan [channels] {
         lappend ::bbots($chan) $::nick
         foreach user [chanlist $chan] {
            if {[nick2hand $user $chan] != "*"} {
               lappend ::buser($chan) $user
            }
         }
      }
      set ::flag 0
   }
   set chan [lindex [split $text] 0]
   set user [lindex [split $text] 1]
   if {![info exists ::bbots($chan)] ||
       [lsearch -exact $::bbots($chan) $from] == -1} {
      lappend ::bbots($chan) $from
   }
   if {![info exists ::buser($chan)] ||
       [lsearch -exact $::buser($chan) $user] == -1} {
      lappend ::buser($chan) $user
   }
} 
t
tobydude
Voice
Posts: 15
Joined: Mon Jun 06, 2005 6:22 am
Location: Norway
Contact:

Post by tobydude »

demond
Thanks for your reply.
Since I don´t know tcl, the code does not tell me much. :roll:
The idea was that the script should send data to a webpage
so that "we" were able to se on the web, a graphic of each
channel and which bots are on each channel.
Like a system chart of your botnet , on the web.
I dont know, but many other features could
probobly be added to such a script, to.

e.g.
-Info on the bot. When it was startet, host, how long it has been running ,
vertion , which shell the bots are on...e.g
-The hubs userlist and mybe the leafbots userlist. (with flags of each user)
-Users on each channel . (who is opped, vois e.g)
I guess the sky is the limit....
I em sure that such i script would be a popular script for botnet owners.

toby
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

well, unfortunately I don't do complete feature scripts anymore, I lost interest in that; but maybe someone will pick on this (which should generate a bare-bones webpage with the structure you need):

Code: Select all

proc members {f alist} {
	puts $f <p>
	set idx 0
	set more 1
	while $more {
		set more 0
		puts $f <tr>
		foreach {chan elems} $alist {
			if {$idx < [llength $elems]} {
				puts $f <td>[lindex $elems $idx]</td>
				set more 1 
			} {
				puts $f <td></td>
			}
		}
		puts $f </tr>
		incr idx
	}
}

proc genpage {f} {
	puts $f <html><head>botnet</head><body>
	puts $f <table>
	puts $f <tr>
	foreach chan [array names ::bbots] {
		puts $f <td>$chan</td> 
	}
	puts $f </tr>
	members $f [array get ::bbots]
	members $f [array get ::buser]
	puts $f </table>
	puts $f </body></html>
}
Locked