ReferenceError: Cc is not defined #8

Closed
ericgross opened this Issue Oct 25, 2010 · 19 comments

Comments

Projects
None yet
@ericgross

Running Windows 7 x86-64 and I get this error when loading the plugin UI.

@darcybross

This comment has been minimized.

Show comment
Hide comment
@darcybross

darcybross Oct 26, 2010

I am having this issue also using Windows XP, FF 3.6.11

I am having this issue also using Windows XP, FF 3.6.11

@darcybross

This comment has been minimized.

Show comment
Hide comment
@darcybross

darcybross Oct 26, 2010

slaps head -- Did you install this: http://www.winpcap.org -- It says you need it on the initial Firesheep page. If I had read the direction properly I'd have caught it the first time. Works great for me now.

slaps head -- Did you install this: http://www.winpcap.org -- It says you need it on the initial Firesheep page. If I had read the direction properly I'd have caught it the first time. Works great for me now.

@DaDubbs

This comment has been minimized.

Show comment
Hide comment
@DaDubbs

DaDubbs Oct 26, 2010

I had the same issue, I had to reinstall WinpCap to get it to work. I had the software installed already. Firesheep may need the 4.12 version of winpcap

DaDubbs commented Oct 26, 2010

I had the same issue, I had to reinstall WinpCap to get it to work. I had the software installed already. Firesheep may need the 4.12 version of winpcap

@Satorin

This comment has been minimized.

Show comment
Hide comment
@Satorin

Satorin Oct 26, 2010

I'm using Windows XP Home Edition, running FF 3.6.11. I've installed 4.12 version of WinpCap first before installing firesheep but I still get the said error message. No luck in reinstalling WinpCap either.

Satorin commented Oct 26, 2010

I'm using Windows XP Home Edition, running FF 3.6.11. I've installed 4.12 version of WinpCap first before installing firesheep but I still get the said error message. No luck in reinstalling WinpCap either.

@YonatanAmir

This comment has been minimized.

Show comment
Hide comment
@YonatanAmir

YonatanAmir Oct 26, 2010

This issue is unresolved on FF3.6.11 on Windows XP SP3 w/ NOD32 4 enterprise.

This issue is unresolved on FF3.6.11 on Windows XP SP3 w/ NOD32 4 enterprise.

@madgrad2002

This comment has been minimized.

Show comment
Hide comment
@madgrad2002

madgrad2002 Oct 26, 2010

I posted this on the other issue, but will repeat it here. For those of you having problems with the ReferenceError, you might want to look into your firewall. I don't know enough about the problem to help, but I had the same issue with Comodo. I removed the firewall and everything worked. Then I reinstalled it (after everything was verified) and it continued to work.

I posted this on the other issue, but will repeat it here. For those of you having problems with the ReferenceError, you might want to look into your firewall. I don't know enough about the problem to help, but I had the same issue with Comodo. I removed the firewall and everything worked. Then I reinstalled it (after everything was verified) and it continued to work.

@Satorin

This comment has been minimized.

Show comment
Hide comment
@Satorin

Satorin Oct 27, 2010

I've tried, but it still doesn't work. (Uninstalling everything and then reinstalling WinpCap, firesheep and then KIS) I'm using Kaspersky Internet Security 2011, and I forgot to mention that I'm on SP3 as well.

Satorin commented Oct 27, 2010

I've tried, but it still doesn't work. (Uninstalling everything and then reinstalling WinpCap, firesheep and then KIS) I'm using Kaspersky Internet Security 2011, and I forgot to mention that I'm on SP3 as well.

@Satorin

This comment has been minimized.

Show comment
Hide comment
@Satorin

Satorin Oct 28, 2010

Has anybody who had this problem managed to resolve it yet? I still get the error even after re-installling everything (FF, WinpCap and firesheep) and upgrading FF to 3.6.12.

Satorin commented Oct 28, 2010

Has anybody who had this problem managed to resolve it yet? I still get the error even after re-installling everything (FF, WinpCap and firesheep) and upgrading FF to 3.6.12.

@LucasEmanuel

This comment has been minimized.

Show comment
Hide comment
@LucasEmanuel

LucasEmanuel Oct 28, 2010

I have the same problem, and I get several other reference errors to. If i try to go to settings i get another, and another if i go to another tab.

Im using
Windows 7 x64 Ultimate
FireFox 3.6.11

I have the same problem, and I get several other reference errors to. If i try to go to settings i get another, and another if i go to another tab.

Im using
Windows 7 x64 Ultimate
FireFox 3.6.11

@marcohoule

This comment has been minimized.

Show comment
Hide comment
@marcohoule

marcohoule Nov 1, 2010

I think the card is the problem , if i disable the card and put another one , it's kinda working except that my other card seems not working in promiscuous mode :(

