Announcing the MouseHole Proxy #
MouseHole is a scriptable proxy. Like Greasemonkey, but scripts are in Ruby. This is what we’ve been getting at.
- Windows users: mousehole-1.0-exe.zip
- Everyone else: mousehole-1.0.tar.gz or mousehole-1.0.zip
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.
8:>o
Come on Alice, everyone through the mouseHole!
netghost
Quick note, it looks like it needs iconv which isn’t installed by default…
smartypants
mouseHole…liked the other name better.
why
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.
chrisoverzero
MouseHole works nicely, but the Hoodwink’d user.rb fails with “getaddrinfo: no address associated with hostname.”
Something I’m doing wrong?
Danno
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.
Danno
Okay, maybe not full fledged.
But fledged enough for my chunky purposes.
odanuki
Getting the same result as chisoverzerc when using the hoodlum.rb with mousehole :/
:{
Is MouseHole what WonderLand became (MrCode’s code) or is it what _Why and MenTal were working on?
why
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.
chrisoverzero
Well, I am using hoodwinkd.user.rb, and I’m getting that error.
MrCode
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 >.)
why
Diff mouseHole’s
lib/htree
against the HTree dist and you’ll find I’ve hacked around that same problem. Also seelib/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 .
MenTaLguY
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.
jes5199
“Proxy runs any .user.rb scripts in that directory.” not happening for me.
Comments are closed for this entry.