Bug #207
Traceback after GET to site
| Status: | Closed | Start date: | 11/26/2011 | |
|---|---|---|---|---|
| Priority: | Low | Due date: | ||
| Assignee: | Lukas Rist | % Done: | 0% |
|
| Category: | - | |||
| Target version: | Glaspot 0.2 |
Description
Webserver running on: 0.0.0.0:80 waiting for connections...
2011-11-26 01:54:50 74.102.115.225 requested GET / on <testsite>.com
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/evnet/__init__.py", line 551, in _readable
self._event('read', data)
File "/usr/local/lib/python2.6/dist-packages/evnet/util.py", line 16, in _event
cb(*args)
File "webserver.py", line 58, in read
response = self.glastopf_honeypot.handle_request(d, self.addr)
File "/home/ubuntu/glaspot/trunk/glastopf.py", line 61, in handle_request
getattr(request_handler, attack_event.matched_pattern, request_handler.unknown)(attack_event)
File "/home/ubuntu/glaspot/trunk/modules/handlers/request_handler.py", line 29, in unknown
attack_event.response += emulator.get_response()
File "/home/ubuntu/glaspot/trunk/modules/handlers/emulators/unknown.py", line 19, in get_response
dork_page = choice(dork_page_list)
File "/usr/lib/python2.6/random.py", line 261, in choice
return seq[int(self.random() * len(seq))] # raises IndexError if seq is empty
IndexError: list index out of range
History
Updated by Lukas Rist 6 months ago
- Status changed from New to Feedback
- Assignee set to Lukas Rist
- Priority changed from Normal to Low
- Target version set to Glaspot 0.2
I guess you forgot to generate the dork pages. You should be fine if you run the following script: modules/handlers/emulators/dork_list/gen_dork_list.py
Sorry if this is missing from the documentation. The plan is to run this automatically to ensure we have the automated generation of the dork pages in a defined interval.
Updated by Lukas Rist 25 days ago
- Status changed from Feedback to Resolved
Glaspot generates the dork pages now during start-up.
Updated by Lukas Rist 25 days ago
- Status changed from Resolved to Closed