mirror of
git://git.acid.vegas/archive.git
synced 2024-11-24 09:06:39 +00:00
Updated phalanx
This commit is contained in:
parent
9416fe22a6
commit
c1f704f228
@ -8,10 +8,10 @@ import sys
|
|||||||
import time
|
import time
|
||||||
|
|
||||||
class settings:
|
class settings:
|
||||||
admin = 'acidvegas!*@*' # change me
|
admin = 'acidvegas!~stillfree@most.dangerous.motherfuck' # Can use wildcards (Must be in nick!user@host format)
|
||||||
access = [admin,]
|
access = [admin,]
|
||||||
oper_user = 'phalanx'
|
oper_user = 'phalanx'
|
||||||
oper_pass = 'changeme'
|
oper_pass = 'simps0nsfAn420'
|
||||||
|
|
||||||
# Formatting Control Characters / Color Codes
|
# Formatting Control Characters / Color Codes
|
||||||
bold = '\x02'
|
bold = '\x02'
|
||||||
@ -148,13 +148,20 @@ class clone:
|
|||||||
else:
|
else:
|
||||||
await self.error('invalid command', 'usage: .access <+/-><host>')
|
await self.error('invalid command', 'usage: .access <+/-><host>')
|
||||||
if is_access(ident):
|
if is_access(ident):
|
||||||
if args[0] == '.create' and self.identity['nick'] == 'phalanx' and len(args) >= 6:
|
if args[0] == '.create' and self.identity['nick'] == 'phalanx' and len(args) >= 2:
|
||||||
if len(self.clones) < 500:
|
if len(self.clones) < 500:
|
||||||
chan = args[1]
|
chan = args[1]
|
||||||
nick = rndnick() if args[2] == '%r' else args[2]
|
if len(args) >= 6:
|
||||||
user = rndnick() if args[3] == '%r' else args[3]
|
nick = rndnick() if args[2] == '%r' else args[2]
|
||||||
host = rndip() if args[4] == '%r' else args[4]
|
user = rndnick() if args[3] == '%r' else args[3]
|
||||||
real = rndnick if args[5] == '%r' else ' '.join(args[5:])
|
host = rndip() if args[4] == '%r' else args[4]
|
||||||
|
real = rndnick() if args[5] == '%r' else ' '.join(args[5:])
|
||||||
|
elif len(args) == 2:
|
||||||
|
ident = random.choice(idents).split()
|
||||||
|
nick = ident[0]
|
||||||
|
user = ident[1]
|
||||||
|
host = ident[2]
|
||||||
|
real = ' '.join(ident[3:])
|
||||||
if nick != 'phalanx':
|
if nick != 'phalanx':
|
||||||
options = {'chan':chan,'nick':nick,'user':user,'host':host,'real':real}
|
options = {'chan':chan,'nick':nick,'user':user,'host':host,'real':real}
|
||||||
self.clones[random.randint(1000,9999)] = asyncio.create_task(clone(identity=options).run())
|
self.clones[random.randint(1000,9999)] = asyncio.create_task(clone(identity=options).run())
|
||||||
@ -179,4 +186,5 @@ class clone:
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
# Main
|
# Main
|
||||||
|
idents = open('idents.txt').readlines()
|
||||||
asyncio.run(clone().run())
|
asyncio.run(clone().run())
|
||||||
|
29514
bots/proxies.txt
29514
bots/proxies.txt
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user