Admiral Mullen said militants are not only launching attacks in neighboring Afghanistan , but inside Pakistan as well .