-
Notifications
You must be signed in to change notification settings - Fork 53
/
help_info.py
110 lines (83 loc) · 3.58 KB
/
help_info.py
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
ctftime_help = '''
`>ctftime upcoming [1-5]`
return info on a number of upcoming ctfs from ctftime.org
`>ctftime current`
return info on the currently running ctfs on ctftime.org
`>ctftime [countdown/timeleft]`
return specific times for the time until a ctf begins, or until a currently running ctf ends.
`>ctftime top [year]`
display the leaderboards from ctftime from a certain year.
'''
ctf_help = '''
`>ctf create "CTF NAME"`
create a text channel and role in the CTF category for a ctf (must have permissions to manage channels)*
`>ctf challenge [add/working/solved/remove] "challenge name"`
add a ctf challenge to a list of challenges in the ctf, then mark it as solved or being worked on. Shorthand: challenge -> chal/chall, add -> a, working -> w, solved -> s, remove -> r
`>ctf challenge list`
get a list of the challenges in the ctf, and their statuses.
`>ctf challenge pull [https://ctfd.url]`
will add all of the challenges on the provided CTFd CTF and add them to your challenge list, including solve state.
`>ctf setcreds [ctfd username] [password]`
pin the message of ctf credentials, can be fetched by the bot later in order to use >ctf challenge pull.
`>ctf creds`
gets the credentials from the pinned message.
`>ctf [join/leave]`
give the user the role of the ctf channel they are in.
`>ctf archive`
move the ctf channel to the archive category.
`>ctf delete`
delete the ctf role, and entry from the database for the ctf (must have permissions to manage channels)*
'''
config_help = '''
`>config ctf_category "CTF CATEGORY"`
specify the category to be used for CTF channels, defaults to "CTF".
`>config archive_category "ARCHIVE CATEGORY"`
specify the category to be used for archived CTF channels, defaults to "Archive".
'''
utility_help = '''
`>magicb [filetype]`
return the magicbytes/file header of a supplied filetype.
`>rot "message"`
return all 25 different possible combinations for the popular caesar cipher - use quotes for messages more than 1 word
`>b64 [encode/decode] "message"`
encode or decode in base64 - if message has spaces use quotations
`>b32 [encode/decode] "message"`
encode or decode in base32 - if message has spaces use quotations
`>binary [encode/decode] "message"`
encode or decode in binary - if message has spaces use quotations
`>hex [encode/decode] "message"`
encode or decode in hex - if message has spaces use quotations
`>url [encode/decode] "message"`
encode or decode based on url encoding - if message has spaces use quotations
`>reverse "message"`
reverse the supplied string - if message has spaces use quotations
`>counteach "message"`
count the occurences of each character in the supplied message - if message has spaces use quotations
`>characters "message"`
count the amount of characters in your supplied message
`>wordcount "phrase"`
count the amount of words in your supplied message
`>atbash "message"`
encode or decode in the atbash cipher - if message has spaces use quotations (encode/decode do the same thing)
`>github [user]`
get a direct link to a github profile page with your supplied user
`>twitter [user]`
get a direct link to a twitter profile page with your supplied user
`>cointoss`
get a 50/50 cointoss to make all your life's decisions
`>amicool`
for the truth.
'''
help_page = '''
`>help ctftime`
info for all ctftime commands
`>help ctf`
info for all ctf commands
`>help config`
bot configuration info
`>help utility`
everything else! (basically misc)
`>report/request "an issue or feature"`
report an issue, or request a feature for NullCTF, if it is helpful your name will be added to the 'cool names' list!
'''
src = "https://github.com/NullPxl/NullCTF"