Programming and Coding
Programming and coding tips, help and solutions...
1,877 topics in this forum
-
- 18 replies
- 5.3k views
I am using visual studio 2013 ultimate extensions: RESHARPER just wondering what you talented people are using these days for programming in general?
-
Print without dialog box.
by akkaldama- 3 replies
- 6.3k views
Hi all, I am developing a POS system for a hospital management solution using asp.net mvc, angularjs, javascript and rdlc for reporting. Anyone know there is anyway to print the rdlc directly without previewing or showing print dialog box in the client PC and without using third party components? I have searched in the internet and found some solutions, some of them uses third party components like 'itextsharp', 'crystalreport' etc. Any help will be appreciated. Regards, akkaldama.
-
ARM Android coding license-free TrustZone?
by chickenbutt- 1 reply
- 4.6k views
Anyone know of any OSS efforts to allow apps to use TrustZone isolation without the big licensing process?
-
[Any Language] GDI fun thread
by simple- 19 replies
- 7.5k views
Get some ides from the spirit of this thread... - http://codegolf.stackexchange.com/questions/35569/tweetable-mathematical-art?page=1&tab=votes#tab-top... & make some cool GDI animations - demo style !Here's a code skeleton, core algo is the same as KyleMcCormick's - except for GDI animationsThis code will work on all Win C or C++ compilers - Goal is to edit PixelWrite() - the R, G & B values to make original, unique animationsedit a few lines & post ur graphics : ) RULES:- Post a binary - Post the source for your PixelWrite() function - No rules really, just try to make small code do big things & keep .exe's small - Post in whatever language u want-…
-
[Unpack] Agile NET ?
by teehist- 4 replies
- 14.1k views
anyone have any idea how to remove the latest protection Agile.NET? I'm having trouble with the de4dot, he kind of leaves a clean form, more actually has a System Log. Note: I am using the latest version of de4dot.
-
- 2 replies
- 5.7k views
I'm reading the code of dnlib and I was wondering the exact purpose of CreateFileMapping & MapViewOfFile primitives? What are the advantages of using these? Thanks guys!
-
Taskmgr cracking users TAB to hide a specific user
by dinzehzouhi- 2 replies
- 4.1k views
Taskmgr cracking users TAB to hide a specific user Hello , i hope everyOne is feeling good in this beautiful forum with some Knowledge. There's 1 month i'm trying to Hide a specific user from taskmgr ... and Someone who i told the IDEA made this code , and he didn't want to share it with me ... and i find this very Idiot i'm sorry for the word...... So any one can help us making that and then Sharing the code please ? i know that taskmgr is using wtsapi32.dll , and a function called InformationsessionW is loaded by the taskmgr to show the USERS... So how to hide a specific user like this man did ... WE WANT THE FULL CODE PLEASE …
-
memcpy gets ignored
by JustAGuy- 10 replies
- 6.4k views
Hi, I want to make dll in VC++ , which when loaded into a process modifies certain address in the process memory. int nLength = GetModuleFileNameA(NULL, pszBuffer, MAX_PATH); HMODULE hEXEParent = GetModuleHandleA(pszBuffer); . . memcpy (&hEXEParent + 0x148521 , lplocate, 4); lplocate is LPVOID adress of newly allocated memory space which I want to write. The problem is that memcpy actually never gets linked into dll although there is no error during compilation. I bet there is something wrong with memcpy parameters in my case.
-
How To make Loader in Vb6
by permana- 8 replies
- 13.2k views
I try to search on internet ... how to make loader in vb6 ,, but i every get in delphi .. then how to make it in vb6 , in example .. in address : 572CC3 i want to write prosess on memory with new byte 70 dan 3D , any idea
-
How to open chm file (winapi) ?
by Alzri2- 18 replies
- 7.2k views
Hi, Is there a way to open a chm file in the index tab and write something there ? Well, OllyDBG 2.01 does that ... I tried to debug it but couldn't figure out how it does that bp on 0049A8F1 and use "Help on API function" from the R click menu to break on it. This is the code I tried in ASM: .data libN db "HHCTRL.OCX", 0 funcN db "HtmlHelpA", 0 ;unicode HtmlHelpW path db "D:\WinApi.chm", 0 val db 20h, 0 DeskHWND dd ? .code start: invoke GetDesktopWindow mov DeskHWND, eax invoke LoadLibrary, addr libN invoke GetProcAddress, eax, addr funcN push offset val push 0Dh push offset path push DeskHWND ; could be NULL call eax invoke ExitPro…
-
Capstone.net with a file
by swell- 6 replies
- 5.1k views
I try to use capstone.net: https://github.com/9ee1/Capstone.NET The sample works fine with a byte array, but when I try it with a PE file it doesn't work. I've replaced the byte array from sample with File.ReadAllBytes(filePath); but it doesn't work. I suspect that I have to only give the code section to capstone and not the entire file. If this is the case, what is the best method to do it? Thanks in advance!
-
Drizz Cryptohash RCRC32
by ragdog- 2 replies
- 7.3k views
Hello all I try to use from Cryptohash library the RCRC32 procedur gives any exmaple or info how to use it? Regards,
-
- 6 replies
- 8.5k views
how to get URLs in memo, delimited text or split? e.g: in memo.text : begin memo1.lines.text := ' rtadgjkjuouioop hxxp://exmpl.com yyhfhjjj ijoo hxxp://wxw.exmpl.org iolvb wxw.exmpl.comiiij fiuddhity ftp://exmpl.com uiufsftgco45788 hxxps://exmpl.com ggcghj hxxps://wxw.exmpl.net giiu'; end; result in memo 2 I mean like this code: function spliter(const s : string; ts, rs : tstrings) : string; var i : integer; begin for i := 0 to rs.count - 1 do begin if (pos('wxw', ts.strings) > 0) or (pos('fxp://', ts.strings) > 0) or (pos('hxxp://', ts.strin…
-
- 3 replies
- 5.6k views
Hi guys, Anyone looking for a parsable copy of Intel instructions set.I just made them available at: https://github.com/MahdiSafsafi/Parsable-Instructions Mahdi.
-
CreateDIBSectiob() from bitmap resouce
by xSRTsect- 2 replies
- 5.2k views
Hello, I have the following code //bitmap HMODULE hModule = GetModuleHandle(NULL); HRSRC hRes = FindResource(hModule, pBitmapName, RT_BITMAP); if (hRes == NULL) return; HGLOBAL hGlb = LoadResource(hModule, hRes); if (hGlb == NULL) return; BITMAPINFO * pDIB = (BITMAPINFO *)LockResource(hGlb); if (pDIB == NULL) return; textbmi = *pDIB; textDC = CreateCompatibleDC(mDC->GetSafeHdc()); textbmp = CreateDIBSection(textDC, &textbmi, DIB_RGB_COLORS, (LPVOID *)&lpTextBuffer, 0, 0); SelectObject(textDC, textbmp); Everything looks to execute properly without API null returns - however, lpTextBuffer points to an array of zeros, no my image is…
-
Common questions in C++
by Alzri2- 18 replies
- 8.6k views
Hello, Anyone who has a (normal) question in C++, put it here.
-
- 8 replies
- 16.7k views
I try to compile the code from Delphi XE for android but it takes a long time and heavy because my PC specs are not too good, so I had to cancel, so I download Genymotion to try android application on my PC because it is very light. how to connect Delphi XE 8 to Genymotion as android emulator? and what emulator for iOS / iPhone / iPad / OSX are small and lightweight to test iOS applications? I downloaded iPadian but I do not know if this could be used to try the iOS app?! ... and I do not have an iOS device (iPhone / iPad or Mac etc). thx b4
-
AsmPointers (source code C#)
by CodeExplorer- 1 reply
- 12k views
AsmPointers (source code C#): AsmPointers will enumerate all assemblies and modules and will eventually call mbase.MethodHandle.GetFunctionPointer() for each method of a module.For testing purpose change in Program.cs: /// <summary> /// Program entry point. /// </summary> [sTAThread] public static void Main(string[] args) { string target = @"D:\\ModuleToAssembly.exe"; Assembly asm = Assembly.LoadFile(target); SendToJit.SendModuleToJit(asm.ManifestModule);the line string target = @"D:\\ModuleToAssembly.exe"; shoul be changed to load your simple assembly, for testing purpose only. And the program will on…
-
[c++]Problem with convert EAX
by baruch- 7 replies
- 12.8k views
Hi all! I try to do the keygen: "2. Keygenning tut KeyGenMe_#1_cLoNeTrOnE TeAm FOFF" from the link : https://forum.tuts4you.com/topic/36362-all-my-keygenning-tuts/?hl=%2Bkeygening+%2Btut There was a moment which register EAX equal to : 00000275 (in my case).[its just take the string "baruch" and conclude every char] And then was check : if(EAX == 00000275). Now in my C++ program ,i have integer called "sum" which equal to 275. The question is how i convert that number? I mean ,i need 00000275 not 275,so how i convert from "integer look" to "register look"? of course i can do very long way : 1.check the length of sum==3 2.do loop from 0 to 5 and fil…
-
My debugger loads dll too late
by Pancake- 13 replies
- 6.2k views
Hello So today i decided to create own debugger for own use, everything works just fine btu as we all know the anti-debug tricks have to by bypassed. So i created my Fix.dll which fixes the peb and hooks far jump (currently only for wow64). It works like a charm and spoofs the Zw* functions output, but the problem is that the dll is loaded too late.. After receiving the first debug meesage which is obviously CREATE_PROCESS_DEBUG_EVENT i get the EIP, LoadLibraryA address and then inject payload which loads my Fix.dll (i coped the shellcode from StrongOD). So it calls LoadLibraryA for my dll and returns to the original EIP, continuing execution properly without any…
-
PortEx: Library for Static Analysis of PE Files
by Struppigel- 0 replies
- 6.3k views
What is PortEx?PortEx is a library aimed at Java developers and reverse engineers. It enables you analyse Portable Executable files (e.g. EXE, DLL files) and has a special focus on malware analysis. In addition to just viewing a lot of file format information it provides tools that help you with reverse engineering or malware analysis. PortEx is written in Scala and Java.PortEx is free, open source and still in heavy development. Although I made Unit Tests for the most parts of the code there might still be bugs.Features Reading header information from: MSDOS Header, COFF File Header, Optional Header, Section Table Reading standard section formats: Import Section, Resou…
-
Skinning GUI in PureBasic keygen Example
by Bilbardfayim- 2 replies
- 8.4k views
Skinning GUI in PureBasic keygen Example https://forum.tuts4you.com/gallery/image/443-srn/ KEYGEN_EXAMPLE.rar
-
OllyDbg 1.10 plugin API (CHM format)
by RaMMicHaeL- 0 replies
- 8.1k views
File Name: OllyDbg 1.10 plugin API (CHM format) File Submitter: RaMMicHaeL File Submitted: 08 Aug 2015 File Category: Source Code The OllyDbg 1.10 plugin API manual in CHM format. Click here to download this file
-
another keygen template
by Jowy- 3 replies
- 7.9k views
here is another a keygen template by me thanks to xsp1d3r for the gfx hope u like it
-
help me des SSL library,THK Y.
by diskgetor- 3 replies
- 9.7k views
look here des soure: https://tls.mbed.org/des-source-code now i write code for DES ECB ENCODE: des_const des: setkey : des_crype_ecb(&des,input,output); now,encode was ok,but how i write the DES ECB decode codes?