Closed passbe closed 12 years ago
scotty.b...@gmail.com on June 05, 2011 05:15:09:
This is a known issue as of this release. Polling the DB in the proxy code appears to lock the connection even though we are only using a single connection for the entire framework as i understand it.
This needs further investigation. I want to see if we get the same behaviour with MySQL, and if so maybe i'll need to look at introducing some database triggers.
Google Code Comment: http://code.google.com/p/beef/issues/detail?id=346#c1
antisnatchor@gmail.com on June 05, 2011 11:41:06:
With MySQL there is not such error, as MySQL manage connection pooling and locks internally. SQLite is a "joke" db.
Honestly I don't like the way we have implemented this: doing a SELECT every second on a db table, just to check if there is some more additional data on it (the http response in this case) it just affect performances and is not a best practice.
We should find a different way to handle this, like a separate thread that will update the db after the http response will be received, and a second "observer" thread that will check what is happening in the meantime, to manage the flow of the proxy functionality.
I will think about it.
Google Code Comment: http://code.google.com/p/beef/issues/detail?id=346#c3
antisnatchor@gmail.com on June 05, 2011 13:45:29:
Yep Scotty, we'll get in touch the next days on IRC to discuss next proxy enchantments
and how to best solve this issue.
I completely agree with you that the main DB should remain sqlite, to have a very easy and straightforward installation of BeEF.
Google Code Comment: http://code.google.com/p/beef/issues/detail?id=346#c4
antisnatchor@gmail.com on June 26, 2011 19:35:53:
see http://code.google.com/p/beef/source/detail?r=1027
Google Code Comment: http://code.google.com/p/beef/issues/detail?id=346#c7
scotty.b...@gmail.com on June 30, 2011 11:49:24:
I've used the proxy over the last few days - looks great!
Google Code Comment: http://code.google.com/p/beef/issues/detail?id=346#c9
dtomc...@gmail.com on July 01, 2011 22:19:25:
I love you developers
Google Code Comment: http://code.google.com/p/beef/issues/detail?id=346#c10
I see a DB lock in my virtual Debian unstable,
latypil@evilhacker:~/beef$ ./beef -v
[15:19:08][>] Loaded extension: 'console'
[15:19:08][*] Bind socket [imapeudora1] listening on [0.0.0.0:2000].
[15:19:08][>] Loaded extension: 'ipec'
[15:19:08][>] Loaded extension: 'admin_ui'
[15:19:08][>] Loaded extension: 'demos'
[15:19:08][>] Loaded extension: 'proxy'
[15:19:08][>] Loaded extension: 'dns'
[15:19:08][>] Loaded extension: 'requester'
[15:19:08][>] Loaded extension: 'social_engineering'
[15:19:08][>] Loaded extension: 'events'
[15:19:08][>] Loaded extension: 'autoloader'
[15:19:08][>] Loaded extension: 'xssrays'
[15:19:08][>] Loaded extension: 'webrtc'
[15:19:08][>] Loaded extension: 'network'
[15:19:08][*] Browser Exploitation Framework (BeEF) 0.4.7.0-alpha
[15:19:08] | Twit: @beefproject
[15:19:08] | Site: http://beefproject.com
[15:19:08] | Blog: http://blog.beefproject.com
[15:19:08] |_ Wiki: https://github.com/beefproject/beef/wiki
[15:19:08][*] Project Creator: Wade Alcorn (@WadeAlcorn)
[15:19:08][>] Soft Load module: 'test_return_image'
[15:19:08][>] Soft Load module: 'test_beef_debug'
[15:19:08][>] Soft Load module: 'test_return_long_string'
[15:19:08][>] Soft Load module: 'test_dns_tunnel_client'
[15:19:08][>] Soft Load module: 'test_http_bind_raw'
[15:19:08][>] Soft Load module: 'test_cors_request'
[15:19:08][>] Soft Load module: 'test_network_request'
[15:19:08][>] Soft Load module: 'test_http_redirect'
[15:19:08][>] Soft Load module: 'test_return_ascii_chars'
[15:19:08][>] Soft Load module: 'iframe_sniffer'
[15:19:08][>] Soft Load module: 'unblockui'
[15:19:08][>] Soft Load module: 'blockui'
[15:19:08][>] Soft Load module: 'bozo_crack'
[15:19:08][>] Soft Load module: 'google_search'
[15:19:08][>] Soft Load module: 'iframe_keylogger'
[15:19:08][>] Soft Load module: 'read_gmail'
[15:19:08][>] Soft Load module: 'send_inotes_with_attachment'
[15:19:08][>] Soft Load module: 'inotes_flooder'
[15:19:08][>] Soft Load module: 'send_inotes'
[15:19:08][>] Soft Load module: 'extract_inotes_list'
[15:19:08][>] Soft Load module: 'read_inotes'
[15:19:08][>] Soft Load module: 'wordpress_post_auth_rce'
[15:19:08][>] Soft Load module: 'invisible_iframe'
[15:19:08][>] Soft Load module: 'local_file_theft'
[15:19:08][>] Soft Load module: 'raw_javascript'
[15:19:08][>] Soft Load module: 'cross_site_printing'
[15:19:08][>] Soft Load module: 's2c_dns_tunnel'
[15:19:08][>] Soft Load module: 'inter_protocol_imap'
[15:19:08][>] Soft Load module: 'cross_site_faxing'
[15:19:08][>] Soft Load module: 'inter_protocol_redis'
[15:19:08][>] Soft Load module: 'etag_client'
[15:19:08][>] Soft Load module: 'inter_protocol_win_bindshell'
[15:19:08][>] Soft Load module: 'inter_protocol_irc'
[15:19:08][>] Soft Load module: 'inter_protocol_posix_bindshell'
[15:19:08][>] Soft Load module: 'get_battery_status'
[15:19:08][>] Soft Load module: 'get_connection_type'
[15:19:08][>] Soft Load module: 'detect_cups'
[15:19:08][>] Soft Load module: 'detect_airdroid'
[15:19:08][>] Soft Load module: 'get_internal_ip_webrtc'
[15:19:08][>] Soft Load module: 'fingerprint_os'
[15:19:08][>] Soft Load module: 'detect_protocol_handlers'
[15:19:08][>] Soft Load module: 'get_internal_ip'
[15:19:08][>] Soft Load module: 'clipboard_theft'
[15:19:08][>] Soft Load module: 'detect_virtualization'
[15:19:08][>] Soft Load module: 'Detect_software'
[15:19:08][>] Soft Load module: 'detect_hp'
[15:19:08][>] Soft Load module: 'detect_default_browser'
[15:19:08][>] Soft Load module: 'detect_google_desktop'
[15:19:08][>] Soft Load module: 'get_registry_keys'
[15:19:08][>] Soft Load module: 'iphone_tel'
[15:19:08][>] Soft Load module: 'detect_bitdefender2012'
[15:19:08][>] Soft Load module: 'physical_location'
[15:19:08][>] Soft Load module: 'get_system_info'
[15:19:08][>] Soft Load module: 'get_physical_location'
[15:19:08][>] Soft Load module: 'hook_default_browser'
[15:19:08][>] Soft Load module: 'get_wireless_keys'
[15:19:08][>] Soft Load module: 'detect_vlc'
[15:19:08][>] Soft Load module: 'detect_realplayer'
[15:19:08][>] Soft Load module: 'detect_lastpass'
[15:19:08][>] Soft Load module: 'browser_fingerprinting'
[15:19:08][>] Soft Load module: 'get_visited_domains'
[15:19:08][>] Soft Load module: 'get_visited_urls'
[15:19:08][>] Soft Load module: 'detect_activex'
[15:19:08][>] Soft Load module: 'Play_sound'
[15:19:08][>] Soft Load module: 'detect_unsafe_activex'
[15:19:08][>] Soft Load module: 'detect_foxit'
[15:19:08][>] Soft Load module: 'Detect_toolbars'
[15:19:08][>] Soft Load module: 'unhook'
[15:19:08][>] Soft Load module: 'detect_extensions'
[15:19:08][>] Soft Load module: 'detect_quicktime'
[15:19:08][>] Soft Load module: 'spyder_eye'
[15:19:08][>] Soft Load module: 'remove_hook_element'
[15:19:08][>] Soft Load module: 'detect_firebug'
[15:19:08][>] Soft Load module: 'detect_office'
[15:19:08][>] Soft Load module: 'webcam_html5'
[15:19:08][>] Soft Load module: 'webcam_permission_check'
[15:19:08][>] Soft Load module: 'Detect_unity'
[15:19:08][>] Soft Load module: 'detect_popup_blocker'
[15:19:08][>] Soft Load module: 'disable_developer_tools'
[15:19:08][>] Soft Load module: 'deface_web_page'
[15:19:08][>] Soft Load module: 'get_page_html'
[15:19:08][>] Soft Load module: 'remove_stuck_iframes'
[15:19:08][>] Soft Load module: 'link_rewrite_tel'
[15:19:08][>] Soft Load module: 'get_session_storage'
[15:19:08][>] Soft Load module: 'link_rewrite_click_events'
[15:19:08][>] Soft Load module: 'get_cookie'
[15:19:08][>] Soft Load module: 'rickroll'
[15:19:08][>] Soft Load module: 'link_rewrite'
[15:19:08][>] Soft Load module: 'prompt_dialog'
[15:19:08][>] Soft Load module: 'overflow_cookiejar'
[15:19:08][>] Soft Load module: 'link_rewrite_sslstrip'
[15:19:08][>] Soft Load module: 'alert_dialog'
[15:19:08][>] Soft Load module: 'get_local_storage'
[15:19:08][>] Soft Load module: 'ajax_fingerprint'
[15:19:08][>] Soft Load module: 'site_redirect'
[15:19:08][>] Soft Load module: 'get_form_values'
[15:19:08][>] Soft Load module: 'clear_console'
[15:19:08][>] Soft Load module: 'site_redirect_iframe'
[15:19:08][>] Soft Load module: 'get_page_html_iframe'
[15:19:08][>] Soft Load module: 'mobilesafari_address_spoofing'
[15:19:08][>] Soft Load module: 'get_page_links'
[15:19:08][>] Soft Load module: 'replace_video'
[15:19:08][>] Soft Load module: 'deface_web_page_component'
[15:19:08][>] Soft Load module: 'get_stored_credentials'
[15:19:08][>] Soft Load module: 'detect_evernote_clipper'
[15:19:08][>] Soft Load module: 'detect_wmp'
[15:19:08][>] Soft Load module: 'detect_silverlight'
[15:19:08][>] Soft Load module: 'detect_simple_adblock'
[15:19:08][>] Soft Load module: 'webcam'
[15:19:08][>] Soft Load module: 'avant_steal_history'
[15:19:08][>] Soft Load module: 'firefox_extension_dropper'
[15:19:08][>] Soft Load module: 'pretty_theft'
[15:19:08][>] Soft Load module: 'hta_powershell'
[15:19:08][>] Soft Load module: 'clippy'
[15:19:08][>] Soft Load module: 'replace_video_fake_plugin'
[15:19:08][>] Soft Load module: 'fake_notification_ff'
[15:19:08][>] Soft Load module: 'tabnabbing'
[15:19:08][>] Soft Load module: 'sitekiosk_breakout'
[15:19:08][>] Soft Load module: 'firefox_extension_bindshell'
[15:19:08][>] Soft Load module: 'lcamtuf_download'
[15:19:08][>] Soft Load module: 'firefox_extension_reverse_shell'
[15:19:08][>] Soft Load module: 'fake_evernote_clipper'
[15:19:08][>] Soft Load module: 'fake_flash_update'
[15:19:08][>] Soft Load module: 'steal_autocomplete'
[15:19:08][>] Soft Load module: 'gmail_phishing'
[15:19:08][>] Soft Load module: 'fake_notification_c'
[15:19:08][>] Soft Load module: 'clickjacking'
[15:19:08][>] Soft Load module: 'fake_notification_ie'
[15:19:08][>] Soft Load module: 'simple_hijacker'
[15:19:08][>] Soft Load module: 'ui_abuse_ie'
[15:19:08][>] Soft Load module: 'fake_lastpass'
[15:19:08][>] Soft Load module: 'ruby_nntpd_cmd_exec'
[15:19:08][>] Soft Load module: 'groovyshell_server_command_execution'
[15:19:08][>] Soft Load module: 'Netgear_gs108t_csrf'
[15:19:08][>] Soft Load module: 'php_dos'
[15:19:08][>] Soft Load module: 'BeEF_bind_shell'
[15:19:08][>] Soft Load module: 'Active_fax_beef_bind'
[15:19:08][>] Soft Load module: 'Eudora_mail_beef_bind'
[15:19:08][>] Soft Load module: 'windows_mail_client_dos'
[15:19:08][>] Soft Load module: 'java_payload'
[15:19:08][>] Soft Load module: 'ie_ms13_069_caret'
[15:19:08][>] Soft Load module: 'activex_command_execution'
[15:19:08][>] Soft Load module: 'safari_launch_app'
[15:19:08][>] Soft Load module: 'signed_applet_dropper'
[15:19:08][>] Soft Load module: 'ie_ms12_004_midi'
[15:19:08][>] Soft Load module: 'airlive_add_user_csrf'
[15:19:08][>] Soft Load module: 'linksys_wvc_wireless_camera_csrf'
[15:19:08][>] Soft Load module: 'Dlink_dcs_series_csrf'
[15:19:08][>] Soft Load module: 'jenkins_groovy_code_exec'
[15:19:08][>] Soft Load module: 'hp_ucmdb_add_user_csrf'
[15:19:08][>] Soft Load module: 'jboss_jmx_upload_exploit'
[15:19:08][>] Soft Load module: 'dlink_sharecenter_cmd_exec'
[15:19:08][>] Soft Load module: 'freenas_reverse_root_shell_csrf'
[15:19:08][>] Soft Load module: 'Shell_shocked'
[15:19:08][>] Soft Load module: 'rfi_scanner'
[15:19:08][>] Soft Load module: 'axous_add_user_csrf'
[15:19:08][>] Soft Load module: 'firephp_code_exec'
[15:19:08][>] Soft Load module: 'wanem_command_execution'
[15:19:08][>] Soft Load module: 'vtiger_crm_upload_exploit'
[15:19:08][>] Soft Load module: 'shell_shock_scanner'
[15:19:08][>] Soft Load module: 'zenoss_command_execution'
[15:19:08][>] Soft Load module: 'skype_xss'
[15:19:08][>] Soft Load module: 'apache_felix_remote_shell'
[15:19:08][>] Soft Load module: 'pfsense_reverse_root_shell_csrf'
[15:19:08][>] Soft Load module: 'sqlitemanager_xss'
[15:19:08][>] Soft Load module: 'alienvault_ossim_3_1_xss'
[15:19:08][>] Soft Load module: 'cisco_collaboration_server_5_xss'
[15:19:08][>] Soft Load module: 'serendipity_1_6_xss'
[15:19:08][>] Soft Load module: 'Wordpress_add_admin'
[15:19:08][>] Soft Load module: 'kemp_command_execution'
[15:19:08][>] Soft Load module: 'glassfish_war_upload_xsrf'
[15:19:08][>] Soft Load module: 'dlink_dsl2740r_dns_hijack'
[15:19:08][>] Soft Load module: 'comtrend_ct5367_csrf'
[15:19:08][>] Soft Load module: 'linksys_wrt54g2_csrf'
[15:19:08][>] Soft Load module: 'virgin_superhub_csrf'
[15:19:08][>] Soft Load module: 'shuttle_tech_915wm_dns_hijack'
[15:19:08][>] Soft Load module: 'dlink_dsl500t_csrf'
[15:19:08][>] Soft Load module: 'asus_rt_n66u_cmd_exec'
[15:19:08][>] Soft Load module: 'belkin_dns_csrf'
[15:19:08][>] Soft Load module: 'telstra_zte_mf91_disable_ap_isolation'
[15:19:08][>] Soft Load module: 'linksys_befsr41_csrf'
[15:19:08][>] Soft Load module: 'dlink_2640b_dns_hijack'
[15:19:08][>] Soft Load module: 'com_officeconnect_cmd_exec'
[15:19:08][>] Soft Load module: 'tplink_dns_csrf'
[15:19:08][>] Soft Load module: 'Huawei_smartax_mt880_csrf'
[15:19:08][>] Soft Load module: 'ddwrt_v24_sp1_cmd_exec'
[15:19:08][>] Soft Load module: 'actiontec_q1000_csrf'
[15:19:08][>] Soft Load module: 'linksys_e2500_shell'
[15:19:08][>] Soft Load module: 'bt_home_hub_csrf'
[15:19:08][>] Soft Load module: 'asus_rt_n12e_get_info'
[15:19:08][>] Soft Load module: 'linksys_e2500_csrf'
[15:19:08][>] Soft Load module: 'cisco_e2400_csrf'
[15:19:08][>] Soft Load module: 'ddwrt_v24_sp1_csrf'
[15:19:08][>] Soft Load module: 'asmax_ar804gu_cmd_exec'
[15:19:08][>] Soft Load module: 'telstra_zte_mf91_change_ssid'
[15:19:08][>] Soft Load module: 'linksys_e2500_dns_hijack'
[15:19:08][>] Soft Load module: 'telstra_zte_mf91_change_pw'
[15:19:08][>] Soft Load module: 'comtrend_ct5624_csrf'
[15:19:08][>] Soft Load module: 'philips_dns_hijack'
[15:19:08][>] Soft Load module: 'linksys_wrt54g_csrf'
[15:19:08][>] Soft Load module: 'dlink_dir_615_csrf'
[15:19:08][>] Soft Load module: 'opencart_reset_password'
[15:19:08][>] Soft Load module: 'spring_framework_malicious_jar'
[15:19:08][>] Soft Load module: 'coldfusion_dir_traversal_exploit'
[15:19:08][>] Soft Load module: 'apache_cookies'
[15:19:08][>] Soft Load module: 'qnx_qconn_command_execution'
[15:19:08][>] Soft Load module: 'extract_cmd_exec'
[15:19:08][>] Soft Load module: 'zenoss_add_user_csrf'
[15:19:08][>] Soft Load module: 'boastmachine_add_user_csrf'
[15:19:08][>] Soft Load module: 'resource_exhaustion_dos'
[15:19:08][>] Soft Load module: 'monowall_reverse_root_shell_csrf'
[15:19:08][>] Soft Load module: 'phonegap_file_upload'
[15:19:08][>] Soft Load module: 'phonegap_detect'
[15:19:08][>] Soft Load module: 'phonegap_beep'
[15:19:08][>] Soft Load module: 'phonegap_persistence'
[15:19:08][>] Soft Load module: 'phonegap_alert_user'
[15:19:08][>] Soft Load module: 'phonegap_globalization_status'
[15:19:08][>] Soft Load module: 'phonegap_prompt_user'
[15:19:08][>] Soft Load module: 'phonegap_keychain'
[15:19:08][>] Soft Load module: 'phonegap_list_files'
[15:19:08][>] Soft Load module: 'phonegap_list_contacts'
[15:19:08][>] Soft Load module: 'phonegap_geo_locate'
[15:19:08][>] Soft Load module: 'phonegap_stop_record_audio'
[15:19:08][>] Soft Load module: 'phonegap_start_record_audio'
[15:19:08][>] Soft Load module: 'phonegap_check_connection'
[15:19:08][>] Soft Load module: 'phonegap_plugin_detection'
[15:19:08][>] Soft Load module: 'phonegap_persist_resume'
[15:19:08][>] Soft Load module: 'man_in_the_browser'
[15:19:08][>] Soft Load module: 'iframe_above'
[15:19:08][>] Soft Load module: 'popunder_window'
[15:19:08][>] Soft Load module: 'confirm_close_tab'
[15:19:08][>] Soft Load module: 'internal_network_fingerprinting'
[15:19:08][>] Soft Load module: 'get_http_servers'
[15:19:08][>] Soft Load module: 'get_proxy_servers_wpad'
[15:19:08][>] Soft Load module: 'ping_sweep_java'
[15:19:08][>] Soft Load module: 'doser'
[15:19:08][>] Soft Load module: 'port_scanner'
[15:19:08][>] Soft Load module: 'ping_sweep'
[15:19:08][>] Soft Load module: 'f5_bigip_cookie_disclosure'
[15:19:08][>] Soft Load module: 'f5_bigip_cookie_stealing'
[15:19:08][>] Soft Load module: 'identify_lan_subnets'
[15:19:08][>] Soft Load module: 'detect_tor'
[15:19:08][>] Soft Load module: 'fingerprint_routers'
[15:19:08][>] Soft Load module: 'dns_rebinding'
[15:19:08][>] Soft Load module: 'detect_burp'
[15:19:08][>] Soft Load module: 'detect_soc_nets'
[15:19:08][>] Soft Load module: 'irc_nat_pinning'
[15:19:08][>] Soft Load module: 'dns_enumeration'
[15:19:08][>] Soft Load module: 'get_ntop_network_hosts'
[15:19:08][>] Soft Load module: 'cross_origin_scanner_flash'
[15:19:08][>] Soft Load module: 'cross_origin_scanner_cors'
[15:19:09][>] Soft Load module: 'execute_tabs'
[15:19:09][>] Soft Load module: 'screenshot'
[15:19:09][>] Soft Load module: 'inject_beef'
[15:19:09][>] Soft Load module: 'get_all_cookies'
[15:19:09][>] Soft Load module: 'grab_google_contacts'
[15:19:09][>] Soft Load module: 'send_gvoice_sms'
[15:19:09][*] BeEF is loading. Wait a few seconds...
[15:19:09][>] Server: mounted handler '/hook.js'
[15:19:09][>] Server: mounted handler '/init'
[15:19:09][>] Server: mounted handler '/'
[15:19:09][>] Server: mounted handler '/dh'
[15:19:09][>] Server: mounted handler '/api/hooks'
[15:19:09][>] Server: mounted handler '/api/modules'
[15:19:09][>] Server: mounted handler '/api/categories'
[15:19:09][>] Server: mounted handler '/api/logs'
[15:19:09][>] Server: mounted handler '/api/admin'
[15:19:09][>] Server: mounted handler '/api/server'
[15:19:09][>] Server: mounted handler '/api/autorun'
[15:19:09][>] Server: mounted handler '/api/ipec'
[15:19:09][>] Server: mounted handler '/ui/panel'
[15:19:09][>] Server: mounted handler '/ui/logs'
[15:19:09][>] Server: mounted handler '/ui/authentication'
[15:19:09][>] Server: mounted handler '/ui/modules'
[15:19:09][>] Server: mounted handler '/ui/xssrays'
[15:19:09][>] Server: mounted handler '/ui/requester'
[15:19:09][>] Server: mounted handler '/ui/proxy'
[15:19:09][>] Server: mounted handler '/ui/media'
[15:19:11][>] Server: mounted handler '/ui/web_ui_all.js'
[15:19:11][>] Server: mounted handler '/ui/web_ui_auth.js'
[15:19:11][>] Server: mounted handler '/demos'
[15:19:11][>] Server: mounted handler '/demos/basic.html'
[15:19:11][>] Server: mounted handler '/demos/plain.html'
[15:19:11][>] Server: mounted handler '/demos/clickjacking/clickjack_victim.html'
[15:19:11][>] Server: mounted handler '/demos/clickjacking/clickjack_attack.html'
[15:19:11][>] Server: mounted handler '/demos/report.html'
[15:19:11][>] Server: mounted handler '/demos/secret_page.html'
[15:19:11][>] Server: mounted handler '/demos/butcher/index.html'
[15:19:11][>] Server: mounted handler '/proxy'
[15:19:11][>] Server: mounted handler '/api/proxy'
[15:19:11][>] Server: mounted handler '/api/dns'
[15:19:11][>] Server: mounted handler '/requester'
[15:19:11][>] Server: mounted handler '/api/seng'
[15:19:11][>] Server: mounted handler '/ps'
[15:19:11][>] Server: mounted handler '/event'
[15:19:11][>] Server: mounted handler '/xssrays'
[15:19:11][>] Server: mounted handler '/rtcsignal'
[15:19:11][>] Server: mounted handler '/rtcmessage'
[15:19:11][>] Server: mounted handler '/api/webrtc'
[15:19:11][>] Server: mounted handler '/api/network'
[15:19:11][*] 13 extensions enabled.
[15:19:11][*] 257 modules enabled.
[15:19:11][*] 2 network interfaces were detected.
[15:19:11][+] running on network interface: 127.0.0.1
[15:19:11] | Hook URL: https://127.0.0.1:3000/hook.js
[15:19:11] |_ UI URL: https://127.0.0.1:3000/ui/panel
[15:19:11][+] running on network interface: 192.168.17.128
[15:19:11] | Hook URL: https://192.168.17.128:3000/hook.js
[15:19:11] |_ UI URL: https://192.168.17.128:3000/ui/panel
[15:19:11][*] RESTful API key: 82ef01e8be438bdb4178b8efeb5975431900303d
[15:19:11][*] HTTP Proxy: http://127.0.0.1:6789
[15:19:11][*] DNS Server: 127.0.0.1:5300 (udp)
[15:19:11] | Upstream Server: 8.8.8.8:53 (udp)
[15:19:11] |_ Upstream Server: 8.8.8.8:53 (tcp)
[15:19:11][*] BeEF server started (press control+c to stop)
[15:19:11][>] Event: 192.168.17.1 appears to have come back online
[15:19:28][>] [INIT] Processing Browser Details...
[15:19:28][>] [INIT] already hooked as #<BeEF::Core::Models::HookedBrowser:0x00000002d662d8>
[15:19:33][>] Event: 5.327s - [Blur] Browser window has lost focus.
[15:19:41][>] Event: 13.847s - [Focus] Browser window has regained focus.
[15:19:58][>] Event: 29.041s - [Mouse Click] x: 581 y:325 > html
[15:19:58][>] Event: 29.613s - [Blur] Browser window has lost focus.
[15:20:05][>] Event: 37.198s - [Focus] Browser window has regained focus.
[15:20:05][>] Event: 37.867s - [Mouse Click] x: 581 y:325 > html
[15:20:07][>] +++++++++++++++++ Key mods:
[15:20:07][>] EventData: asd
[15:20:07][>] Event: 39.154s - [User Typed] asd
2016-02-10 15:20:08 - DataObjects::ConnectionError - database is locked:
/var/lib/gems/2.2.0/gems/dm-do-adapter-1.2.0/lib/dm-do-adapter/adapter.rb:194:in `execute_non_query'
/var/lib/gems/2.2.0/gems/dm-do-adapter-1.2.0/lib/dm-do-adapter/adapter.rb:194:in `block in update'
/var/lib/gems/2.2.0/gems/dm-do-adapter-1.2.0/lib/dm-do-adapter/adapter.rb:276:in `with_connection'
/var/lib/gems/2.2.0/gems/dm-do-adapter-1.2.0/lib/dm-do-adapter/adapter.rb:193:in `update'
/var/lib/gems/2.2.0/gems/dm-core-1.2.1/lib/dm-core/repository.rb:180:in `update'
/var/lib/gems/2.2.0/gems/dm-core-1.2.1/lib/dm-core/resource/persistence_state/dirty.rb:54:in `update_resource'
/var/lib/gems/2.2.0/gems/dm-core-1.2.1/lib/dm-core/resource/persistence_state/dirty.rb:22:in `commit'
/var/lib/gems/2.2.0/gems/dm-core-1.2.1/lib/dm-core/resource.rb:963:in `_persist'
/var/lib/gems/2.2.0/gems/dm-core-1.2.1/lib/dm-core/resource.rb:994:in `block in update_with_hooks'
/var/lib/gems/2.2.0/gems/dm-core-1.2.1/lib/dm-core/resource.rb:991:in `catch'
/var/lib/gems/2.2.0/gems/dm-core-1.2.1/lib/dm-core/resource.rb:991:in `update_with_hooks'
/var/lib/gems/2.2.0/gems/dm-core-1.2.1/lib/dm-core/resource.rb:1028:in `save_self'
/var/lib/gems/2.2.0/gems/dm-core-1.2.1/lib/dm-core/resource.rb:1013:in `block in _save'
/var/lib/gems/2.2.0/gems/dm-core-1.2.1/lib/dm-core/resource.rb:1229:in `run_once'
/var/lib/gems/2.2.0/gems/dm-core-1.2.1/lib/dm-core/resource.rb:1012:in `_save'
/var/lib/gems/2.2.0/gems/dm-core-1.2.1/lib/dm-core/resource.rb:412:in `save'
/home/latypil/beef/core/main/handlers/hookedbrowsers.rb:76:in `block in <class:HookedBrowsers>'
/var/lib/gems/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1611:in `call'
/var/lib/gems/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1611:in `block in compile!'
/var/lib/gems/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:975:in `[]'
/var/lib/gems/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:975:in `block (3 levels) in route!'
/var/lib/gems/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:994:in `route_eval'
/var/lib/gems/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:975:in `block (2 levels) in route!'
/var/lib/gems/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1015:in `block in process_route'
/var/lib/gems/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1013:in `catch'
/var/lib/gems/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1013:in `process_route'
/var/lib/gems/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:973:in `block in route!'
/var/lib/gems/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:972:in `each'
/var/lib/gems/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:972:in `route!'
/var/lib/gems/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1085:in `block in dispatch!'
/var/lib/gems/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in `block in invoke'
/var/lib/gems/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in `catch'
/var/lib/gems/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in `invoke'
/var/lib/gems/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1082:in `dispatch!'
/var/lib/gems/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:907:in `block in call!'
/var/lib/gems/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in `block in invoke'
/var/lib/gems/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in `catch'
/var/lib/gems/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in `invoke'
/var/lib/gems/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:907:in `call!'
/var/lib/gems/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:895:in `call'
/var/lib/gems/2.2.0/gems/rack-1.6.4/lib/rack/nulllogger.rb:9:in `call'
/var/lib/gems/2.2.0/gems/rack-1.6.4/lib/rack/head.rb:13:in `call'
/var/lib/gems/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:182:in `call'
/var/lib/gems/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:2013:in `call'
/var/lib/gems/2.2.0/gems/rack-1.6.4/lib/rack/urlmap.rb:66:in `block in call'
/var/lib/gems/2.2.0/gems/rack-1.6.4/lib/rack/urlmap.rb:50:in `each'
/var/lib/gems/2.2.0/gems/rack-1.6.4/lib/rack/urlmap.rb:50:in `call'
/var/lib/gems/2.2.0/gems/thin-1.6.4/lib/thin/connection.rb:86:in `block in pre_process'
/var/lib/gems/2.2.0/gems/thin-1.6.4/lib/thin/connection.rb:84:in `catch'
/var/lib/gems/2.2.0/gems/thin-1.6.4/lib/thin/connection.rb:84:in `pre_process'
/var/lib/gems/2.2.0/gems/thin-1.6.4/lib/thin/connection.rb:53:in `process'
/var/lib/gems/2.2.0/gems/thin-1.6.4/lib/thin/connection.rb:39:in `receive_data'
/var/lib/gems/2.2.0/gems/eventmachine-1.0.9.1/lib/eventmachine.rb:193:in `run_machine'
/var/lib/gems/2.2.0/gems/eventmachine-1.0.9.1/lib/eventmachine.rb:193:in `run'
/var/lib/gems/2.2.0/gems/thin-1.6.4/lib/thin/backends/base.rb:73:in `start'
/var/lib/gems/2.2.0/gems/thin-1.6.4/lib/thin/server.rb:162:in `start'
/home/latypil/beef/core/main/server.rb:127:in `start'
./beef:158:in `<main>'[15:20:08][>] Event: 39.331s - [Blur] Browser window has lost focus.
[15:20:19][>] Event: 51.066s - [Focus] Browser window has regained focus.
[15:20:20][>] +++++++++++++++++ Key mods:
[15:20:20][>] EventData: dfg
[15:20:20][>] Event: 52.978s - [User Typed] dfg
[15:20:22][>] Event: 53.044s - [Blur] Browser window has lost focus.
What steps will reproduce the problem?
What is the expected output? What do you see instead? No error expected, instead this is the full output: http://pastebin.com/szBMu4Je
What version/revision of the product are you using? On what browser? On what operating system?
I tried it both with Backtrack 5 and Ubuntu 10.04, hooked browser Firefox 4.0.1 and Firefox 3.6.1, admin-browser (which I am trying to tunnel through the proxy): Internet Explorer 9, Firefox 4.0.1, Firefox 3.6.1
Please provide any additional information and screen shots below.
I telnet'd into the HTTP proxy, and sent a request, it still produced the error log in Beef's commandline (see pastebin), but it actually returned a valid html page (I told it GET /demo/Secret.html).
That's all I got, anyone has trouble with the Proxy functionality out there?
Thanks.
Google Code Issue: http://code.google.com/p/beef/issues/detail?id=346