summaryrefslogblamecommitdiffstats
path: root/Src/PyCatcher/src/settings.py
blob: 11084dc770507d412cd0a316bb625b1dcdf7d6a8 (plain) (tree)




















                                                                                                                                        
                                                                           

                         
                                
                         


                         

 
               
                                  
                               
                     

                            
 
 
                 
                                
                          


                          

 


                   
 


                                                                                                                
 
                                                                           
 
#Core Configuration ------------------------------------------------------------------------------------------

PyCatcher_settings = {'debug' : False,
                    }

Device_settings = { 'mobile_device' : '/dev/ttyUSB0',
                    'xor_type' : 'c123xor',
                    'firmware' : 'compal_e88',
                   }

Osmocon_lib = '/home/tom/imsi-catcher-detection/Src/osmolib/src'

Commands = {'osmocon_command' : [Osmocon_lib + '/host/osmocon/osmocon', 
                                    '-p', Device_settings['mobile_device'], 
                                    '-m', Device_settings['xor_type'], 
                                    Osmocon_lib + '/target/firmware/board/' + Device_settings['firmware'] + '/layer1.compalram.bin'],   
            'scan_command' : [Osmocon_lib + '/host/layer23/src/misc/catcher'],
           }

#Rules Configuration -------------------------------------------------------------------------------------------

Provider_list = ['T-Mobile', 'O2', 'Vodafone', 'E-Plus', 'DB Systel GSM-R']

Provider_Country_list = {
    'DB Systel GSM-R':'Germany',
    'T-Mobile':'Germany',
    'O2':'Germany',
    'Vodafone':'Germany',
    'E-Plus':'Germany'
}

LAC_mapping = {
    'DB Systel GSM-R': [0,999999],
    'T-Mobile' : [21000,22000],
    'O2' : [0,99999],
    'Vodafone' : [0,100000],
    'E-Plus' : [0,100000]
}

ARFCN_mapping = {
    'DB Systel GSM-R': [0,9999],
    'T-Mobile' : [0,9999],
    'O2' : [0,9999],
    'Vodafone' : [0,9999],
    'E-Plus' : [0,9999]
}

LAC_threshold = 0

RX_threshold = 0.05

#Database Configuration ----------------------------------------------------------------------------------------

Open_Cell_ID_Key = 'd7a5bc3f21b44d4bf93d1ec2b3f83dc4'

Database_path = '/home/tom/imsi-catcher-detection/Src/PyCatcher/Databases/'