Registration Code (Part 1): w%kQ6
Registration Code (Part 2): b<#$1[*(cw~
In order to register on this forum, you must use the codes above. Combine them into one code (copy paste).

toxy v2 - Terraria Packet Editor / Proxy

Topics regarding the hit sandbox builder/adventure game Terraria.
Post Reply
User avatar
atom0s
Site Admin
Posts: 401
Joined: Sun Jan 04, 2015 11:23 pm
Location: 127.0.0.1
Contact:

toxy v2 - Terraria Packet Editor / Proxy

Post by atom0s » Wed Jun 17, 2015 10:53 am

toxy v2
Terraria 1.2.4.1 Packet Editor / Proxy
by atom0s


What is toxy?
  • toxy, short for Terraria Proxy, is a project I started back in 2013 to demonstrate the flaws of the Terraria network protocol. toxy makes it very clear that the client contains an excessive amount of control while connected to an online server that it should not have.

    While using toxy, users can manipulate the packet flow between their game client and the game server allowing the user to do various things such as:
    • Drop any incoming and outgoing packets entirely so that the client never handles them or the game server never sees them.
    • Ignore any incoming unwanted packets such as incoming damage to your player, or incoming buff updates that you may not want.
    • Alter outgoing packets to manipulate things such as the amount of damage you are doing.
    • Inject outgoing packets to hurt other players or npcs without even doing anything.
    • Inject incoming packets to reset the world spawn and teleport to anywhere you want.
    • And much much more!
    toxy also includes the feature of proxying your connection. This allows you to evade bans on Terraria servers. Since Terraria does not make any active use of the Steam API, there is no efficient ban system in place to help prevent hackers from returning to a server multiple times after being banned the first time. By using a proxy, you are masking your connection behind a 2nd IP address. This makes the server think you are connecting from another location. (As for Uuid bans, you can just manipulate the outgoing packet and fake a new Uuid. Same for name bans.)

What is the point of toxy?
  • toxy was originally created to raise awareness of how poorly thought out and maintained the Terraria network protocol is. The hopes were to, in a way, get a lot of people using it making server owners complain more on the forums to get Redigit to understand the need of a major overhaul to the games protocol.

    Sadly, the only real response that was ever obtained from Redigit was on the lines of:
    "I don't give a shit about multiplayer." - Redigit

    That said, toxy is now more of a hack/cheat tool in general for people to mess around with.

Lua Addons
  • As of toxy v2, toxy now includes a full addon system allowing users to easily and quickly script their own changes to toxy and load them on request via the form of Lua addons. Addons are state-independent scripts that are executed real-time while toxy is running. This means that scripts have access to everything within toxy.

    Addons have full access to the following information:
    • Incoming and outgoing packet traffic.
    • toxy's command system.
    • Easy to use and manipulate packet wrappers.
    • And more!
    See the next post for more information / examples on the Lua addon system.

Detection / Banning Info
  • As-is, toxy is not at all detectable by a server. Terraria has no method of allowing servers to know what is running on your system or is actively altering information from the client. That said, just connecting to a server with toxy active is not detectable.

    However, when you start using addons, there are methods of detecting that you are cheating based on the server. tShock has no method of determining that you are using toxy specifically but it does have a handful of checks and such in place to catch cheaters.

    Some things that can get you caught cheating would be:
    • Manipulating your outgoing damage against other players and npcs.
    • Ignoring incoming damage from others.
    • Ignoring incoming buff updates from the server.
    • Teleport hacking to other players or across the map etc.
    • Using an invalid name or Uuid upon connecting to the server.
    • And various other things.
    Every server is different as well in terms of limits on what you can/can't do to trigger these detections. Some servers only allow a maximum of say, 175 damage. While others may allow up to 1000. toxy cannot determine what the server configurations are so you will need to play around with things yourself to find out what works best for you.

Screenshots
Image
Image

Changelog
  • [CHG] toxy is fully written in WPF now rather then WinForms.
  • [CHG] toxy is fully rewritten to be a lot more optimized / stable
  • [ADD] toxy now includes a full scripting backend via Lua.
  • [CHG] toxy now handles all additional hacks/changes in the form of addons.
  • [REM] Hacks on the main window have been removed and are instead moved to addons.
  • [ADD] toxy now includes pre-made wrappers for every single packet in the game instead of just a select few.
  • [FIX] Fixed some underlying bugs with the core of toxy.
  • [FIX] Fixed some issues with the proxy library that toxy makes use of for proxied connections. (For ban evasion.)
Derp~
Need a great web host? Check out: AnHonestHost.com


Donations can be made via Paypal:
https://www.paypal.me/atom0s
User avatar
atom0s
Site Admin
Posts: 401
Joined: Sun Jan 04, 2015 11:23 pm
Location: 127.0.0.1
Contact:

Re: toxy v2 - Terraria Packet Editor / Proxy

Post by atom0s » Wed Jun 17, 2015 10:53 am

toxy Lua Information

Addon Events
  1. load() -- Called when the addon is first loaded.
  2. unload() -- Called when the addon is being unloaded.
  3. command(args) -- Called when a toxy command is being handled.
  4. outgoing_packet(id, size, data) -- Called when the client is sending a packet to the server.
  5. incoming_packet(id, size, data) -- Called when the server is sending a packet to the client.
Global Functions
  1. SendToClient(packet) -- Sends the given packet to the client.
  2. SendToServer(packet) -- Sends the given packet to the server.
