Quantcast
Channel: litecode Wiki Rss Feed
Viewing all articles
Browse latest Browse all 13

Updated Wiki: Home

$
0
0
Your having enough of crackers, reverse engineers ? With LiteCode you can host your code remotely at a server where no cracker can touch it
Your source code will become even more private then ever with more protection and no source code obfuscation required

Features

  • Using the SSP protocol for having a scalable server and having the traffic Encrypted/Compressed http://ssp.codeplex.com/
  • Host your code where no cracker can ever touch it to get your software cracked
  • You don't need a lot of knowledge about networking how to send packets and such thats all being done in the background
  • Shared Classes is a new technique to remotely call methods in the client or server to make it easy for the end-user to understand what is going on in the code
  • Overloaded methods
  • Shared Classes
  • System classes (underconstruction) currently there is, Graphics, Cursor
  • Delegates (callback methods), Example is below
  • Supports Properties

Underconstruction

  • "out" keyword
  • "param" keyword

Code example of a shared class - Server Sided

class TestClass : ITest
{
    privatestring Password;
    public TestClass()
    {
        this.Password = "VerySecretPassword";
    }

    [RemoteExecution]
    publicstring CallMe()
    {
        return"Hello World";
    }
}

Code example of a shared class - Client Sided (Dummy Class)

class TestClass : ITest
{
    public TestClass()
    {

    }

    [RemoteExecution]
    publicstring CallMe()
    {
        return"";
    }
}

The dummy class in the client is being used to inject code but that's not important
The most important part here is that the server contains all the sensitive information and the client does not

Delegate example

1. You are at the server side and you call a method TestDelegate and you give your private method as delegate
2. When TestDelegate method is being called in client side the client is able to call the delegate which will go back to the server and call your private method

this way you can just call BeginInvoke methods which require a callback method or BeginSend/BeginReceive from the Socket class

Example code - Server Side:
    LiteServer server = new LiteServer(539);
    server.onClientConnect += (Client client) =>
    {
    ITest test = client.GetSharedClass<ITest>("test", typeof(TestClass));
    string ret = test.TestDelegate(":O", (string val) =>
    {
    return"some value...";
    });
    Console.WriteLine(ret);
    }

Example code - Client Side:
  [RemoteExecution]
  publicstring TestDelegate(string SomeValue, TestDel CallMe)
  {
    return"Value from server side: " + CallMe("some string from Client Side :)");
  }

output at server side:
Value from server side: some value...

Viewing all articles
Browse latest Browse all 13

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>