Error when Using tun0 over vpn access
Hi there! I am connected via vpn to an internal network and am trying to use pretender by running with the sudo pretender -i tun0 but in the output i got;
`sudo pretender -i tun0 Pretender by RedTeam Pentesting built from git commit 0dae2f91ac Listening on interface: tun0 IPv4 relayed to: 10.10.14.17
00:25:42 [LLMNR] listening via UDP on [ff02::1:3%tun0]:5355 00:25:42 [DNS] listening via TCP on [fe80::683e:33dc:e9c0:2212%tun0]:53 00:25:42 [DNS] listening via UDP on [fe80::683e:33dc:e9c0:2212%tun0]:53 00:25:42 [NetBIOS] listening via UDP on 10.10.15.255:137 00:25:42 [mDNS] listening via UDP on [ff02::fb%tun0]:5353 00:25:42 [mDNS] listening via UDP on 224.0.0.251:5353 00:25:42 [LLMNR] listening via UDP on 224.0.0.252:5355 00:25:42 [DHCPv6] listening via UDP on [ff02::1:2%tun0]:547 00:25:42 [RA] sending router advertisement: ndp: invalid link-layer address: "" 00:25:42 [RA] sending unsolicited router advertisement`
I installed it via cloning the repo and using go build. Could this be an issue with my setup or is there smth i need to change?
If its at all relevant, when I ran mitm6; I had to make a change to mitm6.py on line 57 where I added a psudeo mac address as it was otherwise erroring out. I think its due to tun0 not having a mac address at times?
Hi, the router advertisements contain an option with the MAC address and this option cannot be constructed when the MAC is empty. However, it seems like the option is not actually required. I created a PR that omits the option when no MAC is present on the interface.
Can you try out #10 and let me know if it fixes the issue? I also noticed that your relay IPv6 was not auto-detected, could you test the PR with "-v"?
Hi there; will be sure to check it out later in the day! thanks : )
Did you find the time to try it, yet? While the PR should fix the issue I'd like to find out why the DNS listener bound to a link-local IPv6 address but no IPv6 relay address was detected. I added a verbose log message in the PR to find out.
@ThatTotallyRealMyth did you find some time to test it, yet?