Custom Added Libraries
  1. File
  2.     file:create_dir(path) -- Attempts to create the given directory. (Will create all missing directories up to the last one as well.)
  3.     file:dir_exists(path) -- Checks if a directory exists.
  4.     file:file_exists(path) -- Checks if a file exists.
  5.     file:get_dir(path) -- Obtains a list of files within the given directory.
  6.     file:get_dirs(path) -- Obtains a list of directories within the given directory.
  7.  
  8. Misc
  9.     misc:open_url(site) -- Opens a url in the users browser.
  10.  
  11. Sound
  12.     sound:play_sound(file) -- Plays a sound file.
Derp~
Need a great web host? Check out: AnHonestHost.com


Donations can be made via Paypal:
https://www.paypal.me/atom0s
User avatar
atom0s
Site Admin
Posts: 401
Joined: Sun Jan 04, 2015 11:23 pm
Location: 127.0.0.1
Contact:

Re: toxy v2 - Terraria Packet Editor / Proxy

Post by atom0s » Wed Jun 17, 2015 10:54 am

Reserved post for additional information.
Derp~
Need a great web host? Check out: AnHonestHost.com


Donations can be made via Paypal:
https://www.paypal.me/atom0s
User avatar
atom0s
Site Admin
Posts: 401
Joined: Sun Jan 04, 2015 11:23 pm
Location: 127.0.0.1
Contact:

Re: toxy v2 - Terraria Packet Editor / Proxy

Post by atom0s » Wed Jun 17, 2015 7:10 pm

Development Update

Finished working on the addons, got them to a point where I think they should be fast, stable and working as intended.

I've added auto-loading of addons possible now to.
Upon connecting to a server toxy will read the autoload.txt file in the root addons folder and load any addon name within the file.

I've also updated the UI a little and coded the Uuid scrambler:
Image

I may change the colors in the near future since the slate black is starting to look kind of shitty. I'm open to suggestions if people want to help style out the UI. :)
Derp~
Need a great web host? Check out: AnHonestHost.com


Donations can be made via Paypal:
https://www.paypal.me/atom0s
User avatar
atom0s
Site Admin
Posts: 401
Joined: Sun Jan 04, 2015 11:23 pm
Location: 127.0.0.1
Contact:

Re: toxy v2 - Terraria Packet Editor / Proxy

Post by atom0s » Mon Jun 22, 2015 2:12 am

Development Update

Was away for the weekend but I'm back now and working on toxy again. Here is an updated screenshot of the new UI:
Image

I've added the item spawner back from the original toxy version. I've also worked on some more addons for a base release.
  • goto - Allows the player to teleport to other players.
    • Stock Terraria: Works!
    • tShock Servers: Works!
  • heal - Allows the player to heal themselves (and others).
    • Stock Terraria: Works!
    • tShock Servers: Works!
  • kill - Allows the player to kill other players.
    • Stock Terraria: Works!
    • tShock Servers: Blocked based on distance and damage limits.
  • killnpcs - Allows the player to kill npcs.
    • Stock Terraria: Works!
    • tShock Servers: Works!
  • maxdamage - Allows the player to maximize their damage.
    • Stock Terraria: Works!
    • tShock Servers: Works! (Damage is limited to tShocks max base damage.)
  • nodamage - Allows the player to block incoming damage.
    • Stock Terraria: Works!
    • tShock Servers: Works!
  • tele - Allows the player to save/restore telepoints.
    • Stock Terraria: Works!
    • tShock Servers: Works!
  • vac - Allows the player to 'vacuum' other players to their location.
    • Stock Terraria: Works!
    • tShock Servers: Works!
Most of these will work on both tShock and stock Terraria servers. Some have limitations but more info on each of them will come later.
Derp~
Need a great web host? Check out: AnHonestHost.com


Donations can be made via Paypal:
https://www.paypal.me/atom0s
User avatar
atom0s
Site Admin
Posts: 401
Joined: Sun Jan 04, 2015 11:23 pm
Location: 127.0.0.1
Contact:

Re: toxy v2 - Terraria Packet Editor / Proxy

Post by atom0s » Tue Jul 28, 2015 9:15 am

toxy v2 is updated and working in Terraria 1.3.x! (Specifically 1.3.0.7 as of this post.)

Going through and double-checking all the packets but I should have a release soon on EliteMMO Network for donators soon. :)
http://i.imgur.com/G5X87JX.png
Derp~
Need a great web host? Check out: AnHonestHost.com


Donations can be made via Paypal:
https://www.paypal.me/atom0s
ma44
Posts: 1
Joined: Mon Jul 27, 2015 3:23 pm

moo

Post by ma44 » Tue Jul 28, 2015 8:04 pm

Meow
Guitarguy1133
Posts: 1
Joined: Wed Oct 21, 2015 3:09 am

Re: toxy v2 - Terraria Packet Editor / Proxy

Post by Guitarguy1133 » Wed Oct 21, 2015 3:14 am

So, where do I download Toxy? I saw Toxy on MPGH and I ended up at your github page which redirected here.
User avatar
atom0s
Site Admin
Posts: 401
Joined: Sun Jan 04, 2015 11:23 pm
Location: 127.0.0.1
Contact:

Re: toxy v2 - Terraria Packet Editor / Proxy

Post by atom0s » Sun Oct 25, 2015 8:17 pm

There is no current place to download toxy as it is no longer public. However, if I do get around to finishing it, it will land up being posted on EliteMMO Network with a $25 donation needed to gain access to the donator content which this will be marked as.
Derp~
Need a great web host? Check out: AnHonestHost.com


Donations can be made via Paypal:
https://www.paypal.me/atom0s
sackboy90210
Posts: 0
Joined: Sat Feb 06, 2016 1:13 am

Re: toxy v2 - Terraria Packet Editor / Proxy

Post by sackboy90210 » Sat Feb 06, 2016 1:15 am

Is there anyways to install this? Seems really cool.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest