Bellhop 1.0.0 released

Hi folks,

It is my great pleasure to release this new wonderful tool.

http://gemcutter.org/gems/bellhop

== Usage:

First fire up an unpatched webrick somewhere, say, localhost:8080,
ideally from within an xterm.

Then:
$ bellhop http://localhost:8080

== Documentation

http://tinyurl.com/ycycb7q

== Need Help?

Just ring my bell. Or your friend’s bell. Or even your own.

Enjoy!

-greg

And what is it?

On Mon, Jan 11, 2010 at 4:45 PM, [email protected] [email protected]
wrote:

And what is it?

Unpack the gem and read the source.

-greg

El Martes, 12 de Enero de 2010, Gregory B.
escribió:> On Mon, Jan 11, 2010 at 4:45 PM, [email protected] [email protected] wrote:

And what is it?

Unpack the gem and read the source.

A brief description could invite the people to install and try the gem
:slight_smile:

Iñaki Baz C. wrote:

I believe the idea is that it is a surprise.

-Justin

On Mon, Jan 11, 2010 at 6:24 PM, Iñaki Baz C. [email protected] wrote:

El Martes, 12 de Enero de 2010, Gregory B. escribió:

On Mon, Jan 11, 2010 at 4:45 PM, [email protected] [email protected] wrote:

And what is it?

Unpack the gem and read the source.

A brief description could invite the people to install and try the gem :slight_smile:

It is just a fun little exploit based on the recently announced
security vulnerability in Webrick. It is mostly harmless, and was
written for entertainment value.
Read the source to know exactly what it does before running it, or
just fire up webrick in an xterm and point it at it if you trust me.

-greg

Iñaki Baz C. wrote:

El Martes, 12 de Enero de 2010, Gregory B. escribió:

On Mon, Jan 11, 2010 at 4:45 PM, [email protected] [email protected] wrote:

And what is it?
Unpack the gem and read the source.

A brief description could invite the people to install and try the gem :slight_smile:

When I saw it was from Greg I just went and installed it. :wink:

Then I looked at the source …

Yeah, there’s a WTF? thing going on. :wink:


James B.

www.jamesbritt.com - Playing with Better Toys
www.ruby-doc.org - Ruby Help & Documentation
www.rubystuff.com - The Ruby Store for Ruby Stuff
www.neurogami.com - Smart application development

On Mon, Jan 11, 2010 at 2:51 PM, Gregory B.
[email protected] wrote:

Hi folks,

It is my great pleasure to release this new wonderful tool.

http://gemcutter.org/gems/bellhop

For the less adventurous, here are some instructions on how to get
bellhop running:

http://pastie.org/775230

-greg

El Martes, 12 de Enero de 2010, Gregory B.
escribió:> bellhop running:

http://pastie.org/775230

I get this error:

[2010-01-12 20:00:42] ERROR `/’ not found.
localhost - - [12/Jan/2010:20:00:42 CET] “GET /%07 HTTP/1.1” 404 271

  • -> /%07
    [2010-01-12 20:00:42] ERROR `/’ not found.
    localhost - - [12/Jan/2010:20:00:42 CET] “GET /%07 HTTP/1.1” 404 271
  • -> /%07
    [2010-01-12 20:00:42] ERROR `/’ not found.
    localhost - - [12/Jan/2010:20:00:42 CET] “GET /%07 HTTP/1.1” 404 271
  • -> /%07
    [2010-01-12 20:00:42] ERROR `/’ not found.
    localhost - - [12/Jan/2010:20:00:42 CET] “GET /%07 HTTP/1.1” 404 271
  • -> /%07
    [2010-01-12 20:00:42] ERROR `/’ not found.
    localhost - - [12/Jan/2010:20:00:42 CET] “GET /%07 HTTP/1.1” 404 271
  • -> /%07
    [2010-01-12 20:00:42] ERROR `/’ not found.
    localhost - - [12/Jan/2010:20:00:42 CET] “GET /%07 HTTP/1.1” 404 271
  • -> /%07
    [2010-01-12 20:00:42] ERROR `/’ not found.
    localhost - - [12/Jan/2010:20:00:42 CET] “GET /%07 HTTP/1.1” 404 271
  • -> /%07

Tested with “old” ruby 1.8.7 and 1.9.1.

El Martes, 12 de Enero de 2010, Gregory B.
escribió:> That’s expected. There isn’t a / route. Do you have your system

bell turned on? If you do, you should be having a very annoying
experience right now.

I tested this in xterm on linux and Terminal on OS X. Not sure where
else it’d work.

I think my laptop has no system bell or I dissabled it long time ago :slight_smile:

On Tue, Jan 12, 2010 at 2:02 PM, Iñaki Baz C. [email protected] wrote:

I get this error:

[2010-01-12 20:00:42] ERROR `/’ not found.
localhost - - [12/Jan/2010:20:00:42 CET] “GET /%07 HTTP/1.1” 404 271

  • -> /%07

Tested with “old” ruby 1.8.7 and 1.9.1.

That’s expected. There isn’t a / route. Do you have your system
bell turned on? If you do, you should be having a very annoying
experience right now.

I tested this in xterm on linux and Terminal on OS X. Not sure where
else it’d work.

On Tue, Jan 12, 2010 at 2:24 PM, Iñaki Baz C. [email protected] wrote:

El Martes, 12 de Enero de 2010, Gregory B. escribió:

I think my laptop has no system bell or I dissabled it long time ago :slight_smile:

That would explain it.

I guess I’m in the weird minority that likes to feel old school by
making my actual machine beep. :wink:

-greg

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs