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.
Old posts that have not been replied to for several years.
-
CcL
- Voice
- Posts: 11
- Joined: Fri Apr 04, 2003 11:45 am
Post
by CcL »
anyone out there have the codes to see who was the last user who logon the botnet? i would really appreciate help. thank you!
-
MC_8
- Voice
- Posts: 36
- Joined: Sat Apr 26, 2003 5:04 pm
- Location: Dallas, Texas
-
Contact:
Post
by MC_8 »
Code: Select all
bind chjn - * proc_name
proc proc_name {botname handle channel flag idx uhost} {
global array_name
set handle [string tolower $handle]
set botname [string tolower $botname]
set array_name($handle@$botname) [list [clock seconds] $uhost] ;# Whatever else you want in the list.
}
proc get_handle_of_last_logged_in {} {
global array_name
set temp ""
foreach {user value} [array get array_name] {
lappend temp [list [lindex $value 0] [lindex [split $user @] 0]]
}
set temp [lsort -dictionary -index 0 $temp]
return [lindex [lindex $temp end] 1]
}
Hope that helps.