unixwz0r

botnetinfo.tcl by: CyberpunkZ

Jul 13th, 2015
355
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
TCL 1.59 KB | None | 0 0
  1. #####################
  2. # botnetinfo script #
  3. # by: CyberpunkZ    #
  4. #####################
  5.  
  6.  
  7. #set this to "-" if you want everyone to use the !botuptime & !sysinfo command
  8.  
  9. set userflag "-"
  10.  
  11. #set this to any word you want to type if you want to see the botnet infomation
  12.  
  13. #channel botnet uptime
  14. set trig "!botuptime"
  15. #channel botnet system information (you need sysinfo script just ask me)
  16. set trig2 "!sysinfo"
  17.  
  18. #####DONT EDIT IF YOU DONT UNDERSTAND ANY OF THE STUFF BELOW######
  19.  
  20. bind PUB $userflag $trig main_func
  21. bind PUB $userflag $trig2 main_func2
  22.  
  23. proc main_func {nick uhost hand chan arg} {show_botnetinfo $nick $uhost $hand $chan $arg}
  24.  
  25. proc show_botnetinfo {nick uhost hand chan arg} {
  26. catch {exec uptime} shelluptime
  27. #catch {exec uname -a} shellver
  28. #catch {exec inxi -c 12 -v 0} inxiv0
  29.  
  30. putserv "PRIVMSG $chan : --»\0034 \037Raspberry Pi 2 Botnet Uptime\037 \003«--"
  31. putserv "PRIVMSG $chan :"
  32. puthelp "PRIVMSG $chan : --»\0034 Botnet Uptime: [duration [expr [clock seconds] - $::uptime]]\002\003"
  33. #puthelp "PRIVMSG $chan : --»\0034 Shell Uptime:$shelluptime running on\003 \0034$shellver\003"
  34. #putserv "PRIVMSG $chan : --» $inxiv0"
  35. }
  36.  
  37. proc main_func2 {nick uhost hand chan arg} {show_sysinfo $nick $uhost $hand $chan $arg}
  38.  
  39. proc show_sysinfo {nick uhost hand chan arg} {
  40. catch {exec sysinfo} shellinfo
  41.  
  42. putserv "PRIVMSG $chan : --»\0034 \037Full Raspberry Pi 2 System Information\037 \003«--"
  43. puthelp "PRIVMSG $chan : --»\0034 System Info: $shellinfo \003"
  44. }
  45.  
  46. ############################################################
  47. putlog "Botnetinfo by: CyberpunkZ is now loaded."
Advertisement
Add Comment
Please, Sign In to add comment