Programming and Coding
Programming and coding tips, help and solutions...
1,882 topics in this forum
-
Crc32 Source...
by Teddy Rogers- 2 replies
- 4.8k views
Download Link: http://www.networkdls.com/Download/CRC32.zipTed.
-
- 1 follower
- 2 replies
- 2.2k views
I'm trying to set a page of memory to PAGE_EXECUTE only, I don't want any reads or writes to be possible to this page. However, after setting the page protection to PAGE_EXECUTE, read attempts can freely be made. I assume this has something to do with the CPU needing to fetch instructions from the RAM? anyway, is there any way that I can accomplish my goals here? that is: can I set a page to execute only such that no read or write attempts can be made on said page?
-
Decoding xmm instruction ??? distorm
by CodeExplorer- 1 follower
- 4 replies
- 1.6k views
Decoding xmm instruction ??? like: https://c9x.me/x86/html/file_module_x86_id_204.html I've investigated a bit distorm: https://github.com/gdabah/distorm/tree/master/src https://github.com/gdabah/distorm/blob/master/src/instructions.c static _InstInfo* inst_vex_lookup(_CodeInfo* ci, _PrefixState* ps) { ... /* start can be either 1 (0x0f), 2 (0x0f, 0x038) or 3 (0x0f, 0x3a), otherwise it's illegal. */ switch (start) { case 1: in = Table_0F; break; case 2: in = Table_0F_38; break; case 3: in = Table_0F_3A; break; default: return NULL; } in = InstructionsTree[INST_NODE_INDEX(in) + *ci->…
-
Clr Profiler - difficulties with communications
by CodeExplorer- 1 follower
- 11 replies
- 2.4k views
Clr Profiler - difficulties on communications - on tracing result result back from dll to main exe's listview. I have an Visual Studio 2010 project, profiler.dll is made on C++, main exe interface is also made on C++. I've set two environment variables: Cor_Enable_Profiling=1 COR_PROFILER={DFEC737C-D0B1-4b86-A6FD-FDD998BEEB03} and I start the process with CreateProcess The problems comes that I can't log event information back to main exe interface - listview. Profiler dll gets called inside traced process. Already tried: main exe: unsigned int wndHandle = (unsigned int)GetDlgItem(IDC_LIST1)->m_hWnd; char buffer[10]; std::sp…
-
Memory scan problem
by justdream- 14 replies
- 9.9k views
Hi guys, I've coded a basic memory scanner(DLL) in Delphi to search a string in game's memory.. but I'm with a problem.. After a few seconds scanning, the scan stops.. and I don't know why... Can you help-me? function HexToInt(s : string) : Int64; begin if (s <> '') and (s[1] <> '$') then result := strToInt64('$' + s ) else result := strToInt64(s); end;procedure FirstScan(valor: string); var dwEndAddr : dword; i:dword; mbi : TMemoryBasicInformation; valor:string; begin while (VirtualQuery(Pointer(DWORD(mbi.BaseAddress) + MBI.RegionSize), MBI, SizeOf(MEMORY_BASIC_INFORMATION))=SizeOf(TMemoryBasicInformation)) do begin if (MBI.State = MEM_COMMIT) a…
-
- 1 follower
- 7 replies
- 1.8k views
Hi guys, I'm trying to find out how to make this (title question) possible. Normally I'm using Windows Explorer as file manager and the WE does handle the drag & drop function so that all other app windows which are set in from on the WE area keep in front when you do press the left mouse down on any selected file/s so that you can move that file in any other app window if you want. Just a normal drag & drop from WE into any other app Window like Notepad for example. I would like to know how to code this. So what I have to do or possibly hook to prevent setting the focus on my own app when I press left mouse etc you know. Since a while I'm using another …
-
Looking for low level x86 dissasembler code c++
by CodeExplorer- 2 followers
- 12 replies
- 3k views
Looking for low level x86 dissasembler code c++ I want it at low level with knowing everything is going on, altrought information from libraries may bring usefull information. In the end I want to grab all operands, but that's final step.
-
'cmddata' : unknown size
by CodeExplorer- 1 follower
- 3 replies
- 1.7k views
error C2133: 'cmddata' : unknown size in h file: extern const t_cmddata cmddata[]; typedef unsigned long ulong; // Unsigned long typedef struct t_cmddata { ulong mask; // Mask for first 4 bytes of the command ulong code; // Compare masked bytes with this char len; // Length of the main command code char bits; // Special bits within the command char arg1,arg2,arg3; // Types of possible arguments char type; // C_xxx + additional information char *name; …
-
Can anyone help me to make a script for my server ? i have no knowledge about making the script
by dilip35- 1 follower
- 1 reply
- 1.4k views
i need your help to make a script for my server its a easy script but its hard for me since i don't have any knowledge on the JavaScript and programming i already attached the script screenshot
-
- 8 replies
- 5.7k views
View File tuts4you Symbolic logo source for GIMP Hello friends. I try to prepare a classic logo for the forum. -Feel free to use in your projects or documents. I hope you will like it. note:Source file only xcf format. for GIMP. sory for photoshop users. Detailed previw ( click to support button in forum page.) Submitter Skarz Submitted 09/11/2016 Category Source Code
-
- 3 followers
- 4 replies
- 4.1k views
I tried this or that, but strangely, I am unable to compile https://github.com/ribthegreat99OrN0P/Agile.NET-Deobfuscator-Latest. can anyone give advise how to reinstate 'Echo' dependencies correctly? i cant find them neither in nuget search or anywhere. Tried to manually build Echo projects and reference their dll, but was tiresome and still they were not accepted in primary solution.
-
Playing tracker file with BASS [C++, MinGW]
by Bang1338- 1 follower
- 5 replies
- 2.5k views
Hi, I'm trying to make my program to play tracker This time, i'm using BASS hResource = FindResource(NULL, MAKEINTRESOURCE(IDR_BASS), "BINARY"); hResourceLoaded = LoadResource(NULL, hResource); lpBuffer = (LPBYTE)LockResource(hResourceLoaded); dwFileSize = SizeofResource(0, hResource); GetTempPath(MAX_PATH, szTempName); GetTempFileName(szTempName, "MOD", 0, szTempName); hFile = CreateFile(szTempName,GENERIC_READ | GENERIC_WRITE,0,NULL,CREATE_ALWAYS,FILE_ATTRIBUTE_NORMAL,NULL); WriteFile(hFile, lpBuffer, dwFileSize, &dwBytesWritten, 0); CloseHandle(hFile); hLibrary = LoadLibrary(szTempName…
-
PE loaded from memory
by PeterN- 0 replies
- 1.5k views
Is it possible to create a new process of a PE file which is already in memory? I need my PE file(parent) execute a PE file embedded inside but as a separate process, not in memory space of the parent.
-
use required modifier on other framework?
by Hadits follower- 10 replies
- 2.8k views
as we know we can use it in .net , is there a way to use it on framework or netcore or netstanderd ?? https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/required
-
MATRIX in ASM
by wunder- 7 replies
- 6.7k views
Hi I came across this ripp of a keygen by NGEN coded all apparently in masm32 http://cyberdoomsyst...ngen_matrix.rar I will upload it here if the link dies... does anybody have the source ? or does naybody have this keygen?? It looks like they used Unicode macros to get this going??
-
Remove use of cs-parser.jay, use instead cs-parser.cs ???
by CodeExplorer- 1 follower
- 1 reply
- 2k views
Remove use of cs-parser.jay, use instead cs-parser.cs ??? Useful links: https://www.codeproject.com/Articles/330184/How-does-it-work-in-Mono-s-C-compiler https://stackoverflow.com/questions/7944695/jay-the-mono-c-sharp-compiler-and-changing-the-grammar https://www.cnblogs.com/shanyou/archive/2012/09/03/2669711.html So I already have cs-parser.cs, the problem is that the unknown format file cs-parser.jay is used instead of cs-parser.cs, I see this while I'm debugging the program. How to fix that? My program is using NRefactory v5.2 Here is program uploaded: https://www76.zippyshare.com/v/wZpa0g6k/file.html
-
DUMP of .Net memory assembly (ProFile)
by CodeExplorer- 2 followers
- 3 replies
- 2.2k views
DUMP of .Net memory assembly (ProFile): https://zditect.com/code/dump-of-net-memory-assembly-profile.html dump .NET assembly using profiler.
-
- 1 follower
- 1 reply
- 1.7k views
Read a xml without start format <?xml version="1.0" encoding="utf-8"?> in C# how to do it? .csproj file format old: <?xml version="1.0" encoding="utf-8"?> <Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <PropertyGroup> <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> <ProductVersion>9.0.21022</ProductVersion> <SchemaVersion>2.0</SchemaVersion> <ProjectGuid>{B18A33EF-0831-44A1-84A9-DD1D16301856}</Pr…
-
New Python Coders Be Like...
by CodeExplorer- 1 follower
- 0 replies
- 2.2k views
New Python Coders Be Like... https://www.youtube.com/watch?v=0MhVkKHYUAY 24 hours to compute a maxim between numbers... WTF?
-
C# - get short name from type name ???
by CodeExplorer- 1 follower
- 2 replies
- 2.1k views
C# - get short name from type name ??? "Boolean" -> "bool" I remember of seeing something like this but don't remember where...
-
[C#, Dnlib] Control Flow Error !
by ItIsInx- 1 follower
- 1 reply
- 2.7k views
Guys i tried to fix this control flow protection class but failed when i use it to protect some assemblies sometimes it cause crash or not injected in methods so can anyone tell me why ! or fix it or even guide me RTControlFlow.cs
-
C# - ImageList - how to include it in MainForm resource ???
by CodeExplorer- 2 replies
- 1.8k views
So I've added an ImageList to MainForm but unfortunately in compiled exe is not under MainForm resource but as an separated resource called imageListTreeView.ImageStream, when I try to run the program it complain about resource not being found: this.imageListTreeView.ImageStream = (ImageListStreamer)componentResourceManager.GetObject("imageListTreeView.ImageStream"); How to fix this problem?
-
- 1 follower
- 7 replies
- 2.1k views
Hey guys, merry xmas to all ! I just wanted to modify the aboutbox that i have ripped by adding the snow effect from the "New year theme by x0man" effect. I tried initializing all the snow procedures and it crashed. Any suggestions please? if it is possible, i really need it a little urgent these days cuz i wanna make an xmas-themed keygen template. hohohooooo.rar
-
- 2 followers
- 0 replies
- 2.9k views
Hello I'm working on XUI ONE server (linux based server), XUI Panel has option to set default http header. I have searched on google unfortunately there is very few documents on ffmpeg headers command information. so i want to override http headers restrict stream request allow only certain domain name , i have applied the below code but its not working , my main purpose is to allow only my website access the url streams and block all others requests. what would be the best example of restricting streams using http headers by ffmpeg command? ffmpeg -headers "Access-Control-Allow-Credentials: true" -headers 'Access-Control-Allow-Methods…
-
[Help] Typecasting Windows
by unknown- 1 follower
- 2 replies
- 1.9k views
I came into a problem where i need to grab BeingDebugged BYTE from PEB https://learn.microsoft.com/en-us/windows/win32/api/winternl/ns-winternl-peb I got the address of PEB from x64 system PEB* _PEB = (PEB*)(__readgsqword(0x60)); to get the address of BeingDebugged flag i need something like (PBYTE)_PEB + 0x002 but i am not sure what typecasting exactly i have to use , give me your lights.