Skip 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 would like to know whether anyone knows a method to create rounded corners (buttons / Icons) filled with gardient colors inside and transparent outside the corners.At the moment I didnt found any way to make it with a simple method.Only thing I could do is to fill each outside pixel manually with some color xy. Example: Using static color of menu (no gardient style) I create a context menu with drawed icons before each menu entry.Now I draw the background with same color like the menu has and then creating the round corners. ............... invoke GetSysColor,COLOR_MENU ; get system menu color …

      • Like
    • 24 replies
    • 8.8k views
  2. LCF-AT
    Started by LCF-AT,

    Hi guys, I have a new problem found at WM_MEASUREITEM message and using the content of MEASUREITEMSTRUCT.itemData. I created a normal popmenu with ownerdraw flag and at WM_MEASUREITEM & WM_DRAWITEM I am using the content of itemData of both structs (DRAWITEMSTRUCT and MEASUREITEMSTRUCT) to read the menu string and draw it.But anyhow its working diffrent so I dont get the same results.For my popmenu everything works well and the menu strings are comletely inside of itemData to see but when I am also using a second normal main menu with ownerdraw flag then I dont have the whole menu string inside of itemData and I got only ONE letter and the menu does also sho…

  3. Kaidoz
    Started by Kaidoz,

    Hey everyone. I try inject Method in TypeDef, but i cant do. Maybe anybody help me? My code: try { ModuleDefMD typeModule = ModuleDefMD.Load(typeof(Encrypt).Module); var mthDef = typeModule.ResolveMethod(MDToken.ToRID(typeof(Encrypt).GetMethods().Where(x => x.Name == "EncryptOrDecrypt").First().MetadataToken)); foreach (var d in module.Types) if (d.HasMethods) { d.Methods.Add(mthDef); } foreach (MethodDef md in module.GlobalType.Methods) { if (md.Name == ".ctor") { …

    • 1 reply
    • 6.7k views
    CodeExplorer
  4. LCF-AT
    Started by LCF-AT,

    Hi guys, I have a new question.I wanna ask whether its possible to use diffrent colors for a single menu item string entry? Example: ContextMenu Menu ---------------------------- ABC 123 <-- blue & red 111 222 <-- only red AAB SAB <-- only blue 1A2 B4C <-- blue & red ---------------------------- Above you see 4 menu item entry / string.Just some letters and numbers.Now I would like to show the letters in color A (Blue) and the numbers in color B (Red).So is that possible to do that anyhow in a same single menu item?I am also not sure whether its possible with a Ownerdraw to seperate the text color.Does anyone know that or had …

      • Like
    • 22 replies
    • 8.2k views
  5. LCF-AT
    Started by LCF-AT,

    Hi guys, I was trying to create a popup menu using CreatePopupMenu function and SetMenuInfo function (MNS_DRAGDROP) to get triggered by WM_MENUDRAG message = Ok.Now on this message I can read wparam content to check out where the drag did started lik from position 1 for example.The problem now is how to check where the drag did end if I release the left mousebutton again?There is a message called WM_MENURBUTTONUP but not for the left button.Now I dont know how to find that out to catch the drag end of this operation you know.Only thing I could do is to catch WM_MENUSELECT after WM_MENUDRAG (setting a marker of drag start item index) and checking at WM_MENUSELECT whic…

    • 0 replies
    • 4.9k views
  6. malware
    Started by malware,

    I want to learn c programming language. Now i understand basic of asm (nasm & masm). Which ebook or tutorial should i follow. *Best resources* The purpose of learning is i want to develop malware (legal monitoring). (Also reverse engineer malware). Thanks

      • Like
    • 4 replies
    • 7.7k views
  7. CodeExplorer
    Started by CodeExplorer,

    Sending Alt+Pause (Alt+Break) to dosbox debugger ??? DosBox uses SDL.dll so I think SendInput function has to be used: https://docs.microsoft.com/en-us/windows/desktop/api/winuser/nf-winuser-sendinput SendInputExamples: https://batchloaf.wordpress.com/2012/04/17/simulating-a-keystroke-in-win32-c-or-c-using-sendinput/ https://stackoverflow.com/questions/6811899/how-would-i-use-keybd-event-to-send-a-for-example https://batchloaf.wordpress.com/2012/10/18/simulating-a-ctrl-v-keystroke-in-win32-c-or-c-using-sendinput/ https://stackoverflow.com/questions/29129987/c-simulating-keystrokes-using-sendinput-method-failure-to-distinguish-right Anyway Visual C++ …

    • 6 replies
    • 7k views
  8. CodeExplorer
    Started by CodeExplorer,

    C generate all possible combination of strings - for brute force: char* ValidChars = "0123456789ABCDEF"; int MinimLen = 1; int MaximLen = 2; char SpecialChars[255] = {0}; char GeneratedString[50] = {0}; int Valid_Chars_len = strlen(ValidChars); SpecialChars[0] = ValidChars[0]; // the first char will be first allowed char // SpecialChars[i] will point to next char like this: // SpecialChars['a'] = 'b'; // SpecialChars['b'] = 'c'; // SpecialChars['c'] = 00; // the end of a loop for (int i=0;i<Valid_Chars_len-1;i++) SpecialChars[ValidChars[i]] = ValidChars[i+1]; memset(GeneratedString, ValidChars[0], MinimLen); // we start with 'aaa' string char NextChar; int P…

    • 5 replies
    • 6.5k views
  9. LCF-AT
    Started by LCF-AT,

    Hi guys, does anyone know how to create a own memory viewer what does show memory similar as HxD?Offset / Hex etc you know. So normaly I would open any choosen process and read entire memory from 0 - F using VirtualQuery and then I need to show it anyhow.Not sure whether I should use a edit control or anything else.Next question would be how to show it with offset addresses / hex / ASCII and how to update the memory if it does change.Hhmmm.Has someone any ideas / hints how to handle that?Just wanna create a memory viewer + some search function only. Thank you

      • Like
    • 14 replies
    • 9.6k views
  10. CodeExplorer
    Started by CodeExplorer,

    Dnlib cant find nested type! Nested type name: Confuser_Methods_Decryptor.MetadataReader/TableSize public TypeDef FindTypeFullName(string typeFullName) { if (assemblies==null||assemblies.Count<=0) return null; for (int i=0;i<assemblies.Count;i++) { TypeDef foundtype = assemblies.Find(typeFullName, false); // is a slah '/' if (foundtype!=null) return foundtype; } return null; } So I've used AssemblyDef Find method, anyway this doesn't find nested types! What I do wrong? How to fix it?

    • 2 replies
    • 5.1k views
  11. CodeExplorer
    Started by CodeExplorer,

    Visual C++ Edit only 500 char maximum length! Any way to make it hold more datas? Already tried: https://stackoverflow.com/questions/180853/cedit-control-maximum-length-in-characters-it-can-display

    • 2 replies
    • 5.2k views
  12. LCF-AT
    Started by LCF-AT,

    Hi guys, I am looking for any code examples about websocket calling http/s and switching protocol 101.I would like to know how the code for this kind of connection / communication has to look like using Windows Socket functions or OpenSSL function as I use for normal website readings etc. In some cases when sites using websockets I need to use Fiddler to check out what happend in that connection and what data it was getting but now I wanna write some code for this to do almost same and reading the data from.On internet I just find mostly any scripts for xy languages but no raw code I can do something with that you know.Just need any or some code examples of the …

      • Like
    • 43 replies
    • 24k views
  13. kate

    Hello everyone I am developing one autobot for one website. Up till now everything is fine but recently they have implemented the invisible google recaptcha v3. Need professional help to handle the v3. Please message me or reply if you find it challenging or if you can do it.

    • 0 replies
    • 4.3k views
  14. kate
    Started by kate,

    Hello everyone, I am in development process for one autobot but I encounter one issue at one stage. In the site for which I am building auto bot has implemented google recaptchas. The recaptcha is invisible but its response is set to webrequest's request header. I have found out two google recaptcha's webrequests and also find most of the get and post parameters for both requests except one query string parameter and 5 post parameters. If anyone can help me with this please reply here or PM me I will share the fiddler sniffer logs and other details. If you have any questions please feel free to ask me.

    • 0 replies
    • 4.5k views
  15. CodeExplorer
    Started by CodeExplorer,

    Perl error having gen-kernel.pl file and this declaration: my $code = ""; ... my $output = shift; open STDOUT,">$output" or die "can't open $output: $!"; $code .= <<EOF; ; finalize the computation of A,B,C,D iadd r0, r0, r23 iadd r1, r1, r24 iadd r2, r2, r25 iadd r3, r3, r26 ; compute x,y (x = A; y = C - D) mov r21, r0 iadd r22, r2, r3_neg(xyzw) ; decrement loop counter iadd r4.x, r4.x, l100.y endloop umul r5.x, vaTid.x, l100.w mov g[r5.x+2], r21 mov g[r5.x+3], r22 ; increment the 4 iteration counters iadd r5.y, l100.x, r4_neg(x).x iadd g[r5.x+4], g[r5.x…

    • 2 replies
    • 5.6k views
  16. MacMike
    Started by MacMike,

    I need your help. i want to know about to developer Kernel mode Rootkit. What are the best tutorial or Article series you can advice me? (explains details) Don' tell me to google it. I search but not so many useful and detailed info. Can you please advice me good beginner series and easy to understand and detailed. i am am looking forward to hear from you.

    • 5 replies
    • 6.1k views
  17. LCF-AT
    Started by LCF-AT,

    Hi guys, today I have a new question so maybe anyone can help me.I was playing around with MinGW to compile some files similar like in the past where I compiled some FFmpeg versions for doing some tests.Now I was trying to compile rtmpdump / librtmp files and its also working so far.The problem I have now is how to apply patches (.diff file) in MinGW shell?This seems not to work correctly.On internet and readme file of the patch / diff file I found some infos using commandline like this... patch -p0 -i Patch.diff or patch -p0 < Patch.diff make make install prefix=/usr ....I tried them and first some many same me…

      • Like
    • 7 replies
    • 7.1k views
  18. malware
    Started by malware,

    I wanna develop a nice GUI software like Kerspersky or Avast. what should i learn and will be able to develop such nice GUI app. What technique used to develop kerspersky or Eset Anti virus. MFC or pure win32? Thanks and sorry for my bad English.

      • Thanks
      • Like
    • 9 replies
    • 7.3k views
  19. MacMike
    Started by MacMike,

    Hello Dear. I want to develop an HTTP based botnet? How do i make that botnet using PHP and C programming language. Sending and receiving information between sever (HTTP PHP) and Client. Where should i start and which guide line should i follow?

    • 1 reply
    • 5k views
  20. MacMike
    Started by MacMike,

    Hello Everyone, I am almost finish learning Algorithm in C programming language. My Goal is and i wanna develop antivirus software. My Question is where should i start? I am looking for your valuable opinion. Thanks

      • Thanks
      • Haha
      • Confused
      • Like
    • 17 replies
    • 7.7k views
  21. pwnium
    Started by pwnium,

    Hello there ! am using delphi 7 Lite this is a simple code i wrote : if edit1.text = '9987-5481-2548-2000' then showmessage('Good Boy !') else showmessage('Bad Boy !'); the problem is , when i debug my little CrackMe , i can see the correct password just by a simple search (reference text string) ! see the picture : http://i63.tinypic.com/30rxhj8.png how to hide strings ? - another question : i've created a simple algorithm : procedure TForm1.Button1Click(Sender: TObject); var i,s : integer; begin for i := 1 to length(edit1.text) do begin s := ord(edit1.text[i]) end; s := s + $985; edit…

      • Like
    • 3 replies
    • 5k views
  22. null_endian
    Started by null_endian,

    In the PE file format, there is the DOS_HEADER and then right after that, there is a section called doscode which is by default 64 zero bytes. However, sometimes it is filled with an arbitrary number of bytes. Some PE files have a lot of bytes here, others don't. How can I calculate the number of bytes that doscode will be? There doesn't seem to be any field in the DOS header which specifies this. Thanks.

    • 1 reply
    • 4.6k views
  23. 0xNOP
    Started by 0xNOP,

    @Teddy Rogers (tagging Teddy since I know he has used PureBasic in the past, in fact, thanks to him, I got fevered to learn and code in this nice language.) Hello everyone, I have been wanting to do a proxy server for a game I have, and so far I've only gotten to work, but it's very broken, I know I'm doing a horrible job handling memory buffers and writing/reading to/from Client to Server and vice-versa, but I have gotten this far on my own, now I need help from you guys as I can't make it work, and I don't know how I could have a better approach at reading/sending data to and from the client and server and vice-versa... I know there could be better ways but …

    • 0 replies
    • 6.7k views
  24. Perplex
    Started by Perplex,

    The version lower than C#6 compiler can produce the Endfilter Opcode? What C# code? Version higher than C#6 can produce the Endfilter Opcode. try { throw new ApplicationException("Error"); } catch (ApplicationException ex) when (ex.Message == "Error") { Console.WriteLine("OK"); }

    • 2 replies
    • 5.2k views
  25. malware
    Started by malware,

    I am learning Wi32 GUI app development. I want to style and design my app using "sciter" library. But I am googling and trying to find a good article or tutorial series or similar like that (I want to reverse engineer app {Reversing Sciter app} ) but I can't find anything useful. popular apps are designed using Sciter. (ESET,Symantec etc) Any help appreciated.

    • 0 replies
    • 5.6k views

Account

Navigation

Search

Search

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.