Open 2chfl opened 3 years ago
I have the same problem. I have try to install clang / gcc I have try to ip route / ip addr / change default gw But all failed, could anyone help me?
I had something similar, but it was with make. It wouldn't let me build it.
sudo masscan 1.1.1.1/16 -p 80 --interface rmnet_data1 [-] if(rmnet_data1): unknown data link type: 113(LINUX_SLL) [-] FAIL: failed to detect MAC address of interface: "rmnet_data1" [hint] try something like "--source-mac 00-11-22-33-44-55"
sudo masscan 1.1.1.1/16 -p 80 --interface rmnet_data1 -vn [+] pcap: found library: libpcap.so [+] interface = rmnet_data1 [+] if(rmnet_data1): pcap: libpcap version 1.10.0 (with TPACKET_V3) [+] if(rmnet_data1): successfully opened [-] if(rmnet_data1): unknown data link type: 113(LINUX_SLL) [+] interface-type = 113 if:rmnet_data1: type=0x0212 [-] FAIL: failed to detect MAC address of interface: "rmnet_data1" [hint] try something like "--source-mac 00-11-22-33-44-55"
I'm trying to run masscan under termux. It works fine over WiFi, but completely fails over the mobile network (interface rmnet_data1). It doesn't start because it requires explicit mac-adress, but rmnet_data1 interface has no mac-address.
Nmap through the same interface works fine.
I also attach the results of ifconfig. The interface has no mac address.
I looked through the other tips and there it was mentioned that you can specify --adapter-mac 00-00-00-00-00-00-00. It didn't work.
By specifying a random Mac for the router and adapter, the scanning starts, but there is nothing in the results