Control box for earth-moving and lifting machinery