pentest2 - TS Solution