Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Cryptogenic/REBot
/ functions
Functions
36 in github.com/Cryptogenic/REBot
⨍
Functions
36
◇
Types & classes
6
↓ 18 callers
Function
addCommand
Adds a command to the command map
commands.go:221
↓ 8 callers
Function
stribet
Returns a sub-string between two deliminators of the core string
utils.go:32
↓ 6 callers
Function
padLeft
Pads the left of the string with 'pad' for 'length' bytes
utils.go:54
↓ 4 callers
Function
discordSendEmbeddedMsg
Creates an embed message to send in Discord.
utils.go:122
↓ 3 callers
Function
padRight
Pads the right of the string with 'pad' for 'length' bytes
utils.go:69
↓ 1 callers
Function
buildCommandMap
Build the command list
commands.go:79
↓ 1 callers
Function
buildDictionaryMap
Build the dictionary map
dictionary.go:23
↓ 1 callers
Function
command
Command handler; parses the name and passes the arguments on to the correct handler
commands.go:31
↓ 1 callers
Method
contains
Checks if a []string array contains a value
utils.go:14
↓ 1 callers
Function
getConfigPropertyAsStr
Searches and reads a property from config.ini as a string
config.go:11
↓ 1 callers
Function
getDictionaryItem
Searches the dictionary for a given definition
dictionary.go:47
↓ 1 callers
Function
getPageContents
Uses HTTP to get page contents of the given URL
utils.go:82
↓ 1 callers
Function
parseArchitectureCapstone
Returns the proper capstone architecture based on the user input string
commands-asm.go:312
↓ 1 callers
Function
parseArchitectureKeystone
Returns the proper keystone architecture based on the user input string
commands-asm.go:286
↓ 1 callers
Function
searchAliases
Search for an alias
commands.go:68
Function
cmdAssemble
Assembles the given instructions into opcodes via the given architecture
commands-asm.go:15
Function
cmdCommands
Sends a list of commands
commands.go:234
Function
cmdCve
Looks up a CVE
commands-cve.go:10
Function
cmdDevMode
Enables developer mode (prints debug output, etc.)
commands-dev.go:14
Function
cmdDie
Kills the bot.
commands-dev.go:145
Function
cmdDisassemble
Disassembles the given opcodes into instructions via the architecture
commands-asm.go:106
Function
cmdExploitTrick
Gives a random exploit development trick
commands-asm.go:262
Function
cmdInfo
Looks up a given term in a dictionary
commands-cve.go:96
Function
cmdManual
Gives a PDF link to the manual for the given architecture
commands-asm.go:208
Function
cmdMem
Outputs detailed memory usage statistics
commands-dev.go:60
Function
cmdMotivation
Motivation!
commands.go:255
Function
cmdPing
Simple test command. "Ping" -> "Pong!"
commands-dev.go:40
Function
cmdReTrick
Gives a random reverse engineering trick
commands-asm.go:238
Function
cmdRestart
Restarts the bot.
commands-dev.go:122
Function
cmdSay
Echos what the user gives
commands-dev.go:48
Function
cmdTest
Runs a test feature (subject to change at any time)
commands-dev.go:32
Function
cmdUptime
Gives the current uptime
commands-dev.go:98
Function
discordSendQuickEmbeddedMsg
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
Function
downloadPageContents
Uses HTTP to fetch page contents and write it to a file
utils.go:100
Function
main
Main entry point
main.go:26
Function
messageCreate
Handler for message events received from Discord
main.go:66