1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#! /usr/bin/env python
'''Provide basic tools to help interface with Anon+'''
print('''
============================
= Anon+ Tools v0.0.0b0pre1
============================
''')
import sys
import xmlrpclib
api = xmlrpclib.ServerProxy('http://localhost:3451/')
def out(message):
'''Print a message, preface it with "[*]"'''
print(' [*] %s' % message)
if '--shutdown' in sys.argv:
out('Shutting down Anon+')
api.shutdown()
print('''
Goodbye :)
''')
|