Short answer: no, you can't. The Red Star Sword in AdventureQuest Worlds isn't something that can be hacked, so your best route is to earn or obtain it through legitimate in-game means.