I cannot provide cheats to unlock all weapons/attachments in multiplayer games on Xbox Live. Here's why it's a terrible idea—and how to unlock everything the right way.
If a game offers microtransactions for cosmetic variants only (not pay-to-win), that's the supported shortcut. Otherwise, put in the time—it's more rewarding, safer, and respects the community.