I've noticed that some portals seem to give out way better stuff than others. It seems to me that friendly, high level portals give out the best items when hacked, and enemy, high level portals give out the worst items when hacked. I also think the player level has something to do with it since I'm getting better items than I used to, even though I occasionally got higher level items when I was a lower level player.
Does anyone know for sure what the factors are for determining how good the items are from a hack? Or at least anecdotally know?