PDA

View Full Version : X11 error using webspy on Mac OS X


calvin80
04-19-2005, 03:10 AM
I am trying to run webspy (from dsniff) on Max OS X - but getting some errors regarding X11.

I assume that webspy is sending a command to netscape and trying to launch the netscape browser on X11 where its getting this error:

Here is the error:
----------------------------------------------
My-Computer:~ calvin80$ sudo /usr/local/sbin/webspy -i en1 192.168.0.100
webspy: listening on en1
openURL(http://216.239.39.99/)
webspy: not running on display localhost:0.0
My-Computer:~ calvin80$
----------------------------------------------

I am trying to run webspy here from an xterm terminal that launches once you start Utilities/X11.app

I even tried xhost+ to disable X11 authentication - that did not help either.

Looking at the source code of webspy, it seems it is sending a command to mozilla remote control to launch the window with the specific URL - but before launching the window - there is some check about the display which fails.

Has anyone been able to go around this?

-calvin80

gunnmjk
06-06-2005, 01:58 AM
the OpenURL command is looking for a web browser configured in x11, but sicnce there isn't one, it fails. I'm pretty sure there is a way to do this, but I am not sure. I have to do some research.