I think the card is the problem , if i disable the card and put another one , it's kinda working except that my other card seems not working in promiscuous mode :(

@pisto

This comment has been minimized.

Show comment
Hide comment
@pisto

pisto Nov 20, 2010

I have had the same problem on Linux 64 bit (Ubuntu 10.04), and I've succesfully solved it with a little hack. The problem is in the code that lists the network interface: if it fails to get the vendor of a articular devices, a runtime exception is thrown, which causes the backend to abort, even if I can hardly say that the problem is fatal. You can check if the problem is this one on your machine by running the backend with the --list-interfaces command. On my configuration, it fails when fetching the vendor of the virtual adapter of virtualbox.
So, the quick fix is changing a little thing in backend/src/linux_platfrom.cpp: line 48, "throw ex;" in something less harmful as "return string("ERROR");".

pisto commented Nov 20, 2010

I have had the same problem on Linux 64 bit (Ubuntu 10.04), and I've succesfully solved it with a little hack. The problem is in the code that lists the network interface: if it fails to get the vendor of a articular devices, a runtime exception is thrown, which causes the backend to abort, even if I can hardly say that the problem is fatal. You can check if the problem is this one on your machine by running the backend with the --list-interfaces command. On my configuration, it fails when fetching the vendor of the virtual adapter of virtualbox.
So, the quick fix is changing a little thing in backend/src/linux_platfrom.cpp: line 48, "throw ex;" in something less harmful as "return string("ERROR");".

@codebutler

This comment has been minimized.

Show comment
Hide comment
@codebutler

codebutler Nov 22, 2010

Owner

Could someone on windows who's having this problem please try running firesheep-backend.exe --list-interfaces using a command prompt from within the extension directory and let me know what happens?

Owner

codebutler commented Nov 22, 2010

Could someone on windows who's having this problem please try running firesheep-backend.exe --list-interfaces using a command prompt from within the extension directory and let me know what happens?

@fragioud

This comment has been minimized.

Show comment
Hide comment
@fragioud

fragioud Nov 25, 2010

The result of command is:

{"\Device\NPF_{464E5239-5533-4983-B0C2-E3AAB20EC96C}":{"name":"Realtek
PCIe FE Family Controller","type":"ethernet"},"\Device\NPF_{541F075A-98
CE-49E1-AB32-B3C6AF51B9FD}":{"name":"3DSP USB Wireless A+G Notebook Adapter","type":"ethernet"}}

I 'm running windows 7 32bit with firefox 3.6.12 if it helps...

The result of command is:

{"\Device\NPF_{464E5239-5533-4983-B0C2-E3AAB20EC96C}":{"name":"Realtek
PCIe FE Family Controller","type":"ethernet"},"\Device\NPF_{541F075A-98
CE-49E1-AB32-B3C6AF51B9FD}":{"name":"3DSP USB Wireless A+G Notebook Adapter","type":"ethernet"}}

I 'm running windows 7 32bit with firefox 3.6.12 if it helps...

@pflammertsma

This comment has been minimized.

Show comment
Hide comment
@pflammertsma

pflammertsma Nov 26, 2010

I'm getting the exact same symptoms as fragioud. Specifying --list-interfaces gives:

{"\\\\Device\\\\NPF_\\{3AF939B4-B6F5-4984-8061-9BE037A1E297\\}":
{"name":"Microsoft","type":"ethernet"},
"\\\\Device\\\\NPF_\\{49B8C35F-933F-49F4-B7A6-C475DD91D908\\}":
{"name":"Hamachi Virtual Network Interface Driver","type":"ethernet"},
"\\\\Device\\\\NPF_\\{53E90C29-686B-4DBA-84FE-A4397FE5BB84\\}":
{"name":"Microsoft","type":"ethernet"},
"\\\\Device\\\\NPF_\\{D820294F-BDF6-41D0-8721-DB7032D06CF5\\}":
{"name":"Marvell Yukon Ethernet Controller.","type":"ethernet"}}

I'm using Fx 4b7 or Fx 3.6.12 with WinPcap 4.12 on Windows 7 Professional.

I'm getting the exact same symptoms as fragioud. Specifying --list-interfaces gives:

{"\\\\Device\\\\NPF_\\{3AF939B4-B6F5-4984-8061-9BE037A1E297\\}":
{"name":"Microsoft","type":"ethernet"},
"\\\\Device\\\\NPF_\\{49B8C35F-933F-49F4-B7A6-C475DD91D908\\}":
{"name":"Hamachi Virtual Network Interface Driver","type":"ethernet"},
"\\\\Device\\\\NPF_\\{53E90C29-686B-4DBA-84FE-A4397FE5BB84\\}":
{"name":"Microsoft","type":"ethernet"},
"\\\\Device\\\\NPF_\\{D820294F-BDF6-41D0-8721-DB7032D06CF5\\}":
{"name":"Marvell Yukon Ethernet Controller.","type":"ethernet"}}

I'm using Fx 4b7 or Fx 3.6.12 with WinPcap 4.12 on Windows 7 Professional.

@four43

This comment has been minimized.

Show comment
Hide comment
@four43

four43 Dec 9, 2010

On Ubuntu 10.10 x64, running Firefox 3.6.12, I ran:
/.mozilla/firefox/[PROFILE NAME]/extensions/firesheep@codebutler.com/platform/Linux_x86_64-gcc3$ sudo ./firesheep-backend --list-interfaces

Returns:
error: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Hal was not provided by any .service files
terminate called after throwing an instance of 'std::logic_error'
what(): basic_string::_S_construct NULL not valid
Aborted (core dumped)

EDIT: lspci returns this for network devices:

 03:00.0 Network controller: Intel Corporation WiFi Link 5100
 06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)

I hope that helps, thanks.

four43 commented Dec 9, 2010

On Ubuntu 10.10 x64, running Firefox 3.6.12, I ran:
/.mozilla/firefox/[PROFILE NAME]/extensions/firesheep@codebutler.com/platform/Linux_x86_64-gcc3$ sudo ./firesheep-backend --list-interfaces

Returns:
error: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Hal was not provided by any .service files
terminate called after throwing an instance of 'std::logic_error'
what(): basic_string::_S_construct NULL not valid
Aborted (core dumped)

EDIT: lspci returns this for network devices:

 03:00.0 Network controller: Intel Corporation WiFi Link 5100
 06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)

I hope that helps, thanks.

@solman

This comment has been minimized.

Show comment
Hide comment
@solman

solman Jan 21, 2011

I have the previously described issue under Windows 7 and FF 3.6.13 as well. Any resolution hint so far?

solman commented Jan 21, 2011

I have the previously described issue under Windows 7 and FF 3.6.13 as well. Any resolution hint so far?

@cardassian-tailor

This comment has been minimized.

Show comment
Hide comment
@cardassian-tailor

cardassian-tailor Feb 16, 2011

im having the same issue, cc not defined, ubuntu 10.10 firefix 3.6
cant get around the error.

im having the same issue, cc not defined, ubuntu 10.10 firefix 3.6
cant get around the error.

@TrivialPursuit

This comment has been minimized.

Show comment
Hide comment
@TrivialPursuit

TrivialPursuit Mar 4, 2011

Had the same problem on Asus eeepc 701 , Leeenux 4.1 extended, Ubuntuzilla.
Followed pisto's advice;

So, the quick fix is changing a little thing in backend/src/linux_platfrom.cpp: line 48, "throw ex;" in something less harmful as "return string("ERROR");".

Build the firesheep again;

./autogen.sh

make

firesheep-backend--list-interfaces returned

terminate called after throwing an instance of 'std::runtime_error'
what(): Could not initialize connection to hald, is it running?

Then I noticed hal was missing so I DL'd it and ran it;

apt-get install hal

hald

now firesheep backend--list interfaces returns;

{"wlan0":{"name":"Atheros Communications Inc. AR5001 Wireless Network Adapter","type":"ieee80211_monitor"},"eth0":{"name":"Atheros Communications L2 100 Mbit Ethernet Adapter","type":"ethernet"}}

and firesheep finds my interfaces and does not report ReferenceError: Cc is not defined anymore!

Problem solved, thanks pisto!

Had the same problem on Asus eeepc 701 , Leeenux 4.1 extended, Ubuntuzilla.
Followed pisto's advice;

So, the quick fix is changing a little thing in backend/src/linux_platfrom.cpp: line 48, "throw ex;" in something less harmful as "return string("ERROR");".

Build the firesheep again;

./autogen.sh

make

firesheep-backend--list-interfaces returned

terminate called after throwing an instance of 'std::runtime_error'
what(): Could not initialize connection to hald, is it running?

Then I noticed hal was missing so I DL'd it and ran it;

apt-get install hal

hald

now firesheep backend--list interfaces returns;

{"wlan0":{"name":"Atheros Communications Inc. AR5001 Wireless Network Adapter","type":"ieee80211_monitor"},"eth0":{"name":"Atheros Communications L2 100 Mbit Ethernet Adapter","type":"ethernet"}}

and firesheep finds my interfaces and does not report ReferenceError: Cc is not defined anymore!

Problem solved, thanks pisto!

@JermainMX

This comment has been minimized.

Show comment
Hide comment
@JermainMX

JermainMX Mar 22, 2011

Hi,
Had the same problem to solve, in the Device Manager disable all network adapters, leaving active only my wireless card. I hope someone else will serve

Hi,
Had the same problem to solve, in the Device Manager disable all network adapters, leaving active only my wireless card. I hope someone else will serve

@codebutler codebutler closed this Mar 10, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment