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

    hii! i've looked for a way to manually set the libraries that link.exe includes, by default, when i link using: C:\masm32\bin\link.exe /verbose /nologo /subsystem:windows /opt:noref main.obj it says: Start Pass1 Processed /DEFAULTLIB:C:\masm32\lib\user32.lib Processed /DEFAULTLIB:C:\masm32\lib\kernel32.lib Processed /DEFAULTLIB:C:\masm32\lib\gdi32.lib Processed /DEFAULTLIB:C:\masm32\lib\opengl32.lib Processed /DEFAULTLIB:C:\masm32\lib\glu32.lib so i tried setting the /DEFAULTLIB's parameters myself to override them C:\masm32\bin\link.exe /verbose /nologo /subsystem:windows /defaultlib:C:\masm32\lib\user32.lib /opt:noref main.obj (i was intending to j…

      • Like
    • 2 replies
    • 4.6k views
  2. null_endian
    Started by null_endian,

    Does anyone know of a way to edit the bootloader on a Win10 machine to force it to execute arbitrary code when Windows starts up? I'm not sure if this is possible on a new WIn10 box because I know that there are much stricter checks at bootup now. I don't care if it is a one-off as I'm trying to do a specific experiment on MY machine, it doesn't need to apply to all machines. Thanks. PS: Actually, I don't necessarily need to replace the bootloader - this code accomplishes something similar to what I need (I just need code execution control prior to everything else on the system when the OS loads) but it doesn't work for Win10. Looking for something similar.

    • 1 reply
    • 4.8k views
  3. CodeExplorer
    Started by CodeExplorer,

    Remove listbox content Visual C++ ??? I wanna remove all items from listbox, Already tried ResetContent but it doesn't work: CWnd *pWnd = GetDlgItem(IDC_LIST1); CListBox* listbox = static_cast<CListBox*>(pWnd); //dynamic_cast does not work listbox->ResetContent();

    • 4 replies
    • 10.3k views
  4. h4sh3m
    Started by h4sh3m,

    Hi Maybe help someone to create custom loaders ! BR, h4sh3m x64_Simple_Loader_Delphi.rar

    • 7 replies
    • 8.8k views
  5. CodeExplorer
    Started by CodeExplorer,

    Visual C++ 6 maximum textbox len? (improvements?) I have a Visual C++ 6 project which will log all memory allocation of a process to textbox, here is the problem: the log text will be truncated to 5 KB (which is way to small!) Is there any way to improve maximum key length or should I log everything to a text file?

    • 13 replies
    • 7.1k views
  6. James Taylor
    Started by James Taylor,

    I am having trouble understanding struct in assembly from disassembly. can you please explain the code below. Disassembly pseudo code. Thanks

      • Like
    • 2 replies
    • 7.4k views
  7. LCF-AT
    Started by LCF-AT,

    Hi guy, I have a small question about TLS so I dont remember anymore and just asking now and I dont find any example file using TLSCallback + relocation to load file with dynamic base addresses. So in the TLS info table I can see direct VA addresses and no RVA addresses.My question is just whether the VA addresses gets updated like this... TLS info table VAs etc - Imagebase from PE Header = TLS RVAs + New loaded targetbase = New TLS VAs.Should be so right? As I said I am just quickly asking about it so I dont find a dynamic file I can checkout now to see it. Thanks

      • Like
    • 14 replies
    • 7.7k views
  8. Shera

    How does one know which Dll and Functions to include in the program ?

      • Like
    • 18 replies
    • 6.7k views
  9. LCF-AT
    Started by LCF-AT,

    Hi guys, I am looking for a lib which can assemble text commands to binary code.Something like the Multiline Ultimate Assembler plugin by RaMMicHaeL.I do enter my code as text and wanna assemble it. Ok,normaly I can use Disam lib from OllyDBG site using function Assemble to assemble text commands one by one.Problem is I wanna work also with labels and API names etc alomst same as the MUA plugin can do.Has anyone some ideas what I could use for that? Thank you

      • Thanks
      • Like
    • 54 replies
    • 24.1k views
  10. CodeExplorer
    Started by CodeExplorer,

    Prime numbers Solution: https://text-share.com/view/03a0d1ed

      • Confused
      • Thanks
    • 13 replies
    • 10.2k views
  11. CodeExplorer
    Started by CodeExplorer,

    To .NET experts: What's the difference between #~ and #- ??? #~ seems to be the good and default one! #- is used by dnlib #~ is used by Mono.Cecil

      • Like
    • 3 replies
    • 26.3k views
  12. Futex
    Started by Futex,

    Hi all, I wanted to execute a fonction on a loaded assembly, my code run well on a normal assembly, but it's failed when i try it on a obfuscated one (rdg packer says .net crypter) I list the string inside the binary like this: try { Assembly asm = Assembly.LoadFrom(executable); foreach (Type type in asm.GetTypes()) { foreach (MethodInfo method in type.GetMethods()) { if (method.MetadataToken == testToken) { Type t = asm.GetType(type.FullName); var methodInfoStatic = t.GetMethod(method.Name); if (methodInfoStatic == null) { throw new Exception("No such static method exists."); } object[] constructorParameters =…

    • 3 replies
    • 5.5k views
  13. LCF-AT
    Started by LCF-AT,

    Hi guys, I am playing around with that functions & struct to get a dialog same as in notepad to find / repleace etc.I get the new dialog to see where I can enter stuff etc.My problem now is how to catch the messages if I press OK / chancel etc to get the entered data and where?Can anyone post a example code of this? Thank you

      • Like
    • 5 replies
    • 5.3k views
  14. CodeExplorer
    Started by CodeExplorer,

    Pascal's Triangle: solution solved, Pelles C compiler. Attached. PascalsTriangle.zip

    • 0 replies
    • 7.4k views
  15. kate
    Started by kate,

    Hello all, I am trying to build one form auto filler application to book tickets from one indian website. The site is https://irctc.co.in I need to build the auto filler application using either c# or vb .net. The main issue with this site is its too much loaded at the time of booking so need solution for getting the fast response from loaded website in order to book tickets fast.

      • Like
    • 2 replies
    • 5.1k views
  16. Nextasy2k
    Started by Nextasy2k,

    I using uFMOD to Play .xm chiptunes in my Project. It works already finde! When i start the program it plays the music and when i close the program it stop playing. But i like to have one Button where i can start and stop the music. Like.... If music is playing then Stop music else Play music ... I'm a newbie in Delphi. I Hope anybody can Help me!

    • 3 replies
    • 5.9k views
  17. CloneWa
    Started by CloneWa,

    Hi. I am trying to find the best way to programatically "map" and compare code. Basically I have different versions of an application which is partly obfuscated and thus the names are different in every version and I'd like to find certain changes. For example, there could be a class like this: namespace ns1 { public class SomeClass1 { public string MyProperty1 { get; set } public void Method1() { // Code } public void Method2() { // Code } } } Then, in another version of the source code, it could look like this: namespace ns183 { public class AnotherClass112 { public string someProperty1 { ge…

    • 0 replies
    • 5.3k views
  18. Futex
    Started by Futex,

    Hi all, I start to use dnlib for the first time, and i wanted to made a string desofucator for an unknown malware packer. I list the string inside the binary like this: public static void DecryptStrings(ModuleDef module) { int count = 0; //List module Types foreach (TypeDef type in module.Types) { //List methods foreach (MethodDef method in type.Methods) { //Remove empty method if (!method.HasBody) break; //Check instructions for (int i = 0; i …

      • Like
    • 3 replies
    • 6.6k views
  19. C++

    How to execute embedded exe into memory without extracting ? I can extract file from resources but I want to execute without extracting. I hope this is not duplicate posts.

      • Like
    • 3 replies
    • 7.4k views
  20. Departure
    Started by Departure,

    Hey people I just need a little help from someone with some delphi experiance, Im new to delphi coming over from Vb6 and I have no problem writting to memory in Vb6 But I want to do it in delphi, I have used something similar that I would have used in vb6. But I would like to know how I would write multiple bytes to a single address implementation const Address1=$0054B28B; //These will be the address's im going to write to Address2=$0054B297; Address3=$0054B29C; {$R *.dfm}procedure TForm1.Button1Click(Sender: TObject); var Path : string; StartInfo : TStartupInfo; ProcInfo : TProcessInformation; CreateOK : Boolean; Write: Cardinal; NumberOfByt…

      • Thanks
      • Haha
      • Like
    • 14 replies
    • 9.1k views
  21. LCF-AT
    Started by LCF-AT,

    Hello, at the moment I trying to lern how to work with RegEx syntax and I have to say it makes fun and seems to be also very usefully.I also like the online site regex101 for testing / checking and to get the results and infos in realtime.(I would like to have any offline tool similar as regex101 [not notepad++]) Now my question is whether there are also any libs for MASM already I could use for myself in my apps if I need or want to check text sources for anything,so with RegEx it would be much better than to search manually with limited small pattern.Maybe any lib with functions I can also use with same string syntax etc.Does anyone know some latest thing etc…

      • Like
    • 8 replies
    • 6.5k views
  22. CodeExplorer
    Started by CodeExplorer,

    Looking for all JavaVMOption opt; What I have so far: public static string GetDescriptionFromComand(string command) { if (command.Equals("-Djava.compiler=NONE")) return "disable JIT"; if (command.StartsWith("-Djava.class.path=")) return "user classes"; if (command.StartsWith("-Djava.library.path=")) return "set native library path"; if (command.Equals("-verbose:jni")) return "print JNI-related messages"; return ""; } Any help will be great, also searched with google but no good result.

      • Like
      • Thanks
    • 1 reply
    • 8.5k views
  23. Guest Steve
    Started by Guest Steve,

    #include <windows.h> #include <stdio.h> #include <tlhelp32.h> unsigned long _GetProcessId( char* szProcName ) { PROCESSENTRY32 pe32; HANDLE hHandle; hHandle = CreateToolhelp32Snapshot( TH32CS_SNAPPROCESS, 0 ); pe32.dwSize = sizeof( PROCESSENTRY32 ); if( !Process32First( hHandle, &pe32 ) ) return 0; while( Process32Next( hHandle, &pe32 ) ) { if( strcmp( szProcName, pe32.szExeFile ) == 0 { CloseHandle( hHandle ); return pe32.th32ProcessID; } CloseHandle( hHandle ); return 0; } unsigned long _ScanForBytes( c…

    • 3 replies
    • 5.7k views
  24. LCF-AT
    Started by LCF-AT,

    Hi guys, today I got a error message trying to map a large file +1 GB and get error code ERROR_NOT_ENOUGH_MEMORY.For smaller files it works.My question now is how to handle large files without to get any problems? CreateFile GetFileSize // till max 4 GB = -1h CreateFileMapping MapViewOfFile,handle,FILE_MAP_READ,0,0,0 // = ERROR_NOT_ENOUGH_MEMORY (00000008) dwNumberOfBytesToMap --------------------------- Specifies the number of bytes of the file to map. If dwNumberOfBytesToMap is zero, the entire file is mapped. How to handle large files?What is the normal way for that?Should I first check how much virtualmemory the system has (in my case 4 GB - 1 GB for g…

      • Like
    • 5 replies
    • 8.1k views
  25. Aldhard Oswine
    Started by Aldhard Oswine,

    I'm reading IDA pro Book 2nd edition, author talks about writing plugin for IDA and uses C++, is this possible to write a plugin entire with python, plugin with menu item and shortcut?

    • 1 reply
    • 8.3k views

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.