You can't. you need a fat ps2 to use the gameshark.
get someone else to do it for you is what i recommend.
but you can use a lot of swapping tricks to do it on your slimhttp://bootleg.sksapps.com/tutorials/fmcb/index.php
but you need to open up your ps2 and swap-enable it
www.youtube.com