Help Me with Army training

hello guys ! i am planning to apply to special forces in my country by august. but i have a problem, i was overweight until last year where i dropped from 130 kg to 100 and hitting the gym consistenly about 5 months. but for speacial forces they test your endurance like how many push ups and pullups can you do in 5 minutes or smth. i can hit 10 push ups clean but cannot up my numbers. as for pull ups cant even do one. ive been trying hard in the gym but it does not help me with my goals. i would appreciate it if you guys help me with training routines or programs to increase my numbers and past the test. thank you for reading !