I think that finally catch that. In this way is normal that two hashes will be the same.
https://en.bitcoin.it/wiki/Script#Standard_Transaction_to_Bitcoin_address
Here I see the sentence that I needed to understand.
Note: scriptSig is in the input of the spending transaction and scriptPubKey is in the output of the previously unspent i.e. "available" transaction.
Thank you for your help, theymos.