Re: dreambox
"Gavin Hanover" <[email protected]> Thu, 27 Dec 2007 15:04:27 -0700
| Newsgroups | gmane.network.irc.bopm |
|---|---|
| Message-ID | <[email protected]> |
it would seem that not all dreamboxes have telnet, so adding a 2nd command for using nc would be a good idea src/libopm/src/proxy.c around line 247, add: len = snprintf(SENDBUF, SENDBUFLEN, "nc %s %d\r\n", scan_ip, scan_port); send(conn->fd, SENDBUF, (unsigned int)len, 0); On Dec 27, 2007 11:01 AM, Gavin Hanover <[email protected]> wrote: > it was brought to efnet admins attention that dreambox machines with > default password ('dreambox' or empty password) can be utilized much > the same way cisco routers with default passwords. > > attached is a patch for 3.1.3 to scan for these dreambox machines using: > protocol DREAMBOX:23; > in config. > > my diff skills aren't the greatest, nor is my familiarity with the > bopm source code, so you'll need --ignore-whitespaces to apply the > patch, and i got an error when compiling config-lexer.c which was > fixed with `touch src/config-lexer.l && make` > > Gavin > > -- > In God we trust, > Everyone else must have an x.509 certificate. > -- In God we trust, Everyone else must have an x.509 certificate.