Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Network stack throws error with high amount of traffic #8

Closed
passbe opened this issue Dec 10, 2011 · 1 comment
Closed

Network stack throws error with high amount of traffic #8

passbe opened this issue Dec 10, 2011 · 1 comment

Comments

@passbe
Copy link
Contributor

passbe commented Dec 10, 2011

I got these errors, that resulted in cpu => 50% and BeEF freeze,
when playing with Burp Scanner on two resources, using the following increased scanning engine config:

thread count: 20
retried on net failure: 2
pause before retry (millis): 500

So yes, very hazard settings.
I was hoping to get some errors, to see where things can hang.
Here we go :-)

[:39:56]←[33m[>]←[0m [PROXY] Forwarding request: host[192.168.10.128], method[GET], path[/dvwa/vulnerabilities/sqli/], urlparams[id=abcde../../../../../../../../../../windows/win.ini&Submit=Submit], body[]
[:39:56]←[33m[>]←[0m [PROXY] Forwarding request: host[192.168.10.128], method[GET], path[/dvwa/vulnerabilities/xss_r/], urlparams[name=)(sn=], body[]
[2011-06-28 10:40:06] ERROR NoMethodError: undefined method []' for nil:NilClass C:/BeEF/./core/main/network_stack/handlers/dynamicreconstruction.rb:80:inexpunge'
C:/Ruby187/lib/ruby/gems/1.8/gems/json-1.5.1-x86-mingw32/lib/json/pure/parser.rb:148:in sort_by' C:/BeEF/./core/main/network_stack/handlers/dynamicreconstruction.rb:80:ineach'
C:/BeEF/./core/main/network_stack/handlers/dynamicreconstruction.rb:80:in sort_by' C:/BeEF/./core/main/network_stack/handlers/dynamicreconstruction.rb:80:inexpunge'
C:/BeEF/./core/main/network_stack/handlers/dynamicreconstruction.rb:53:in check_packets' C:/BeEF/./core/main/network_stack/handlers/dynamicreconstruction.rb:41:ineach'
C:/BeEF/./core/main/network_stack/handlers/dynamicreconstruction.rb:41:in check_packets' C:/BeEF/./core/main/network_stack/handlers/dynamicreconstruction.rb:33:indo_GET'
C:/Ruby187/lib/ruby/1.8/webrick/httpservlet/abstract.rb:35:in __send__' C:/Ruby187/lib/ruby/1.8/webrick/httpservlet/abstract.rb:35:inservice'
C:/Ruby187/lib/ruby/1.8/webrick/httpserver.rb:104:in service' C:/Ruby187/lib/ruby/1.8/webrick/httpserver.rb:65:inrun'
C:/Ruby187/lib/ruby/1.8/webrick/server.rb:173:in start_thread' C:/Ruby187/lib/ruby/1.8/webrick/server.rb:162:instart'
C:/Ruby187/lib/ruby/1.8/webrick/server.rb:162:in start_thread' C:/Ruby187/lib/ruby/1.8/webrick/server.rb:95:instart'
C:/Ruby187/lib/ruby/1.8/webrick/server.rb:92:in each' C:/Ruby187/lib/ruby/1.8/webrick/server.rb:92:instart'
C:/Ruby187/lib/ruby/1.8/webrick/server.rb:23:in start' C:/Ruby187/lib/ruby/1.8/webrick/server.rb:82:instart'
C:/BeEF/./core/main/server.rb:101:in start' beef:64 [2011-06-28 10:40:06] ERROR NoMethodError: undefined method[]' for nil:NilClass
C:/BeEF/./core/main/network_stack/handlers/dynamicreconstruction.rb:80:in expunge' C:/BeEF/./core/main/network_stack/handlers/dynamicreconstruction.rb:80:insort_by'
C:/BeEF/./core/main/network_stack/handlers/dynamicreconstruction.rb:80:in each' C:/BeEF/./core/main/network_stack/handlers/dynamicreconstruction.rb:80:insort_by'
C:/BeEF/./core/main/network_stack/handlers/dynamicreconstruction.rb:80:in expunge' C:/BeEF/./core/main/network_stack/handlers/dynamicreconstruction.rb:53:incheck_packets'
C:/BeEF/./core/main/network_stack/handlers/dynamicreconstruction.rb:41:in each' C:/BeEF/./core/main/network_stack/handlers/dynamicreconstruction.rb:41:incheck_packets'
C:/BeEF/./core/main/network_stack/handlers/dynamicreconstruction.rb:33:in do_GET' C:/Ruby187/lib/ruby/1.8/webrick/httpservlet/abstract.rb:35:insend'
C:/Ruby187/lib/ruby/1.8/webrick/httpservlet/abstract.rb:35:in service' C:/Ruby187/lib/ruby/1.8/webrick/httpserver.rb:104:inservice'
C:/Ruby187/lib/ruby/1.8/webrick/httpserver.rb:65:in run' C:/Ruby187/lib/ruby/1.8/webrick/server.rb:173:instart_thread'
C:/Ruby187/lib/ruby/1.8/webrick/server.rb:162:in start' C:/Ruby187/lib/ruby/1.8/webrick/server.rb:162:instart_thread'
C:/Ruby187/lib/ruby/1.8/webrick/server.rb:95:in start' C:/Ruby187/lib/ruby/1.8/webrick/server.rb:92:ineach'
C:/Ruby187/lib/ruby/1.8/webrick/server.rb:92:in start' C:/Ruby187/lib/ruby/1.8/webrick/server.rb:23:instart'
C:/Ruby187/lib/ruby/1.8/webrick/server.rb:82:in start' C:/BeEF/./core/main/server.rb:101:instart'
beef:64
[:40:06]←[34m[*]←[0m [PROXY] Response for request #219 to [/dvwa/vulnerabilities/xss_r/] on domain [192.168.10.128:80] correctly processed


Google Code Issue: http://code.google.com/p/beef/issues/detail?id=358

@passbe passbe closed this as completed Dec 10, 2011
@passbe
Copy link
Contributor Author

passbe commented Dec 10, 2011

[email protected] on November 24, 2011 16:00:39:

I was testing again with the same Burp settings, and never seen the error with the new Thin and multi-threaded tunneling proxy.

Webrick was really causing us a lot of problems.

Google Code Comment: http://code.google.com/p/beef/issues/detail?id=358#c19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant