tuyadump icon indicating copy to clipboard operation
tuyadump copied to clipboard

Help me please

Open briggitteorellana opened this issue 5 years ago • 11 comments

Hi I need help, I am trying to run this project but I am getting various errors. dump2

briggitteorellana avatar Oct 05 '20 22:10 briggitteorellana

Please proceed as stated in the README.md file and build tuyadump with a single command line : go build tuyadump.go comm-msg.go crypto.go dodump.go debug.go In addition, you are trying to run Tuyadump in VirtualBox, you will most probably run into trouble because in such an environment, libPCAP has limited access to the network device. Let me suggest to run tuyadump on the host.

py60800 avatar Oct 06 '20 05:10 py60800

Mmm, can I then run your dump on windows? How would its execution be?

briggitteorellana avatar Oct 06 '20 20:10 briggitteorellana

dump3

this I got when running

briggitteorellana avatar Oct 07 '20 00:10 briggitteorellana

Tuyadump could be run on Windows system with Winpcap or Npcap library. Read gopacket documentation.

I don't know Spanish but I guess that "order no encontrada" means "Command not found"... you must be very new to Linux for not being able to correct the command line to "sudo ./tuyadump...".

py60800 avatar Oct 07 '20 06:10 py60800

I already installed in windows go, ncap, I want to run the program but I get this and I have the device connected, what should I do? nuevo

briggitteorellana avatar Oct 10 '20 18:10 briggitteorellana

Unfortunately, I do not have any Windows machine to run similar test (I use Linux as my main OS). Anyway, the command line should look like: tuyadump -C tuyaconfig.json -i eth0 port 6668

The "-i" option can be used to set the network interface on which tuyadump can listen. If you have a single network interface, you should not need to set this option but if multiple exist, you will have to specify it. eth0 defines an Ethernet local network.

My suggestion is to install wireshark in order to identify the configuration that is effective for you environment and to use wireshark to view the encrypted packets. Once, wireshark can view the message to/from the connected devices, you should be able to do the same with tuyadump, using similar parameters.

py60800 avatar Oct 10 '20 20:10 py60800

enviardump

masterIP is the ip of the computer? or which?

briggitteorellana avatar Oct 11 '20 00:10 briggitteorellana

I get these results, but I cannot differentiate any clear information enviardump3

briggitteorellana avatar Oct 11 '20 01:10 briggitteorellana

You almost get it. a) The master IP is the IP on which runs the software that controls your devices and where, most probably, you run tuyadump. b) I understand that you have a device that uses 3.3 protocol. You should have downloaded the tuyadump version that support this protocol. Anyway, I just made the version with 3.3 protocol support, the default one. So I suggest to rename the tuyadump directory in order to have a backup and than to run go get ... to download tuyadump with 3.3 protocol support. You must also specify the protocol version in the config file (according to the documentation).

py60800 avatar Oct 11 '20 05:10 py60800

hey @py60800 , also wanted to try out this one, to snif my pet feeder first installed : libpcap-dev then afterwards go get "github.com/google/gopacket" go get "github.com/py60800/tuyadump"

But the build gives me issues?

What am i missing?

image

pergolafabio avatar Dec 11 '22 08:12 pergolafabio

seems its looking in the wrong directorys ? how can i add that path so it can find the fies?

image

pergolafabio avatar Dec 11 '22 08:12 pergolafabio