.Mac. said:
Boba somehow knew how and which Star Destroyer Han was hiding on (in my experience there's no such thing as luck).
could very well be that he was just hiding in the garbage IN CASE Han tried the same trick...maybe he didn't know a damn thing but his bounty hunter instinct told him to try that before leaving in case it panned out.