MCPcopy Create free account

hub / github.com/Cryptogenic/REBot / functions

Functions36 in github.com/Cryptogenic/REBot

↓ 18 callersFunctionaddCommand
Adds a command to the command map
commands.go:221
↓ 8 callersFunctionstribet
Returns a sub-string between two deliminators of the core string
utils.go:32
↓ 6 callersFunctionpadLeft
Pads the left of the string with 'pad' for 'length' bytes
utils.go:54
↓ 4 callersFunctiondiscordSendEmbeddedMsg
Creates an embed message to send in Discord.
utils.go:122
↓ 3 callersFunctionpadRight
Pads the right of the string with 'pad' for 'length' bytes
utils.go:69
↓ 1 callersFunctionbuildCommandMap
Build the command list
commands.go:79
↓ 1 callersFunctionbuildDictionaryMap
Build the dictionary map
dictionary.go:23
↓ 1 callersFunctioncommand
Command handler; parses the name and passes the arguments on to the correct handler
commands.go:31
↓ 1 callersMethodcontains
Checks if a []string array contains a value
utils.go:14
↓ 1 callersFunctiongetConfigPropertyAsStr
Searches and reads a property from config.ini as a string
config.go:11
↓ 1 callersFunctiongetDictionaryItem
Searches the dictionary for a given definition
dictionary.go:47
↓ 1 callersFunctiongetPageContents
Uses HTTP to get page contents of the given URL
utils.go:82
↓ 1 callersFunctionparseArchitectureCapstone
Returns the proper capstone architecture based on the user input string
commands-asm.go:312
↓ 1 callersFunctionparseArchitectureKeystone
Returns the proper keystone architecture based on the user input string
commands-asm.go:286
↓ 1 callersFunctionsearchAliases
Search for an alias
commands.go:68
FunctioncmdAssemble
Assembles the given instructions into opcodes via the given architecture
commands-asm.go:15
FunctioncmdCommands
Sends a list of commands
commands.go:234
FunctioncmdCve
Looks up a CVE
commands-cve.go:10
FunctioncmdDevMode
Enables developer mode (prints debug output, etc.)
commands-dev.go:14
FunctioncmdDie
Kills the bot.
commands-dev.go:145
FunctioncmdDisassemble
Disassembles the given opcodes into instructions via the architecture
commands-asm.go:106
FunctioncmdExploitTrick
Gives a random exploit development trick
commands-asm.go:262
FunctioncmdInfo
Looks up a given term in a dictionary
commands-cve.go:96
FunctioncmdManual
Gives a PDF link to the manual for the given architecture
commands-asm.go:208
FunctioncmdMem
Outputs detailed memory usage statistics
commands-dev.go:60
FunctioncmdMotivation
Motivation!
commands.go:255
FunctioncmdPing
Simple test command. "Ping" -> "Pong!"
commands-dev.go:40
FunctioncmdReTrick
Gives a random reverse engineering trick
commands-asm.go:238
FunctioncmdRestart
Restarts the bot.
commands-dev.go:122
FunctioncmdSay
Echos what the user gives
commands-dev.go:48
FunctioncmdTest
Runs a test feature (subject to change at any time)
commands-dev.go:32
FunctioncmdUptime
Gives the current uptime
commands-dev.go:98
FunctiondiscordSendQuickEmbeddedMsg
Creates an embed message to send in Discord, but automatically creates 1 embed field. Good for quick, one field messages like errors.
utils.go:162
FunctiondownloadPageContents
Uses HTTP to fetch page contents and write it to a file
utils.go:100
Functionmain
Main entry point
main.go:26
FunctionmessageCreate
Handler for message events received from Discord
main.go:66