Programming and Coding
Programming and coding tips, help and solutions...
1,876 topics in this forum
-
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.6k 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.6k 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.5k 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.8k 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.2k 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.6k 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 …
-
- 1 reply
- 3.9k views
dowload (git included) @: https://www.sublimemerge.com/ @CodeExplorer hehe they done it man, all in 14mb similar - https://www.sourcetreeapp.com/ bonus - Programming Facts
-
How to add new instruction with dexlib2?
by Modify- 2 replies
- 4.4k views
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?
-
Question about hostent struct
by LCF-AT- 8 replies
- 5.5k views
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…
-
Getting most significant bits...
by CodeExplorer- 4 replies
- 4.3k views
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
-
[?]how to begin game development
by abbas- 2 replies
- 4.1k views
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.
-
- 0 replies
- 4.6k views
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: …