hoodwink.d enhanced
RSS
2.0
XHTML
1.0

RedHanded

Announcing the MouseHole Proxy #

by why in inspect

MouseHole is a scriptable proxy. Like Greasemonkey, but scripts are in Ruby. This is what we’ve been getting at.

No installation, just unzip/untar. Run mouseHole.exe or ruby mouseHole.rb (depending on your download). Proxy goes to IP 127.0.0.1 and port 37004. User scripts go in the userScripts directory. Proxy runs any .user.rb scripts in that directory.

If you want to Hoodwink through MouseHole, log in and click on the user.rb link in the top menu. Put the script in the userScripts directory and restart mouseHole.

A few things to note:

  • It’s slow.
  • The HTML can get pretty munged up.
  • Crashes are common.
said on 29 Aug 2005 at 18:13

Come on Alice, everyone through the mouseHole!

said on 29 Aug 2005 at 18:22

Quick note, it looks like it needs iconv which isn’t installed by default…

said on 29 Aug 2005 at 18:27

mouseHole…liked the other name better.

said on 29 Aug 2005 at 19:01

netghost: I’m including the Windows binary for iconv. OSX comes with it. Linux distributions should include it. I think we’ve got everyone covered.

said on 29 Aug 2005 at 20:08

MouseHole works nicely, but the Hoodwink’d user.rb fails with “getaddrinfo: no address associated with hostname.”

Something I’m doing wrong?

said on 29 Aug 2005 at 20:59

Hmmm… if I’m understanding MouseHole’s source right, this isn’t JUST a Proxy server capable of running Ruby User Scripts, this is a full fledged Web Server that can be used to host local Web Applications given an arbitrary domain.

why, WEBrick doesn’t have a problem with session state, does it? I have a devious idea that I could probablly make a rudimentary implementation of, but could not exploit fully.

said on 29 Aug 2005 at 21:04

Okay, maybe not full fledged.

But fledged enough for my chunky purposes.

said on 29 Aug 2005 at 21:06

Getting the same result as chisoverzerc when using the hoodlum.rb with mousehole :/

said on 29 Aug 2005 at 21:47

Is MouseHole what WonderLand became (MrCode’s code) or is it what _Why and MenTal were working on?

said on 29 Aug 2005 at 22:46

odanuki: hoodlum.rb is a totally different proxy. use the hoodwinkd.user.rb after you login.

This proxy is mine. And is meant to put undue pressure on MrCode to reveal Wonderland. And I trust he will rip off the stuff he needs.

said on 30 Aug 2005 at 06:08

Well, I am using hoodwinkd.user.rb, and I’m getting that error.

said on 30 Aug 2005 at 07:11

I’m going to have to kill you guys. And/or release Wonderland soon. You dirty thunder-stealers! ;)

I’ve found what I consider a bug in HTree that I emailed Tanaka Akira about which can mess up the CSS and JavaScript of “scripted” pages, so beware (basically it treats HTML comments as text and escapes the < and >.)

said on 30 Aug 2005 at 08:11

Diff mouseHole’s lib/htree against the HTree dist and you’ll find I’ve hacked around that same problem. Also see lib/rexml/htmlwrite.rb wherein I force REXML to show close tags for most empty elements.

Still, you have advantages: I don’t have gzip support and there is backlash against my choice of name. GIVE US WONDERLAND .

said on 30 Aug 2005 at 11:22

odanuki: MouseHole is maybe a very distant descendant of hoodlum.rb, but mouseHole is pretty much all why’s code.

I think perhaps the correct evolutionary path is for hoodlum.rb to become a mouseHole script that injects greasemonkey scripts into HTML (thereby effectively letting you use greasemonkey scripts with mouseHole).

It would also have a pleasant circularity to it.

said on 31 Aug 2005 at 11:49

“Proxy runs any .user.rb scripts in that directory.” not happening for me.

Comments are closed for this entry.