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. 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
    • 4.8k views
  2. 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.1k views
  3. 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
    • 4.7k views
  4. 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.3k views
  5. 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.2k views
  6. 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
    • 4.8k views
  7. 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.3k views
  8. malware
    Started by malware,

    How to code a crypter using C programming language. I am looking for guide line. Thanks

    • 1 reply
    • 5.3k views
  9. malware
    Started by malware,

    Using native win32 how do i create stylish button and sub window and image background as professional application ? to name a few Eset and Comodo av.

      • Like
    • 8 replies
    • 9.9k views
  10. malware
    Started by malware,

    which is the best ebook for leaning Assembly language. what is the best resource to learn asm language. I am currently reading "step by step assembly programming".

    • 0 replies
    • 4.5k views
  11. malware
    Started by malware,

    I want to learn algorithm or problem solving using C programming language. I find it very complicated to learn. How and where do i start; which book i should follow or any tutorial series which is easy to learn or follow. Where did you started learning algorithm? Thanks

    • 3 replies
    • 5.3k views
  12. malware
    Started by malware,

    I am looking for tutorial series or book of creating dialog in resource section. how do i create dialog box ? I am reverse engineering using resource hacker. I found the program i am reversing has dialog box item. what is the raw resource source code of the following dialog -reference attached image?

    • 4 replies
    • 6.7k views
  13. CodeExplorer
    Started by CodeExplorer,

    Speed optimization question: Having this code: F1_bak = F1_bak+An+Mn[0]; // add the already computed Mn[0] value unsigned int lr_val1_bak = leftrotate(F1_bak, s[0]); unsigned int Ban1Test = Ban[0]+lr_val1_bak; if (Ban[1]!=Ban1Test) { //printf("Invalid Ban[1] value!!!!\n"); goto StartOfSearch; } versus second one: unsigned int Ban1Test = Ban[0]+leftrotate((F1_bak+An+Mn[0]), s[0]); if (Ban[1]!=Ban1Test) { //printf("Invalid Ban[1] value!!!!\n"); goto StartOfSearch; } It happens that the first one is faster, there is more code to it and the difference is of 10 seconds! Can someone explain why?

      • Like
    • 27 replies
    • 11.7k views
  14. CodeExplorer
    Started by CodeExplorer,

    Concurrency threads problems... Having this code: int BruteForceFunction(void * BruteWayPtr) { int BruteWay = *(int*)BruteWayPtr; printf("Brute way = %d\r\n", BruteWay); time_t _tm = time(NULL); struct tm * curtime = localtime (&_tm); printf("start time %s\r\n", asctime(curtime)); KnowSum = 0; unsigned int A = 1; unsigned int B = 2; unsigned int C = 3; unsigned int D = 4; unsigned int M[8] = {0x11111111, 0x22222222, 0x33333333, 4, 5, 0, 0, 0x33333333}; // 7FFFFFFF max int unsigned int Mn[8]; unsigned int F = 0; // {0x1, 0x2, 0x3, 4, 5, 0, 0, 0x92222222}; unsigned int B_a[8]; // {0x11111111, 0x22222222, 0x33333333, 4, 5, 0, 0, 9999}; // {0x1, 0x2,…

    • 2 replies
    • 4.4k views
  15. skylark
    Started by skylark,

    Could anyone please shed some light on me about the process of creating an exe (outputting a compiled exe) from another exe? Like the loader/patcher programs, you put the name of the program you want to patch, put addresses and bytes, then click some "create patcher" button and the patcher-creator program outputs a patch.exe for you. Or like the keylogger or rat programs, after selecting desired settings, you click some "create server" button, and it outputs a server.exe for you. I am somewhat lost about how this process is done, tried googling but couldn't find any source to learn (maybe I don't even know how to search on this topic). For starter, I want to make an …

    • 15 replies
    • 6.6k views
  16. whoknows
    Started by whoknows,

    dowload (git included) @: https://www.sublimemerge.com/ @CodeExplorer hehe they done it man, all in 14mb similar - https://www.sourcetreeapp.com/ bonus - Programming Facts

    • 1 reply
    • 4.4k views
  17. Modify
    Started by Modify,

    I try to add new instruction, // old const/v4 v?, 0x0 // new const/v4 v?, 0x0 const-string v?, "Hello" // new instruction can someone help me, adding instruction without duplicate register number?

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

    Hi guys, today I check some of my windows sockets codes and wanted to update & optimze it a little writing some clean code without to be messy to have also a better view on it.Now I came to the hostent struct which returns a pointer to this struct after calling gethostbyname / gethostbyaddr.Now in the MSDN description I can read that this struct is only used once for each call to this function and getting overwritten by another call.Now they say I should copy the struct into other buffer. So does it mean I dont need to copy it into extra buffer if I call the function from diffrent created threads?Just if I use same thread = copy to buffer?So normaly I ca…

      • Like
    • 8 replies
    • 6.1k views
  19. CodeExplorer
    Started by CodeExplorer,

    Getting most significant bits... I could only think of this: #define GetLSBs(x,n) (x&((1<<n)-1)) unsigned int GetMSBs(unsigned int x,unsigned n) // n number of bits to get from i = 0 { // n = numbers of bits to get unsigned int LSB = GetLSBs(x,32-n); unsigned int MSB = x-LSB; return MSB; } I've thinked of getting MSB with "and" instruction; anyway I've failed to get bits mask: first bit, first two bits, first 3 bits ...: 1000 // 8 1100 // 12 1110 // 14 1111 // 15

      • Thanks
    • 4 replies
    • 5k views
  20. abbas
    Started by abbas,

    hi all I want to create a language teaching game and I have 0 experience in this field but I played a lot of games. now I want you guys to tell me briefly what things I should go for and give me links you think is essential.

    • 2 replies
    • 4.7k views
  21. zodiac
    Started by zodiac,

    I have a code for converting serials into segments written in C ++. Now I want to use this code in an application that I wrote in Delphi. I've translated some of the code but I did not understand a number of commands. Help me convert my code into Delphi std::string hwid_str = "aDBUvGX+SZeXe0ZRtjUGQTpD2jk="; size_t len = hwid_str.size(); uint8_t *hwid = new uint8_t[len]; Base64Decodehwid_str.c_str(), hwid_str.size(), hwid, len); for (size_t i = 0; i < len; i += 4) { uint32_t value = *reinterpret_cast<uint32_t *>(&hwid[i]); uint32_t id = value & ~3; switch (value & 3) { case 0: …

    • 0 replies
    • 5.3k views
  22. CodeExplorer
    Started by CodeExplorer,

    Four Ways to Compile C for Windows: https://nullprogram.com/blog/2016/06/13/ Pelles C statement: So that statement is true? Are performances lower if I use Pelles C???

      • Like
    • 2 replies
    • 4.7k views
  23. malware
    Started by malware,

    How to send email smtp using winsock C++?

      • Like
    • 2 replies
    • 4.6k views
  24. CodeExplorer
    Started by CodeExplorer,

    Easy way to write chars to file? Tried http://www.java2s.com/Code/Cpp/File/Writeunsignedchartoafileandreaditback.htm ofstream out("D:\\block1"); out.write((char *) &block1Conv, sizeof block1Conv); out.close(); There is a problem: it will replace 0A with 0D0A How I can avoid the newline stuffs?

      • Like
      • Thanks
    • 1 reply
    • 4.4k views
  25. fearless
    Started by fearless,

    Mainly for anyone using asm and interested in custom controls or adding more functionality to their projects, I recently began work in porting over, adapting and adding to DrawHTML code from Ukkie9: https://www.codeproject.com/Articles/7936/DrawHTML I created two functions: DrawHTMLCODE and DrawBBCODE that processes html or bbcode tags in a string and adjusts the text and font style accordingly and outputs the result as per DrawText or DrawTextEx win32 api functions, but with the added enhancements. So far some tags are supported, not all. Mainly ones that are more common in use, or made sense to include. Anyhow I have put the code on github for anyone to u…

    • 0 replies
    • 4.2k 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.