All Activity
- Past hour
-
piecaliente joined the community
-
hlane29 joined the community
- Today
-
wotnoob joined the community
-
kawaiiyuyu joined the community
-
notherenolooky joined the community
-
truongtam2607 joined the community
-
Lukki joined the community
-
n0waytorev joined the community
-
Diroll joined the community
- Yesterday
-
k4sp31sm3 started following Live Malware Samples...
-
lovejoy226 started following abbas
- Last week
-
abbas started following Leaked VMProtect sources
-
for my research i built (a lot of headache though) it and im enjoying debugging it. if you still need help, say it.
-
heartcoffee started following CodeExplorer
-
-
WinLicense v3.2.2 (Window Function Through an External Plugin)
jackyjask replied to lengyue's topic in CrackMe
smth is wrong with your code I tried sample consle app and it prints 2 when being ran without debugger and 4 when unde4 MS VS... are you sure this is reliable new anti-debug way? -
-
-
-
WinLicense v3.2.2 (Window Function Through an External Plugin)
Noob boy replied to lengyue's topic in CrackMe
@bootHi~ Expert, can Lengyue's WinLicense v3.2.2 be bypassed? If not, can you try my default encryption version? -
abbas started following MistHill
-
ibay770 changed their profile photo
-
TypeBuilder Class emiting - classes uses each other
CodeExplorer replied to CodeExplorer's topic in Programming and Coding
I think this is a framework limitation and can't be done. I would rather spend time on realizable things. - Earlier
-
TypeBuilder Class emiting - classes uses each other
CodeExplorer replied to CodeExplorer's topic in Programming and Coding
var assembly = AppDomain.CurrentDomain.DefineDynamicAssembly(new AssemblyName("Test"), AssemblyBuilderAccess.Run); var module = assembly.DefineDynamicModule("Test"); var typeOne = module.DefineType("TypeOne", TypeAttributes.Public); var typeTwo = module.DefineType("TypeTwo", TypeAttributes.Public); TypeConflictResolver resolver = new TypeConflictResolver(); resolver.Bind(AppDomain.CurrentDomain); resolver.AddTypeBuilder(typeOne); resolver.AddTypeBuilder(typeTwo); Type GenericI2 = typeof(Interface<,>).MakeGenericType(new Type[]{typeof(int), typeOne}); typeTwo.AddInterfaceImplementation(GenericI2); Type[] tbCentroidCluster11X = new Type[] {typeTwo, typeof(int), typeof(int), typeOne}; Type tCentroidCluster11X = typeof(CentroidClusterSimplified<,,,>).MakeGenericType(tbCentroidCluster11X); typeOne.SetParent(tCentroidCluster11X); typeOne.CreateType(); typeTwo.CreateType(); I can't see nothing wrong with the above code; but it throws exception System.TypeLoadException: Could not load type 'TypeOne' from assembly 'Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. at System.Reflection.Emit.TypeBuilder.TermCreateClass(RuntimeModule module, Int32 tk, ObjectHandleOnStack type) at System.Reflection.Emit.TypeBuilder.CreateTypeNoLock() at System.Reflection.Emit.TypeBuilder.CreateType() -
-
TypeBuilder Class emiting - classes uses each other
CodeExplorer replied to CodeExplorer's topic in Programming and Coding
More examples: https://stackoverflow.com/questions/21035470/using-reflection-emit-to-implement-generic-interface If I left as TypeBuilder throws the above error; no Domain_TypeResolve is called. it will works only if I create the Type using CreateType of TypeBuilder like this: if (rtypes[0] is System.Reflection.Emit.TypeBuilder) rtypes[0] = ((System.Reflection.Emit.TypeBuilder)rtypes[0]).CreateType(); interesting is that types created multiple times are equal: Type type1 = typeUseItself.CreateType(); Type type2 = typeUseItself.CreateType(); if (type1.Equals(type2)) { Console.WriteLine("Cool!"); } -
@hitech444 if your original question was intended to mean, "can this PureBasic "keygen" be used to activate the full version of SpiderBasic", then I misunderstood you and wasted my time updating the PB code. This is an example keygen template written in PureBasic, it is not a real keygen and, cannot be used to activate either PureBasic or SpiderBasic. The free versions of these cannot be activated using a serial number, there is a full version download and installer - accessible to paid customers. You could theoretically remove the code line limit in the free version/s. If your question was, "can I run this PureBasic "keygen" code in SpiderBasic", then yes. A few, quick and rough, modifications to the original PureBasic code will make it work... Ted.
-
TypeBuilder Class emiting - classes uses each other
CodeExplorer replied to CodeExplorer's topic in Programming and Coding
https://stackoverflow.com/questions/6735274/why-am-i-getting-this-exception-when-emitting-classes-that-reference-each-other but not working in my case; System.ArgumentException: Type must be a type provided by the runtime. at System.Activator.CreateInstance(Type type, Boolean nonPublic) at System.Activator.CreateInstance(Type type) at BabelDeobfuscator.Protections.MethodEncryption.VMDecryptor.GetGenericInstance(Type gtype, Assembly asm) in d:\Projects2021-2024\NET\Babel-Deobfuscator\Babel-Deobfuscator\MethodEncryption\VMDecryptor.cs:line 835 at BabelDeobfuscator.Protections.MethodEncryption.VMDecryptor.Testing(Assembly asm) in d:\Projects2021-2024\NET\Babel-Deobfuscator\Babel-Deobfuscator\MethodEncryption\VMDecryptor.cs:line 1141 at BabelDeobfuscator.Protections.MethodEncryption.VMDecryptor.run(ModuleDefMD module, Assembly asm) in d:\Projects2021-2024\NET\Babel-Deobfuscator\Babel-Deobfuscator\MethodEncryption\VMDecryptor.cs:line 53 at BabelDeobfuscator.Program.Main(String[] args) in d:\Projects2021-2024\NET\Babel-Deobfuscator\Babel-Deobfuscator\Program.cs:line 289 -
TypeBuilder Class emiting - classes uses each other
CodeExplorer posted a topic in Programming and Coding
If we would have this class: public class CentroidCluster<TCollection, TData, TCentroid, TCluster> : Cluster<TCollection, TData, TCluster> where TCollection : IMulticlassScoreClassifier<TData, int>, ICentroidClusterCollection<TData, TCentroid, TCluster> where TCluster : CentroidCluster<TCollection, TData, TCentroid, TCluster>, new() { } I would just do this: public class DerivTCollection : IMulticlassScoreClassifier<int, int>, ICentroidClusterCollection<int, int, CentroidClusterDeriv> { } public class CentroidClusterDeriv : CentroidCluster<DerivTCollection, int, int, CentroidClusterDeriv> { } we successfully derived class CentroidCluster but now the problem: how we could do with reflection since those classes uses each other https://learn.microsoft.com/en-us/dotnet/api/system.reflection.emit.typebuilder?view=net-9.0 TypeBuilder final Type value is calculated with Type t = tb.CreateType(); but the problem is that class is not yet finished; Any solution? -
Well, thanks a lot for the fixed keygen but I can't see the relevance... we need to modify the SB exe inside to make it work for much more code lines.... Am I missing something here??? I would expect to advice me to search for 800 and change it to something much, much bigger.....
-
Have you checked the limitations? I downloaded both SB and PB demos and checked for you... I have not tried SB however, in PB demo I was able to build (with some fixes) and compile an executable using @tim619 code. Check out the attached .zip file. keygen_fixed.zip To get it working in PB6.x I had to replace the legacy "module" commands to "music". In the process I noticed a number of other problems (threading, declarations, command order and event window) and spent a few minutes doing some quick fixes for you. I have not checked the "keygen" code, left it as is... Ted.
-
Sorry for confusing you - my mistake! I just want the full SB. PB and SB trials are compiled limited editions of the full versions, they don't upgrade to full as I thought. So that's hard to change? Isn't it?
-
Crypt function reverce challange.
HostageOfCode replied to HostageOfCode's topic in Programming and Coding
int count = 0; memcpy(output_buffer, input_buffer, data_size); Encrypt(AESKey, output_buffer, output_buffer, 16); for (i = 0; i < data_size - 16; i++) { output_buffer[i + 16] = input_buffer[i + 16] ^ output_buffer[i]; count++; if (count == 16) { Encrypt(AESKey, output_buffer+ i + 1, output_buffer+ i + 1, 16); count = 0; } } This is my solution. -
Crypt function reverce challange.
aIjundi replied to HostageOfCode's topic in Programming and Coding
Key details to solving this challenge: The block size is 16 bytes. The first block is only Decrypted, not xor'ed. Each of the following blocks is Decrypted then xor'ed with the previous block Solving it would boil down to Encrypting a block then xor'ing it with the next block, which would roughly be as below unsigned char output_buffer[BINSIZE * 2] = {0}; unsigned char result_buffer[BINSIZE + 1] = {0}; DWORD data_size = BINSIZE; for(int i = 0; i < data_size; i = i + 16) { Encrypt(AESKey, result_buffer + i, output_buffer + i, 16); for(int j = i; j < i + 16; j++) { output_buffer[j + 16] = output_buffer[j + 16] ^ result_buffer[j]; } } -
int i = 0; unsigned char input_buffer[BINSIZE + 1] = {0}; unsigned char output_buffer[BINSIZE * 2] = {0}; DWORD data_size = BINSIZE; for(i = 0; i < data_size; i = i + 16) { Decrypt(AESKey, input_buffer + i, output_buffer + i, 16); } for(i = 0; i < data_size - 16; i++) { output_buffer[i + 16] = output_buffer[i + 16] ^ input_buffer[i]; } The goal is to reverse the algorithm and obtain input_buffer if we have only the output_buffer after the xor manipulation and the AESKey outsource for the Encrypt function. Looks easy but it is not that easy after all.
-
The free version of PureBasic has a limit of around 800 lines of code (I can't comment on SpiderBasic, will assume it is similar). That is plenty of room for creating, testing and building keygen templates and the "core" component mentioned here. Download it and give it a try... Ted.
-
Crap!!! Downloaded SB3.02 is a limited version.... Does not upgrade to the full monty... I guess I have to buy it... Same goes with sister prog PB... no serial, you just download the full thing... Difficult for a newbie to try his hands on....
-
keygennet vmp3.x通用注册机 - wtujoxk
dongledumpers replied to Yotic Yotic's topic in Programming and Coding
how can find hwid bro -
Revteam Reverse Engineering Collection
AlexZander replied to markaz.jamal's topic in Reverse Engineering Articles
It is empty. -
I have not looked at the code though I do not see why the core of the keygen could not. It may need a few tweaks to get running on (PB6.x and) SB3.x... Ted.