If I plug a 4g dongle into the RPI, I just get internet (eth1) and my remote shell is created with my c2 server.
If I then plug in a network cable, I should basically receive a new ip by executing dhclient eth0. As soon as i execute dhclient eth0, i lost my reverse shell.
Anyone have an idea how to avoid that 'refresh' or whatever it is ?
If I plug a 4g dongle into the RPI, I just get internet (eth1) and my remote shell is created with my c2 server. If I then plug in a network cable, I should basically receive a new ip by executing dhclient eth0. As soon as i execute dhclient eth0, i lost my reverse shell. Anyone have an idea how to avoid that 'refresh' or whatever it is ?