Skip to content

Instantly share code, notes, and snippets.

@e000
Created May 30, 2012 01:41
Show Gist options
  • Save e000/2832432 to your computer and use it in GitHub Desktop.
Save e000/2832432 to your computer and use it in GitHub Desktop.
from Core.ZalgoBase.ConfigBase import ConfigBase, ConfigDict
from Protocols.UnrealProtocol import UnrealProtocol
class Config(ConfigBase):
ServerAddress = 'xxx.xxx.xxx.xxx'
UseSSL = False
ServerPort = 6667
ServerDescription = "Zalgo Descriotion"
ServerPassword = 'xxx'
ReceivePassword = 'xxx'
ServerName = 'xxx.irc'
ServerBindAddr = ('xxx.xxx.xxx.xxx', 0)
NetworkName = 'irc'
UseTokens = True
Protocol = UnrealProtocol
Channels = []
Modules = set(('AccessManager', 'BotAssign', 'ZalgoDocumentation', 'CTCPResponder',
'BotMantainer', 'TestModule', 'Meme', 'SongSearch',
'Google', 'DNSLookups', 'DNSBLLookup', 'BlankMyLife', 'Fapget',
'TextCaptcha', 'Domainr', 'TldInfo', 'Weather', 'Greets',
'UrbanDictionary', 'YoutubeParser',
'HttpdIndex', 'WolframAlpha', 'HttpdFun',
'UnicodeLetters', 'AsciiGenerator', 'CleverOmegle', 'CleverBot',
'OmegleBot', 'TMTO', 'Hashlib', 'Jeopardy', 'Hangman',
'OperCommands', 'OperLog', 'LastFM', 'Sed',
'RussianRoulette', 'Flood', 'BomberMan', 'SloganMaker',
'TopicShortener', 'SysInfo', 'MatixGen', 'TVRage'))
BaseDir = '/home/zalgo/Zalgo'
ModuleSpecificDirectives = ConfigDict({
'AccessManager': ConfigDict(
e = 10,
)
})
IPPool = [# IPS TO USE #]
UseManHole = True
ManHoleSSHUserKeys = ConfigDict({
'e': file('./keys/e.pub').read(),
})
ManHoleSSHPrivateKey = file('./keys/id_rsa').read()
ManHoleListenPort = 2222
ManHoleListenAddr = '0.0.0.0'
UseHttpd = False
HttpdListenPort = 61234
HttpdListenAddr = '127.0.0.1'
HttpdExternalUrl = 'http://example.com/'
c = Config()
c.validate()
from Core.ZalgoMain import ZalgoFactory
Factory = ZalgoFactory(c)
reactor.callWhenRunning(Factory.start)
reactor.run()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment