def __init__(self, *args, **kwargs):
     module_template.__init__(self, *args, **kwargs)
     self.version = 1
     self.author = ['Spencer McIntyre <*****@*****.**>']
     self.description = 'Change the Meter\'s Operating Mode'
     self.detailed_description = 'Change the operating mode of the meter. Accepted values for MODE are METERING, TEST, METERSHOP, and FACTORY.'
     self.options.addString('MODE', 'the mode to set the meter to', True)
 def __init__(self, *args, **kwargs):
     module_template.__init__(self, *args, **kwargs)
     self.version = 1
     self.author = ['Spencer McIntyre <*****@*****.**>']
     self.description = 'Set The Meter\'s I.D.'
     self.detailed_description = 'This module will over write the Smart Meter\'s device ID with the new value specified in METERID.'
     self.options.addString('METERID', 'value to set the meter id to', True)
	def __init__(self, *args, **kwargs):
		module_template.__init__(self, *args, **kwargs)
		self.version = 1
		self.author = [ 'Spencer McIntyre <*****@*****.**>' ]
		self.description = 'Change the Meter\'s Operating Mode'
		self.detailed_description = 'Change the operating mode of the meter. Accepted values for MODE are METERING, TEST, METERSHOP, and FACTORY.'
		self.options.addString('MODE', 'the mode to set the meter to', True)
	def __init__(self, *args, **kwargs):
		module_template.__init__(self, *args, **kwargs)
		self.version = 1
		self.author = [ 'Spencer McIntyre <*****@*****.**>' ]
		self.description = 'Read Data From A C12.19 Table'
		self.detailed_description = 'This module allows individual tables to be read from the smart meter.'
		self.options.addInteger('TABLEID', 'table to read from', True)
 def __init__(self, *args, **kwargs):
     module_template.__init__(self, *args, **kwargs)
     self.version = 1
     self.author = ['Spencer McIntyre <*****@*****.**>']
     self.description = 'Read Data From A C12.19 Table'
     self.detailed_description = 'This module allows individual tables to be read from the smart meter.'
     self.options.addInteger('TABLEID', 'table to read from', True)
	def __init__(self, *args, **kwargs):
		module_template.__init__(self, *args, **kwargs)
		self.version = 2
		self.author = [ 'Spencer McIntyre <*****@*****.**>' ]
		self.description = 'Enumerate Readable C12.19 Tables From The Device'
		self.detailed_description = 'This module will enumerate the readable tables on the smart meter by attempting to transfer each one.'
		self.options.addInteger('LOWER', 'table id to start reading from', default = 0)
		self.options.addInteger('UPPER', 'table id to stop reading from', default = 256)
	def __init__(self, *args, **kwargs):
		module_template.__init__(self, *args, **kwargs)
		self.version = 2
		self.author = [ 'Spencer McIntyre <*****@*****.**>' ]
		self.description = 'Dump Readable C12.19 Tables From The Device To A CSV File'
		self.detailed_description = 'This module will enumerate the readable tables on the smart meter and write them out to a CSV formated file for analysis. The format is table id, table name, table data length, table data.  The table data is represented in hex.'
		self.options.addInteger('LOWER', 'table id to start reading from', default = 0)
		self.options.addInteger('UPPER', 'table id to stop reading from', default = 256)
		self.options.addString('FILE', 'file to write the csv data into', default = 'smart_meter_tables.csv')
	def __init__(self, *args, **kwargs):
		module_template.__init__(self, *args, **kwargs)
		self.version = 1
		self.author = [ 'Spencer McIntyre <*****@*****.**>' ]
		self.description = 'Initiate A Custom Procedure'
		self.detailed_description = 'This module executes a user defined procedure and returns the response. This is achieved by writing to the Procedure Initiate Table (#7) and then reading the result from the Procedure Response Table (#8).'
		self.options.addInteger('PROCNBR', 'procedure number to execute')
		self.options.addString('PARAMS', 'parameters to pass to the executed procedure', default = '')
		self.options.addBoolean('USEHEX', 'specifies that the \'PARAMS\' option is represented in hex', default = True)
		self.advanced_options.addBoolean('STDVSMFG', 'if true, specifies that this procedure is defined by the manufacturer', default = False)
	def __init__(self, *args, **kwargs):
		module_template.__init__(self, *args, **kwargs)
		self.version = 1
		self.author = [ 'Spencer McIntyre <*****@*****.**>' ]
		self.description = 'Brute Force Credentials'
		self.detailed_description = 'This module is used for brute forcing credentials on the smart meter.  Passwords are not limited to ASCII values and in order to test the entire character space the user will have to provide a dictionary of hex strings and set USEHEX to true.'
		self.options.addBoolean('USEHEX', 'values in word list are in hex', default = True)
		self.options.addRFile('DICTIONARY', 'dictionary of passwords to try', required = True, default = '$DATA_PATH smeter_passwords.txt')
		self.options.addString('USERNAME', 'user name to attempt to log in as', default = '0000')
		self.options.addInteger('USERID', 'user id to attempt to log in as', default = 1)
	def __init__(self, *args, **kwargs):
		module_template.__init__(self, *args, **kwargs)
		self.version = 1
		self.author = [ 'Spencer McIntyre <*****@*****.**>' ]
		self.description = 'Write Data To A C12.19 Table'
		self.detailed_description = 'This will over write the data in a write able table on the smart meter. If USEHEX is set to true then the DATA variable is expected to be represented as a string of hex characters.'
		self.options.addInteger('TABLEID', 'table to read from', True)
		self.options.addString('DATA', 'data to write to the table', True)
		self.options.addBoolean('USEHEX', 'specifies that the \'DATA\' option is represented in hex', default = False)
		self.options.addInteger('OFFSET', 'offset to start writing data at', required = False, default = None)
Beispiel #11
0
	def __init__(self, *args, **kwargs):
		module_template.__init__(self, *args, **kwargs)
		self.version = 1
		self.author = [ 'Spencer McIntyre <*****@*****.**>' ]
		self.description = 'Check C12.19 Tables For Differences'
		self.detailed_description = 'This module will compare two CSV files created with dump_tables and display differences in a formatted HTML file.'
		self.options.addString('FIRSTFILE', 'the first csv file to compare')
		self.options.addString('SECONDFILE', 'the second csv file to compare')
		self.options.addString('REPORTFILE', 'file to write the report data into', default = 'table_diff.html')
		self.advanced_options.addBoolean('ALLTABLES', 'do not skip tables that typically change', default = False)
 def __init__(self, *args, **kwargs):
     module_template.__init__(self, *args, **kwargs)
     self.version = 2
     self.author = ['Spencer McIntyre <*****@*****.**>']
     self.description = 'Dump Readable C12.19 Tables From The Device To A CSV File'
     self.detailed_description = 'This module will enumerate the readable tables on the smart meter and write them out to a CSV formated file for analysis. The format is table id, table name, table data length, table data.  The table data is represented in hex.'
     self.options.addInteger('LOWER',
                             'table id to start reading from',
                             default=0)
     self.options.addInteger('UPPER',
                             'table id to stop reading from',
                             default=256)
     self.options.addString('FILE',
                            'file to write the csv data into',
                            default='smart_meter_tables.csv')
 def __init__(self, *args, **kwargs):
     module_template.__init__(self, *args, **kwargs)
     self.version = 1
     self.author = ['Spencer McIntyre <*****@*****.**>']
     self.description = 'Check C12.19 Tables For Differences'
     self.detailed_description = 'This module will compare two CSV files created with dump_tables and display differences in a formatted HTML file.'
     self.options.addString('FIRSTFILE', 'the first csv file to compare')
     self.options.addString('SECONDFILE', 'the second csv file to compare')
     self.options.addString('REPORTFILE',
                            'file to write the report data into',
                            default='table_diff.html')
     self.advanced_options.addBoolean(
         'ALLTABLES',
         'do not skip tables that typically change',
         default=False)
Beispiel #14
0
 def __init__(self, *args, **kwargs):
     module_template.__init__(self, *args, **kwargs)
     self.version = 1
     self.author = ['Spencer McIntyre <*****@*****.**>']
     self.description = 'Write Data To A C12.19 Table'
     self.detailed_description = 'This will over write the data in a write able table on the smart meter. If USEHEX is set to true then the DATA variable is expected to be represented as a string of hex characters.'
     self.options.addInteger('TABLEID', 'table to read from', True)
     self.options.addString('DATA', 'data to write to the table', True)
     self.options.addBoolean(
         'USEHEX',
         'specifies that the \'DATA\' option is represented in hex',
         default=False)
     self.options.addInteger('OFFSET',
                             'offset to start writing data at',
                             required=False,
                             default=None)
 def __init__(self, *args, **kwargs):
     module_template.__init__(self, *args, **kwargs)
     self.version = 1
     self.author = ['Spencer McIntyre <*****@*****.**>']
     self.description = 'Brute Force Credentials'
     self.detailed_description = 'This module is used for brute forcing credentials on the smart meter.  Passwords are not limited to ASCII values and in order to test the entire character space the user will have to provide a dictionary of hex strings and set USEHEX to true.'
     self.options.addBoolean('USEHEX',
                             'values in word list are in hex',
                             default=True)
     self.options.addRFile('DICTIONARY',
                           'dictionary of passwords to try',
                           required=True,
                           default='$DATA_PATH smeter_passwords.txt')
     self.options.addString('USERNAME',
                            'user name to attempt to log in as',
                            default='0000')
     self.options.addInteger('USERID',
                             'user id to attempt to log in as',
                             default=1)
 def __init__(self, *args, **kwargs):
     module_template.__init__(self, *args, **kwargs)
     self.version = 1
     self.author = ['Spencer McIntyre <*****@*****.**>']
     self.description = 'Get Information About The Meter\'s Logs'
     self.detailed_description = 'This module reads various C1219 tables from decade 70 to gather log information from the smart meter. If successful the parsed contents of the logs will be displayed.'
	def __init__(self, *args, **kwargs):
		module_template.__init__(self, *args, **kwargs)
		self.version = 1
		self.author = [ 'Spencer McIntyre <*****@*****.**>' ]
		self.description = 'Get Information About The Meter\'s Logs'
		self.detailed_description = 'This module reads various C1219 tables from decade 70 to gather log information from the smart meter. If successful the parsed contents of the logs will be displayed.'
Beispiel #18
0
 def __init__(self, *args, **kwargs):
     module_template.__init__(self, *args, **kwargs)
     self.version = 1
     self.author = ['Spencer McIntyre <*****@*****.**>']
     self.description = 'Get Basic Meter Information By Reading Tables'
     self.detailed_description = 'This module retreives some basic meter information and displays it in a human-readable way.'
	def __init__(self, *args, **kwargs):
		module_template.__init__(self, *args, **kwargs)
		self.version = 1
		self.author = [ 'Spencer McIntyre <*****@*****.**>' ]
		self.description = 'Get Information About The Integrated Modem'
		self.detailed_description = 'This module reads various C1219 tables from decade 90 to gather information about the integrated modem. If successfully parsed, useful information will be displayed.'
	def __init__(self, *args, **kwargs):
		module_template.__init__(self, *args, **kwargs)
		self.version = 1
		self.author = [ 'Spencer McIntyre <*****@*****.**>' ]
		self.description = 'Get Information About The Meter\'s Access Control'
		self.detailed_description = 'This module reads various tables from 40 to gather information regarding access control. Password constraints, and access permissions to procedures and tables can be gathered with this module.'
	def __init__(self, *args, **kwargs):
		module_template.__init__(self, *args, **kwargs)
		self.version = 1
		self.author = [ 'Spencer McIntyre <*****@*****.**>' ]
		self.description = 'Get Basic Meter Information By Reading Tables'
		self.detailed_description = 'This module retreives some basic meter information and displays it in a human-readable way.'
Beispiel #22
0
 def __init__(self, *args, **kwargs):
     module_template.__init__(self, *args, **kwargs)
     self.version = 1
     self.author = ['Spencer McIntyre <*****@*****.**>']
     self.description = 'Get Information About The Integrated Modem'
     self.detailed_description = 'This module reads various C1219 tables from decade 90 to gather information about the integrated modem. If successfully parsed, useful information will be displayed.'