MCPcopy Create free account
hub / github.com/Hex1629/BotnetC2 / update_title

Function update_title

BOTNETc2/cnc.py:231–237  ·  view source on GitHub ↗
(client,name)

Source from the content-addressed store, hash-verified

229
230# Updates Shell Title
231def update_title(client,name):
232 global send_attack_target
233 try:
234 send(client, f'\33]0; PUTTY SERVICE | BotC2.v2 - [ Infect {len(bots)} | Attack-ALL {send_attack_target} | Login {name} ] - - - [>_] WELCOME [>_]\a', False)
235 time.sleep(2)
236 except:
237 client.close()
238
239color_random = f'\x1b[38;5;{randint(0,255)}m'
240

Callers

nothing calls this directly

Calls 1

sendFunction · 0.70

Tested by

no test coverage detected