Programming and Coding
Programming and coding tips, help and solutions...
1,882 topics in this forum
-
Implementing LZMA
by Killboy- 12 replies
- 7.8k views
Hi I was trying to code my own packer, and after finishing most of the imports processing, I was going to move over to compressing the sections. LZMA provides a pretty good compression so I chose it over aplib, also because aplib only works on x86 from what it says on their website. Anyway, I downloaded the LZMA SDK and it's a complete mess. There is no documentation whatsoever, just 4 folders, one for each programming language. There is only some decompression code for ANSI C, and the C++ code is totally messed up, 4 subfolders, all with the most meaningless names. I dont have a single clue which files to copy and what functions to call. Has anyone ever dealt with…
-
How To Including Dll
by X-88- 4 replies
- 4.1k views
How to Enter into the Resource DLL with Delphi and DLL Functions Calling Such without having to extract them from Resource DLL ... Give it a try but I Repeatedly Failed to continue and I ask others I try to Delphi Forums, nor can the road. When I tried Ripped Chiptunes from A Crack I see There BassMod.dll inserted in the Software As the picture below. I hope you guys help me! ... Thx B4 !........... Please Click Picture to enlarge. I have marked with red color.
-
Assembly language : Programming series
by Noteworthy- 14 replies
- 20.6k views
Hello dear comrades, "This is for all you folks out there, who want to learn the magic art of Assembly programming." - MAD What is Assembly Language ? Some people define assembly language as a language in which one line of source code generates one machine instruction. This has never been literally true, since some lines in an assembly-language source code file are instructions to the translator program and do not generate machine instructions. My own definition follows: Assembly language is a language that allows total control over every individual machine instruction generated by the translator program. Pascal or C compilers, on the other hand, make a multitude of invis…
-
How to make a .inc out of my xm?
by PiZZAMiN- 9 replies
- 5.3k views
I have a really cool xm (Chiptune) I made, but I can't figure out how to make it a .inc I am using lena151's template, but I want to play my song. Just for clarification the .inc that lena151 provided looks like this able db 045h, 078h, 074h, 065h, 06Eh, 064h, 065h, 064h, 020h, 04Dh, 06Fh, 064h, 075h, 06Ch, 065h, 03Ah db 020h, 072h, 078h, 078h, 020h, 06Bh, 065h, 079h, 067h, 065h, 06Eh, 065h, 072h, PS. that is a part of it. Any replies are appreciated!
-
Sid Player
by X88- 5 replies
- 6.8k views
how to create a SID player with Delphi?
-
WinCrypt API - RSA
by deepzero- 3 replies
- 10.2k views
Hi there, I was trying to implement a simple RSA signature verification scheme. Fortunately, Microsoft gives an example of using the crypto apis, which does precisely that: />http://msdn.microsoft.com/en-us/library/aa382371%28v=vs.85%29.aspx This looks good, but doesnt actually work. The second api call, CryptGetUserKey() fails. GetLastError() returns "0x8009000d", which is not defined to my knowledge. am i missing something...? d.
-
PLC Information and Links
by atom0s- 5 replies
- 10.3k views
PLC (Programmable Logic Controller) />http://en.wikipedia.org/wiki/Programmable_logic_controller Wiki: Computing Library: Power Point Example of PLC Ladder Logic (Link from Wiki) />http://claymore.engineer.gvsu.edu/~jackh/books/plcs/powerpoint/ch01.ppt PLC History (http://www.plcs.net/chapters/history2.htm) PLC Links and Information [* ]http://www.plcs.net/contents.shtml - Lots of PLC information, various diagrams, etc. [*]http://www.allaboutcircuits.com/vol_4/chpt_6/6.html - PLC Ladder Logic information. Code Listings, Examples, Emulators [* ]http://www.codeproject.com/KB/miscctrl/PLC_simlutor.aspx - MFC C++ PLC Emulator [*]http://www.codeproject.com…
-
Visual Studio 2010 Image Library
by Killboy- 3 replies
- 12.4k views
I was wondering if anyone who has Visual Studio 2010 installed, could upload the Visual Studio 2010 Image Library? It's a single zip with bitmaps and icons that can be used for Windows applications, it's located at Google didn't come up with anything downloadable and I'd prefer not to download and install VS2010 just for the icons. So if anyone has it and could upload it, I'd appreciate it a lot. Thanks
-
Manually processing relocations
by deepzero- 1 follower
- 17 replies
- 7.8k views
hi, i am trying to manually rebase a PE32 file, ie instead of having the windows loader load it, i read the file myself and manually resolve imports, relocations, etc. import processing went fine, but the relocation stuff just doesnt work. I can get a pointer to the DWORD that needs to be relocated, but somehow the the delta is incorrect or whatever. So i tried to manually rebase it, but failed :S rebaset this push: //original code 0040106E 68 79204000 PUSH 00402079 ; ||FileName = "Keyfile.dat" original imagebase: 400000 new imagebase: 6d000 delta = new - original hexa: FFC6D000h = 6d000h - 400000h = delta decimal: delta = 446464d - 4194304d = -3747840d 79…
-
- 0 replies
- 3.7k views
Microsoft All-In-One Code Framework Are you frustrated by the lack of code samples for a certain programming task? Have you ever struggled to quickly get started with a technique? Have you expected someone to write code samples for you based on your requests for free? Is a one-stop code sample library for all Microsoft development technologies attractive to you? If your answer is YES to any of these questions, the Microsoft All-In-One Code Framework is for you! The Microsoft All-In-One Code Framework is a free, centralized code sample library driven by developers' needs. Our goal is to provide typical code samples for all Microsoft development technologies, and reduce dev…
-
- 1 reply
- 3.2k views
Hello tuts4you, While I was waiting for some brute-forcer to complete I decided to start this mini-project because I always hate "Reversing" long HEX data (eg C3 6B 88 E5 FD 90 8F DA 19 51 40 F9 27 C1 AB 3E 05 49 4C 5A C7 to C75A4C49053EABC127F9405119DA8F90FDE5886BC3) Screenshot: Download Greetings, Mr. eXoDia // T.P.o.D.T 2011 mr.exodia.tpodt@gmail.com http://www.tpodt.com HexReverse_mini.rar
-
How to Convert RVA to Offset ?
by h4sh3m- 10 replies
- 8.8k views
hi dears I'm looking for delphi source that convert RVA to Offset. I found some code but those not work and I can't fix them. please help me to do it. tnx & sorry for poor english
-
Delete
by 0xFF- 13 replies
- 7.7k views
Delete.
-
OllyDetach - OllyDbg 2.x Plugin
by atom0s- 2 replies
- 6.7k views
No longer sharing this project on this site.
-
Tunneling in .NET
by w00tare- 0 replies
- 8.7k views
Hey, Currently I'm learning things about networking, I downloaded a license-protected program and now I'm trying to tunnel it's packets. I already have the IP and port of the application. I also found what packet I need to edit to make it like I'm a 'real' user, I tried to receive the packets but no luck. Any info on this would be greatly appreciated.
-
Help in Hook Winsock API
by Marquinho- 11 replies
- 11.8k views
i am try create a dll i get create but, i need this dll hook winsock api and use this send function of program TCP/IP Client for send packets, with Socket id.. This dll based on wpeSpy. for send packets in the program. i used void __cdecl Send( const char* szText ) { UINT_PTR adr = 0x00402800; //function address __asm { push szText mov edx, szText mov ecx, edx call adr } } but i dont understand works. Att.Marquinho
-
Assembly Compiler
by X-88- 2 replies
- 17k views
what is the difference between Easy Code go to the Assembly with Microsoft Assembler? ... and why when I compile the source code with Easy assembly Code go to the Assembly always occur Error? ... Help me Please!... I forgot Tuts4you.com Passwordku in long-but I can not reset it why ?.... The name of my old X-88 :help :help
-
- 8 replies
- 3.9k views
Hi Guys, I've recently written some code in C which searches for a 40-bit key used to encrypt a known plain text. The code works and is able to find a known key to find for a given cipher text. The trouble is that is that rate of keys searched is very low, say 4-5,000 keys/sec. Despite running this on an old PC (Athlon XP 2200+) I know I should be seeing much faster results. For example, using APDFPR as a benchmark, I can see an average rate of 1.7x10^6k/s. My compiler settings (GCC and VC6) are optimised for speed and for my processor. I've also replaced the array subscripting with pointers as I remember reading that this is a faster method. Neither of these made any …
-
char* not valid syntax in WDK?
by Saduff- 9 replies
- 5.2k views
For some reason the WinDDK thinks this is not valid syntax: char* Hello = "Hello World!";The build utility gives these errors: I was using the x86 WinXP Free Build Environment. The code is in C. Also, is char* correct type to pass as PCHAR to API?
-
- 21 replies
- 6.4k views
This is definitely a challenge. I've been trying to create an difficult to crack login-system because it seems incredibly difficult to do. I mean, many login systems out their can be detoured by a single jump, and I wanted to challenge myself to create something which can try and avoid the easy detour of user login. Heres what I planned to do, please point of flaws and suggest some ideas. Login: Client which the user enters login details into. If the login details checkout with the server, the server will generate a hash based on the current time (to the day), the username, and the password, return it, and store it in the user's registry. This hash is hereby called the Us…
-
[Native/C] Reading keyboard input
by Saduff- 0 replies
- 4k views
I'm writing a native application in C (/SUBSYSTEM:NATIVE) and need to check if a key combination was pressed. It works, but it only captures the first packet of keyboard input data (i.e only first key pressed), however I need to check 4 keys simultaneously. Here's the code I used for testing: UNICODE_STRING NtReadKeyboardInput() { LARGE_INTEGER Interval; UNICODE_STRING input; UNICODE_STRING keyboardDeviceName; OBJECT_ATTRIBUTES objectAttributes; IO_STATUS_BLOCK ioStatusBlock; WCHAR show[200]; NTSTATUS status; HANDLE keyboardHandle; UNICODE_STRING message; KEYBOARD_INPUT_DATA inputData[3]; USHORT usMakeCode; USHORT usFlags; //----------------- …
-
Loader and Exception Handling
by snoopy- 2 replies
- 7.5k views
Hey guys, I was wondering if anyone has experience with using a loader to create a process and install an exception handler. The thing I want to figure out if possible is to let the loader be the exception handler. I know SEH is per thread used so that would mean I would have to inject a DLL for example and install the exception handler. I was wondering if it is possible to use a Loader program which uses: CreateProcess API and install an exception handler to it. So when exception in program occurs it goes to handler from the loader. Best regards.
-
.NET Directory Flags
by w00tare- 21 replies
- 12.5k views
Hey, I'm trying to build a program that shows me the flags of the .NET Directory of a file in C#. (This is from CFF Explorer) But I'm having a hard time finding some sort of Algorithm to find out when what checkbox needs to be checked. Hoping someone can help me, Thanks.
-
CreateThread C++ / asm
by equlibrium- 4 replies
- 4.1k views
Hello. Problem is that i don know how to Thread for in my dll code ! For my exe i have added dll load . Dll file will load and exit but i need it runn all time. I post her my dll src i hope some one can help made that theard and post asm info for theard . Ty Best regards Peter [ sorry my bad English ] Some ss how dll is hooked meaby hook is wrong />http://www.upload.ee/image/1519109/client2.png />http://www.upload.ee/image/1519105/client1.png killhacker now changed DLLkill Antihack src />http://www.upload.ee/files/1537610/antihack.7z.html
-
Skinning a static Box in Dialog?
by hmi222- 1 reply
- 5.5k views
Hi. Im trying to skin a Static Box in a dialog with a Region. But it doesnt work at all. The Dialog itself skins with its Region. Trying for the Static Box: invoke GetDlgItem,hWnd,IDC_Static1 ;Getting the hwnd of StaticBox mov hWnd_OGL,eax invoke CreateEllipticRgn ,20,-20,190,150 ;create an eliptic Region invoke SetWindowRgn,hWnd_OGL,eax,TRUE ;apply to Static Box. ---> after that Box is as Orginal , a Rectangle! so is it possible to skin a Dialogbox Control???? Thanx in advance