UTCheats.net - Unreal Tournament & Tactical Ops cheats and hacks

Please login or register.

Login with username, password and session length
Advanced search  

News:

Welcome to UTCHEATS.NET

Author Topic: UT Proxy Server  (Read 29307 times)

Xecutioner

  • Killing Spree
  • **
  • Posts: 30
    • View Profile
UT Proxy Server
« on: July 10, 2012, 01:17:43 AM »

Haven't done much with this one and the proxy it's self is not my code, I've just adapted it and added optional logging.  It can be used as a base to modify or log packets in any game really.

The packets sent are ridiculous and there is very little information on how they work.  Basically each packet has multiple sets of data inside to decrease the size of the packets sent.

Code: [Select]
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net;
using System.Net.Sockets;
using System.IO;

namespace proxy
{
    class Program
    {
        public static IPEndPoint m_listenEp = null;
        public static EndPoint m_connectedClientEp = null;
        public static IPEndPoint m_sendEp = null;
        public static Socket m_UdpListenSocket = null;
        public static Socket m_UdpSendSocket = null;


        static void Main(string[] args)
        {
            Listen("IP GOES HERE", 6667, true);
        }
        static void Listen(string IP, int Port, bool Log = false)
        {
            StreamWriter sw = null;
            if (Log)
            {
                sw = new StreamWriter(@"C:\UT.txt");
                sw.AutoFlush = true;
            }

            // Creates Listener UDP Server
            m_listenEp = new IPEndPoint(IPAddress.Any, Port);
            m_UdpListenSocket = new Socket(m_listenEp.Address.AddressFamily, SocketType.Dgram, ProtocolType.Udp);
            m_UdpListenSocket.Bind(m_listenEp);

            //Connect to zone IP EndPoint
            m_sendEp = new System.Net.IPEndPoint(IPAddress.Parse(IP), Port);
            m_connectedClientEp = new System.Net.IPEndPoint(IPAddress.Any, Port);

            byte[] data = new byte[1024];

            while (true)
            {
                if (m_UdpListenSocket.Available > 0)
                {

                    int size = m_UdpListenSocket.ReceiveFrom(data, ref m_connectedClientEp); //client to listener

                    if (m_UdpSendSocket == null)
                    {
                        // Connect to UDP Game Server.
                        m_UdpSendSocket = new Socket(AddressFamily.InterNetwork, SocketType.Dgram, ProtocolType.Udp);
                    }

                    m_UdpSendSocket.SendTo(data, size, SocketFlags.None, m_sendEp); //listener to server.

                    if (Log)
                    {
                        sw.WriteLine("");
                        foreach (var b in data)
                        {
                            sw.Write(b + ",");
                        }
                        sw.WriteLine("");
                    }
                }

                if (m_UdpSendSocket != null && m_UdpSendSocket.Available > 0)
                {
                    int size = m_UdpSendSocket.Receive(data); //server to client.

                    m_UdpListenSocket.SendTo(data, size, SocketFlags.None, m_connectedClientEp); //listner

                    if (Log)
                    {
                        sw.WriteLine("");
                        foreach (var b in data)
                        {
                            sw.Write(b+",");
                        }
                        sw.WriteLine("");
                    }
                }
            }
        }
       
    }
}

« Last Edit: July 10, 2012, 01:22:47 AM by Xecutioner »
Logged

szaak

  • Killing Spree
  • **
  • Posts: 33
    • View Profile
Re: UT Proxy Server
« Reply #1 on: August 09, 2012, 04:40:05 AM »

Can you explain what is it used for ?
Logged

aloha123

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: UT Proxy Server
« Reply #2 on: May 21, 2015, 12:11:28 PM »

Hmm is that for ddosing servers, or i didnt get it right?
Logged

Andy

  • Killing Spree
  • **
  • Posts: 65
    • View Profile
Re: UT Proxy Server
« Reply #3 on: May 21, 2015, 12:46:46 PM »

Quote
Hmm is that for ddosing servers, or i didnt get it right?
I think this is a simply connect to a proxy to change IP to have a species as anti ban, I have not read the source code but from the title i conclude that serve for this....
Logged

^Skillz^20Hz

  • Moderator
  • Dominating
  • *****
  • Posts: 289
    • View Profile
Re: UT Proxy Server
« Reply #4 on: May 21, 2015, 01:05:05 PM »

I think this is a simply connect to a proxy to change IP to have a species as anti ban, I have not read the source code but from the title i conclude that serve for this....

dude, 5 year old here!
Logged

Andy

  • Killing Spree
  • **
  • Posts: 65
    • View Profile
Re: UT Proxy Server
« Reply #5 on: May 21, 2015, 08:30:52 PM »

I was just responding to aloha123 he asked a few hours ago
Quote
Posted by: aloha123
« on: Today at 12:11:28 PM »

Hmm is that for ddosing servers, or i didnt get it right?
Logged

^Skillz^20Hz

  • Moderator
  • Dominating
  • *****
  • Posts: 289
    • View Profile
Re: UT Proxy Server
« Reply #6 on: May 22, 2015, 09:33:59 AM »

Apologies q-krowna, I thought that message was old.

but aloha123 still shouldn't be responding to a 5 year old thread! Still... I have to say: I think it IS a proxy server he is uploading, but I cannot find a way to compile it! Does anyone know how?
Logged

^Skillz^20Hz

  • Moderator
  • Dominating
  • *****
  • Posts: 289
    • View Profile
Re: UT Proxy Server
« Reply #7 on: May 22, 2015, 11:06:33 PM »

OK then...


i'm closing this topic anyway... If anyone want it open, just PM Me!
Logged