Programming and Coding
Programming and coding tips, help and solutions...
1,894 topics in this forum
-
Hi guys, I was looking for an complete file size calculation / info display GUI tool where I could drag & drop any file/s into (and also manually entering values) to get all size information's of it from bites till petabytes etc. I just can find online tools like this nice one... https://www.superfile.ai/productivity-tools/file-size-calculator ...what does display all. Something like this only as tool not online or better some kind of calculation tool what has another more calc features. Is there any you could recommend? Any tool on Github etc or has Windows already some tool what can do that? greetz
-
-
- 34 replies
- 2k views
- 2 followers
-
-
Code for removal all internal passwords (sheets/worksbook) for an excel file. Public Sub AllInternalPasswords() Const DBLSPACE As String = vbNewLine & vbNewLine Const AUTHORS As String = DBLSPACE & vbNewLine & _ "Adapted from Bob McCormick base code by " & _ "Norman Harker and JE McGimpsey" Const HEADER As String = "AllInternalPasswords User Message" Const VERSION As String = DBLSPACE & "Version 1.1.1 2003-Apr-04" Const REPBACK As String = DBLSPACE & "Please report failure " & _ "to the microsoft.public.excel.programming newsgroup." Const ALLCLEAR As String = DBLSPACE & "The …
-
de4dot deobfuscation problems I have an file protected by ConfuserEx, I de-obfuscated most of methods; but there is a problem with a method which is not obfuscated at all. Here is non working code: public static void DeobfuscateCflow(MethodDef meth) { for (int i = 0; i < 2; i++) { if (failedMethods.Contains(meth.MDToken.ToInt32())) continue; CfDeob = new BlocksCflowDeobfuscator(); Blocks blocks = new Blocks(meth); //List<Block> test = blocks.MethodBlocks.GetAllBlocks(); //Move…
-
-
- 19 replies
- 1.8k views
- 2 followers
-
-
Change return of Assembly.GetCallingAssembly fails in .NET 7 Having this code: public static Assembly PGetCallingAssembly() { return assembly; } public static void PathGetExecuting() { Assembly.GetCallingAssembly(); Assembly.GetExecutingAssembly(); PGetCallingAssembly(); int lpNumberOfBytesWritten = 0; MethodInfo metGetExecutingAssembly = typeof(Assembly).GetMethod("GetExecutingAssembly", BindingFlags.Public | BindingFlags.Static | BindingFlags.Instance); MethodInfo metGetCallingAssembly = typeof(Assembly).GetMethod("GetCallingAssembly", Bi…
-
-
- 11 replies
- 1.5k views
- 1 follower
-
-
Resolve field with declaring type containing generic parameter FieldDef dnlibfield = instructions[i].Operand as FieldDef; if (!dnlibfield.DeclaringType.ContainsGenericParameter) field = assembly.ManifestModule.ResolveField(dnlibfield.MDToken.ToInt32()); else { // here is the problem: Type declType = assembly.ManifestModule.ResolveType(dnlibfield.DeclaringType.MDToken.ToInt32()); } So how do use dnlib to resolve declaring type containing generic parameter ??? public virtual System.Reflection.FieldInfo? ResolveField(int metadataToken, Type[]? genericTypeArguments, Type[]? genericMethodArguments); https://learn.microsoft.com/en-us/dotn…
-
- 0 replies
- 1.3k views
- 1 follower
-
-
If you are familiar with the Armadillo program, you will remember that this software had a very interesting feature called "Nanomits", which was created to prevent dumps from being taken from protected processes. The source code below is actually a re-engineered version of the original product's behavior that is available to everyone https://github.com/NIKJOO/Nanomits Give repo a star if you find it useful.
-
-
- 4 replies
- 3.4k views
- 1 follower
-
-
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<DerivTCollecti…
-
-
- 4 replies
- 3.4k views
- 2 followers
-
-
File Name: PureBasic Keygen Template File Submitter: tim619 File Submitted: 21 Mar 2014 File Category: Source Code Today I release a Keygen which I programmed a few days ago. It is written in PureBasic (v5.0) and can be compiled using x86 or x64 Compiler. The features of this Keygen Template are: -The language is very easy to understand and the code is not too much. -transparency -chiptune support -fading in and out of transparency and music -window always on top -Key copied to clipboard autom. -the "core" should also compile on MAC and Unix Version. have fun Click here to download this file
-
-
- 16 replies
- 16.8k views
- 1 follower
-
-
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 t…
-
-
- 2 replies
- 3k views
- 2 followers
-
-
I have a question, I want to ask you guys. I want to create a license for a small software in C# language. I want to use VMP Potech to define a license to call HWID! But use the external KeyGen format as shown in the image above. What should I start with? Thank you.
-
-
- 7 replies
- 2.4k views
- 2 followers
-
-
Hi guys, at the moment I try to play around with JavaScript again to make any script (very basic) and now I have that problem to copy data / text into system Clipboard. Can anyone show a basic working example to create a function that copies the send API parameter into Clipboard if I need it? Example.... var HOLD1 = "Some_Text_to_COPY"; var input=document.createElement("input"); input.type="button"; input.value="Copy Title" input.onclick = CopyClipBoard(HOLD1); document.body.appendChild(input); function CopyClipBoard(SOMETHING) { SOMETHING.select(); SOMETHING.setSelectionRange(0, 99999); // For mobile devices navigator.clipboard.writeText(SOMETHING.…
-
-
- 36 replies
- 7.3k views
- 1 follower
-
-
ILSpy mod by Medsft: NET assembly browser and decompiler, debugger, High and Low level Editor Project renamed. ILSpy NEXT. NET assembly browser and decompiler, debugger, High and Low level Editor Description: ILSpy (latest ILSpy public version 2.2.0.1737) -add debugger from the SharpDeveloper studio -add CopyFullyQualifiedTypeName.Plugin -add OpCodeTableForm -add to treeview contextmenu: - strong name utility - rename class utility - Jump to EntryPoint - string viewer utility (search enable) - extension exeecute utility (reservation work enable) - hexeditor methodbody utility (runtime compilation enable, …
-
-
- 78 replies
- 55.9k views
- 5 followers
-
-
You will find the source code for aspr_ide.dll, a dynamic link library used in software licensing and protection, specifically for applications protected by AsProtect. This DLL simulates various functions related to license validation, registration, trial period management, and hardware ID checks. With ❤️ aspr_ide.dpr
-
-
- 9 replies
- 3.3k views
- 1 follower
-
-
Unpackers tools - source code C# Spoiler This include: AssemblyLoad Confuser_Methods_Decryptor ConfuserDelegateKiller ConfuserStringDecryptor ExceptionLogger MegaDumper Reactor_Decryptor Resource_Decryptor Simple_MSIL_Decryptor StaticDecompressor Universal_Fixer My source code: https://gitlab.com/CodeCracker https://github.com/CodeCrackerSND https://bitbucket.org/CodeCrackerSND/ I will NOT share (anymore) the rest of my tools!
-
-
- 63 replies
- 104.3k views
- 4 followers
-
-
Hi everyone, help me. How to integrate in delphi with buttons and Infobox? I don't understand it. SnR_Patch_Delphi_Src.zip
-
-
- 5 replies
- 3.7k views
- 2 followers
-
-
Hello, i am reading quite a lot from ARTeam, unfortunately i only got The Weakness of the Windows API Part 1 (from a 3 part series) in my archives, therefore i wanted to ask, where i could find the other two parts as this topic is very interesting for me. May it be that there is only one part available?
-
-
- 10 replies
- 9.6k views
- 2 followers
-
-
Any have any idea to handle this kind protection ?
-
- 0 replies
- 3.1k views
- 1 follower
-
-
Creating a scrolling starfield effect in Delphi. Starfield.rar
-
-
- 3 replies
- 3.6k views
- 2 followers
-
-
Calling getEHinfo x64: crushes [UnmanagedFunctionPointer(CallingConvention.StdCall)] public delegate void getEHinfo(IntPtr self, IntPtr ftn, uint EHnumber, out CORINFO_EH_CLAUSE clause); public static IntPtr getEHinfoaddress; public static bool ShouldResolve = false; public static int targetIndex; public static IntPtr Compiler; public static IntPtr iftn; public static int EhCounti; public static unsafe void ResolveEH(int idx, IntPtr comp, int EHCount, IntPtr ftn) { //IntPtr selfEH1 = GetEHInfo(comp, false); IntPtr getEHinfoadd…
-
-
- 2 replies
- 2.9k views
- 2 followers
-
-
-
Hi In this method we're using dlls as loader, Some system files(I'm just tested dll files) can load from outside of system directory so we can use them to patch files !! Most "Delphi" and "Dotnet applications" loads "version.dll" by default so we can use this file as loader for them ! Best Regards, h4sh3m version.rar
-
-
- 20 replies
- 13.3k views
- 3 followers
-
-
Is it possible to take out the source code from assembly language and how
-
-
- 8 replies
- 3.4k views
- 2 followers
-
-
-
A complete version of the web site has been converted into a Windows executable. It looks and behaves like the site, but with the added benefits of : No adverts Search facility for finding Run Time Library entries and .Net Methods. Fast access to 1,000+ pages of tutorial/reference pages - the full site and more System.Drawing.Graphics .Net class pages - 44 methods each with examples illustrated with graphical output Printing of pages precisely to any paper size or format RTL lists printable by letter, function, unit or category History drop-down of recent and popular RTL pages Database tutorials, not available on this web site Copy ful…
-
- 0 replies
- 2.4k views
- 1 follower
-
-
#include <Windows.h> #include <iostream> #include <windowsx.h> #define IDB_EXIT 102 PAINTSTRUCT ps; HDC hdc; RECT starfield_rc; BOOL g_bDragging = FALSE; POINT g_ptDragStart; int WIDTH = 350; int HEIGHT = 400; const int numStars = 50; const int starSpeed = 1; struct Star { int x, y; int speed; }; const int NUM_STARS = 100; Star stars[NUM_STARS]; HDC hdcMem; HBITMAP hbmMem; HBITMAP hbmOld; void starfield(HDC hdc, int x, int y, RECT *rc) { int width = 335; rc->left = x; rc->top = y; rc->right = width; rc->bottom = 249; HDC hdcMem = CreateCompatibleDC(hdc); HBITMAP hbmMem = CreateCompatibleBitmap(hdc…
-
-
- 6 replies
- 2.9k views
- 3 followers
-