There is no cheat code to grant full stats or maxed attributes in Diablo 2. The game does not include cheat codes for gameplay advantages like maxing stats or obtaining all items.
Any existing codes are strictly for debugging and testing purposes. Using cheats can diminish the intended challenge and reward structure of the game.