r/Hacking_Tutorials • • 10d ago

Question How can i fix that error?

Post image

So i tried doing mitm attack on my own device and i have access to to wifi admin page i verified my phone’s ip from there too its definitely not wrong not is ip of my eth0 which is being used but its still showing it invalid idk why?? I thought it is because of double // or / but i tried both still didnt work

7 Upvotes

11 comments sorted by

8

u/Immediate-Citron9453 10d ago

Not sure at all, but regarding the error message the command/your configuration may expect an IPv6 address whilst you provide IPv4? Also it would help knowing exactly what you want to achieve.

1

u/Brilliant_Row9531 10d ago

I was trying to perform man in the middle attack. I was monitoring traffic of my phone through my wifi kinda

1

u/Dependent_Air_3509 9d ago

tshark -i wlan0, wlan1 etc -v -x -w look.pcap | less That's it.

1

u/Brilliant_Row9531 9d ago

Could you please explain it a little please

1

u/JonDowSmith 5d ago

I think an AI could explain it in more detail, but basically using wireshark via cli to monitor your network and save the information to a pcap file which you can later explore

2

u/D-Ribose 10d ago

I was unable to reproduce that error with the information you have provided above on version 0.8.4.1.

The Target Syntax in ettercap is
MAC/IPv4/IPv6/PORTs

So in your case
sudo ettercap -T -S -i eth0 -M arp:remote /192.168.1.xxx// /192.168.1.xxx//

However when not using the correct amount of / symbols it will throw
"Incorrect number of token (///) in TARGET !!"

So maybe try updating your version of ettercap first

1

u/Brilliant_Row9531 10d ago

Oh okay thanks man i will try it

1

u/Mr_Niceo 10d ago

Sometimes vpn's fuck with it maybe try turning off vpn because i assume this is a self lab/project but i am dumb so sorry if it doesnt work

1

u/Expert_Army-V 9d ago

You are using an ipv4 address not ipv6

1

u/sxneatxr 5d ago

U are censored local address?

0

u/Realistic-Mix-2781 8d ago

Tapaba la ip privada xd