Exemple #1
0
 def __init__( self ):
     '''
     Set the defaults and save them to the config dict.
     '''
     #
     # User configured variables
     #
     if cf.cf.getData('autoDependencies') is None:
         # It's the first time I'm run
         cf.cf.save('fuzzableCookie', False )
         cf.cf.save('fuzzFileContent', True )
         cf.cf.save('fuzzFileName', False )
         cf.cf.save('fuzzURLParts', False )
         cf.cf.save('fuzzFCExt', 'txt' )
         cf.cf.save('fuzzFormComboValues', 'tmb')
         cf.cf.save('fuzzRepeatedParameters', 'tmb')
         cf.cf.save('autoDependencies', True )
         cf.cf.save('maxDiscoveryTime', 120 )
         cf.cf.save('maxThreads', 15 )
         cf.cf.save('fuzzableHeaders', [] )
         cf.cf.save('msf_location', '/opt/metasploit3/bin/' )
         
         #
         #
         #
         ifname = get_net_iface()
         cf.cf.save('interface', ifname )
         
         #
         #   This doesn't send any packets, and gives you a nice default setting.
         #   In most cases, it is the "public" IP address, which will work perfectly
         #   in all plugins that need a reverse connection (rfiProxy)
         #
         local_address = get_local_ip()
         if not local_address:
             local_address = '127.0.0.1' #do'h!                
     
         cf.cf.save('localAddress', local_address)
         cf.cf.save('demo', False )
         cf.cf.save('nonTargets', [] )
         cf.cf.save('stop_on_first_exception', False )
Exemple #2
0
    def __init__(self):
        '''
        Set the defaults and save them to the config dict.
        '''
        #
        # User configured variables
        #
        if cf.cf.get('fuzz_cookies') is None:
            # It's the first time I'm run
            cf.cf.save('fuzz_cookies', False)
            cf.cf.save('fuzz_form_files', True)
            cf.cf.save('fuzzed_files_extension', 'gif')
            cf.cf.save('fuzz_url_filenames', False)
            cf.cf.save('fuzz_url_parts', False)
            cf.cf.save('fuzzable_headers', [])

            cf.cf.save('form_fuzzing_mode', 'tmb')

            cf.cf.save('max_discovery_time', 120)

            cf.cf.save('msf_location', '/opt/metasploit3/bin/')

            #
            #
            #
            ifname = get_net_iface()
            cf.cf.save('interface', ifname)

            #
            #   This doesn't send any packets, and gives you a nice default setting.
            #   In most cases, it is the "public" IP address, which will work perfectly
            #   in all plugins that need a reverse connection (rfi_proxy)
            #
            local_address = get_local_ip()
            if not local_address:
                local_address = '127.0.0.1'  # do'h!

            cf.cf.save('local_ip_address', local_address)
            cf.cf.save('non_targets', [])
            cf.cf.save('stop_on_first_exception', False)
Exemple #3
0
    def __init__(self):
        '''
        Set the defaults and save them to the config dict.
        '''
        #
        # User configured variables
        #
        if cf.cf.get('fuzz_cookies') is None:
            # It's the first time I'm run
            cf.cf.save('fuzz_cookies', False)
            cf.cf.save('fuzz_form_files', True)
            cf.cf.save('fuzzed_files_extension', 'gif')
            cf.cf.save('fuzz_url_filenames', False)
            cf.cf.save('fuzz_url_parts', False)
            cf.cf.save('fuzzable_headers', [])

            cf.cf.save('form_fuzzing_mode', 'tmb')

            cf.cf.save('max_discovery_time', 120)

            cf.cf.save('msf_location', '/opt/metasploit3/bin/')

            #
            #
            #
            ifname = get_net_iface()
            cf.cf.save('interface', ifname)

            #
            #   This doesn't send any packets, and gives you a nice default setting.
            #   In most cases, it is the "public" IP address, which will work perfectly
            #   in all plugins that need a reverse connection (rfi_proxy)
            #
            local_address = get_local_ip()
            if not local_address:
                local_address = '127.0.0.1'  # do'h!

            cf.cf.save('local_ip_address', local_address)
            cf.cf.save('non_targets', [])
            cf.cf.save('stop_on_first_exception', False)