Programming and Coding
Programming and coding tips, help and solutions...
1,882 topics in this forum
-
How to build a memory viewer?
by LCF-AT- 14 replies
- 8k views
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
-
Dnlib cant find nested type!
by CodeExplorer- 2 replies
- 4.2k views
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?
-
Visual C++ Edit only 500 char maximum length!
by CodeExplorer- 2 replies
- 4.1k views
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
-
Looking for websocket Client code examples 1 2
by LCF-AT- 43 replies
- 19k views
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 …
-
- 0 replies
- 3.6k views
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
- 3.7k views
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.
-
Perl error
by CodeExplorer- 2 replies
- 4.8k views
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…
-
How do build kernel more rootkit?
by MacMike- 5 replies
- 5k views
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.
-
How to apply patches from diff in MinGW?
by LCF-AT- 7 replies
- 5.7k views
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…
-
How to develop nice GUI App
by malware- 9 replies
- 5.9k views
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.
-
how to code HTTP botnet?
by MacMike- 1 reply
- 4.2k views
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?
-
Want to develop Antivirus
by MacMike- 17 replies
- 6.1k views
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
-
- 3 replies
- 4.2k views
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…
-
PE File Format question
by null_endian- 1 reply
- 3.8k views
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.
-
- 0 replies
- 5.6k views
@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 …
-
MSIL : Endfilter Opcode
by Perplex- 2 replies
- 4.2k views
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"); }
-
Want to develop GUI app using Sciter?
by malware- 0 replies
- 4.8k views
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.
-
How to code crypter?
by malware- 1 reply
- 4.7k views
How to code a crypter using C programming language. I am looking for guide line. Thanks
-
win32 how do i create button and sub window
by malware- 8 replies
- 9.1k views
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.
-
Which is the best book for learning Assembly
by malware- 0 replies
- 3.9k views
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".
-
Where to learn algorithm in C?
by malware- 3 replies
- 4.6k views
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
-
- 4 replies
- 5.9k views
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?
-
Speed optimization question comparing 1 2
by CodeExplorer- 27 replies
- 10.3k views
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?
-
Concurrency threads problems
by CodeExplorer- 2 replies
- 3.9k views
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,…
-
- 15 replies
- 5.7k views
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 …