Jump to content
View in the app

A better way to browse. Learn more.

Tuts 4 You

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Programming and Coding

Programming and coding tips, help and solutions...

  1. LCF-AT
    Started by LCF-AT,

    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

  2. E33
    Started by E33,

    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 …

    • 2 replies
    • 7.1k views
  3. CodeExplorer
    Started by CodeExplorer,

    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…

    CreateAndInject
  4. CodeExplorer

    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…

    CodeExplorer
  5. CodeExplorer

    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…

    CodeExplorer
  6. Gladiator
    Started by Gladiator,

    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.

    Gladiator
  7. CodeExplorer
    Started by CodeExplorer,

    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…

    CodeExplorer
  8. tim619
    Started by tim619,

    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

    Teddy Rogers
  9. HostageOfCode
    Started by HostageOfCode,

    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…

    HostageOfCode
  10. Yotic Yotic
    Started by Yotic Yotic,

    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.

    dongledumpers
  11. LCF-AT

    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.…

  12. Medsft

    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, …

    lovejoy226
  13. TeRcO
    Started by TeRcO,

    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

  14. CodeExplorer
    Started by CodeExplorer,

    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!

  15. Doorker
    Started by Doorker,

    Hi everyone, help me. How to integrate in delphi with buttons and Infobox? I don't understand it. SnR_Patch_Delphi_Src.zip

  16. unix
    Started by unix,

    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?

  17. hackvba

    Any have any idea to handle this kind protection ?

  18. TeRcO
    Started by TeRcO,

    Creating a scrolling starfield effect in Delphi. Starfield.rar

  19. CodeExplorer
    Started by CodeExplorer,

    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…

    CodeExplorer
  20. TeRcO
    Started by TeRcO,

    WaterEffect_Src.rar

  21. h4sh3m
    Started by h4sh3m,

    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

  22. moh
    Started by moh,

    Is it possible to take out the source code from assembly language and how

  23. TeRcO
    Started by TeRcO,

    GifImage.zip

  24. TeRcO
    Started by TeRcO,

    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…

  25. iamwho

    #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…

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.