Programming and Coding
Programming and coding tips, help and solutions...
1,882 topics in this forum
-
MASM32: hello world in DOS
by alaphate- 5 replies
- 29.7k views
The code below can be compiled and linked to an .exe file. However, when I executed it, it "encountered a problem, and needs to be closed". MASM32 has no @data macro, how to get the msg's DS address? Thank you for help in advance.
-
kernel32
by laonglaing- 1 follower
- 10 replies
- 10.3k views
Hi I was wondering if it is possible to emulate keyboard press and mouse click using kernel32.dll ? instead of using user32.dll import.
-
- 2 replies
- 4.2k views
I try to build a crypto++ .lib file for make .sig file of IDA,building crypto++ .lib was succeeded , but when I try to use flair to make .sig , it tell me can't recognize those .obj file type that linked in .lib . so I open a .obj read it ,and this's what is see . Quote: 00000000 00 00 FF FF 01 00 4C 01 A6 C8 36 57 38 FE B3 0C L θ6W8 00000010 A5 D9 AB 4D AC 9B D6 B6 22 26 53 C2 47 DE 06 00 ベ玀瑳侄"&S翯? 00000020 13 0C 07 00 A6 C8 36 57 23 DD 06 00 10 00 00 00 θ6W#? 00000030 00 00 00 00 2E 64 72 65 63 74 76 65 00 00 00 00 .drectve 00000040 00 00 00 00 51 00 00 00 2C 01 00 00 00 00 00 00 Q , 00000050 00 0…
-
Manual dll map - weird problem
by Pancake- 12 replies
- 11.2k views
Hello. I got my old code with this feature which i wanted to review, and something very strange happens. All the relocations/imports etc are properly resolved but the program crashes when invoking the DllMain. If i run it in olly, everything works fine (and i see MessageBox from process attach). The loader run as administrator hangs inside DllMain not displayin anything, and run without elevated privileges just crashes. When i removed plugins from olly it also hangs like in first case. What may be the cause?? Edit: After checking the dll, the function which causes freeze (when manually mapped) is "dllmain_crt_dispatch" Edit: I am doin some mistake with allo…
-
Stuck in Compress DeflateStream
by skypeaful- 5 replies
- 17.6k views
Can anybody tell me how to convert LinqPad.Resource.dll to .bin? I try to write tool encrypt & decrypt resource for LINQPad: http://www.linqpad.net/download.aspx The tool work fine in decompress .bin file to .dll but it's stuck in compress dll to bin: Error occur -> Reading from the compression stream is not supported Here is binary exe with resource .bin include http://rgho.st/7fLwsbx6Q I hope someone can help me how to fix to improve my to for support compress .dll to .bin The code is easy, I pasted it's here: private void button1_Click(object sender, EventArgs e) //decompress .bin to .dll { OpenFi…
-
- 2 replies
- 3.9k views
Hi all, I need a professional web scrapper/programmer who can build one shopping automation application to purchase items in flash sale. I need this application on .net desktop platform. Only professionals message me. Regards, Jessi
-
- 3 replies
- 5.2k views
Hello, I have a realy stupid question but i spent on it 3 hours and I surrender:( Im trying to write keygen to :"LaFarge CrackMe #2". So the code in asm is: (EAX=631698A, its when you enter "baruch" as name to this crackme,and the address(406549) at 401261 is empty area) After the loop,the address 406549 look like: Now,because i dont know how to code assembly DIV in c++ i did "inline assembly": //equivalent to address 406549 In visual studio i put break point to see what happend after that code: //table6 address And here my problem. Its not the same as in olly's dump! Instead of : 22 27 1f 23 20 …
-
fiddler for all languages (asm supported)
by whoknows- 1 reply
- 5.4k views
https://glot.io/ an open source pastebin with runnable snippets and API (ASSEMBLY supported).
-
- 0 replies
- 6.9k views
hi everyone, I use Qpython 3 for android, the default application have included a few sample using sl4a unit, but I am still confused. My question is: how to start creating a new project using sl4a, because I tried from making a new project on the console and then I copy the sample script and run it but instead an error? and from where i can know the basic commands / syntax that exist in the unit sl4a? thanks & sorry about my english.
-
AU4 Library
by Alzri2- 5 replies
- 8.5k views
Description: AutoIt functions re-written in C++ to enhance the productivity of a developer. Why AutoIt ? AutoIt functions are so powerful that it can almost implement anything in Windows. In addition, each function is well documented which makes it extremely easy to use them productively. Why this library ? Well, the mechanism of an AutoIt binary file is not neat, so this is when AU4 Library come in handy. Another advantage is that AutoIt decompilers won't be something to worry about any more. Suggestions / Wanna join ? If you have any suggestions, I'm all ears. And if you want to join, send me a PM. Project link (with more details…
-
want to patch a byte ?
by Cyberwarfare- 11 replies
- 7.2k views
Using C programming I want to manually patch a byte in a Application. My question is how to do that ? Any guide ? or example code ? anything appreciated ! Any help appreciated ! NOTE: I have PE understanding and I am a C programmer too. Thanks
-
LoaderCSharp
by CodeExplorer- 8 replies
- 12.5k views
LoaderCSharp: Loader C# source code, It will search in memory for hex string and will replace with another hex string. Maybe somebody will find it usefull. LoaderCSharp.zip
-
Would it be Possible ?
by madskillz- 1 follower
- 6 replies
- 4.3k views
Hello Would it be possible for a person like me who do not know code to develop a mobile app . The mobile app I would like to develop is for a local soccer league , dont need ads , analytics , etc. But it needs to have some way to update data of new matches , the score , scorers etc, Just want to ask if possible without knowing code. Please give your views , negative/positive all are welcome. Thanks
-
- 2 replies
- 4.1k views
Hello Everybody, I'm trying to build one web crawler which will help user in finding and downloading specific contents from google. The main issue I'm facing i with compression of requests and responses. I have added gzip, dflat in request header so that I can compress the data but this thing is not working properly. I don't know why. In some of the system It's compressing the data but in some it will not. I have tried first with PHP but its not working so I tried with asp.net but the results are same. Can anyone suggest how to overcome this issue? The following is the webrequest call I have written in current asp.net page. string Resp = ""; httpWebReq …
-
- 2 replies
- 4.2k views
Hi, I'm try to find with googled not find create dialog in resource section and control, It's possible not possible. please suggest me link and more information. thanks
-
String value compare question
by LCF-AT- 16 replies
- 6.9k views
Hi guys, I have a short question again.I build a listview and show filenames & filedates into etc and now wanna add a sort function for the datetime.So it means I have to compare the datetime strings.How can I do this on a easy way?My format I use is this..like in explorer 03/12/2016 20:15:30 23/11/2015 21:05:32 Day,Month,Year,time.So can I compare it maybe at once anyhow? greetz
-
- 3 replies
- 4.9k views
I'm add new resource section, anyone help me. how to get resource in bytes ?
-
[NET] Play XM with native BASSMOD DLL (c++)
by whoknows- 3 replies
- 7.4k views
In this piece of code I show you : -How to play XM file with the native BASSMOD DLL lib (C++) 34kb! (NET BASSMOD DLL lib is 495kb! oops!) -Export resource file (DLL) -Play XM from resource file dn 125kb @: http://rapidshare.com/files/326931894/NET.Play_XM_with_native_BASSMOD_lib_34kb-whoknows.rar.html or http://www.4shared.com/file/183097775/8b309b7e/NETPlay_XM_with_native_BASSMOD.html
-
Help needed in web scrapper
by kate- 4 replies
- 5.5k views
Hi everyone, I need your help and suggestions in one of my testing projects. I'm trying to create one web scrapper to purchase things in flash sale on low rate from various ecommerce sites. I have successfully crated all things and all steps but getting very slow response during the load. Can anyone guide me how I can get the faster response from server even if its responding slow. For creating scrapper I have first used the PHP. And currently I'm trying with C#.net. Any suggestion to improve performance. Please send me your valuable comments. Thanks
-
Help [PHP to Delphi]
by SHKODRAN- 2 replies
- 7.4k views
Hi all members , can someone help me to translate this php code to delphi? $serialn:='SC-W0VK37682008'; $tSProductID='MODCP2XV94501MB00'; for ($i = 1; $i <=17; $i++) { $IDENT_CODE_arr[$i]=(($serialn_arr[$i] ^ $tSProductID_arr[$i]) % 13) + 65; } $IDENT_CODE_arr[18]=50; $sHoldingRegisterState_arr = ARRAY(0, 223, 32, 240, 67, 135, 170, 11, 0, 96, 159, 159, 33, 38, 64, 53, 0, 0, 1, 0, 0, 0, 0, 0 ); for ($i = 1; $i <=17; $i++) { $tALicenseKey_arr[$i]=$IDENT_CODE_arr[$i] ^ ($sHoldingRegisterState_arr[$i-1] ^ ($i)); $tALicenseKey_arr[$i]=($tALicenseKey_arr[$i] % 26) + 65; } $tALicenseKey[18]=50; Thanks in advance. Best regards.
-
the namespace prefix "0" is not defined
by jay007- 3 replies
- 5k views
I've decompiled a .net exe using dotpeek and justdecompile and I am getting a lot of errors about the namespace prefix "0" is not defined when imported into Visual Studio. The errors are coming from XAML files Content="{Binding Path=Double, StringFormat={0:c}}"/> Binding="{Binding Path=DateTime_payment, StringFormat='{0:MMM-dd-yyyy hh:mm tt}'}"/> Binding="{Binding Path=Payment_total_amount, StringFormat='{0:$#,##0.00}'}"/> Above is an example of where i am getting the errors. This exe uses US locale and all I want to do is change it to uk. This is the only reason I decompiled it as I dont have source code.
-
[Code Deobfuscator]
by root- 15 replies
- 35.2k views
Hello, I decided to share this code capable Deobuscation various techniques of obfuscation typical of modern systems of protection based Virtual Machine (Themida, vmProtect etc ..). This tools is intended for analyzing and readable code. I share this tool (the result of hours and hours of my free time) so that someone can improve the code and help me in the very complex that is Control Flow Optimization. https://github.com/Pigrecos/CodeDeobfuscator I am attaching a video to show its use Deobuscator.exe
-
Need some C++ APIs
by LCF-AT- 6 replies
- 12.2k views
Hi again, short question.Just need to know which APIs I have to use to get the filesize by handle and a C++ API to delete the file if the filesize was 0 etc you know.So I use fopen to create a file then fwrite to write bytes into file (if so) and now I need a C++ API for GetFileSize API & DeleteFile API.So I can't use the same handle from fopen API with GetFileSize API you know.DeleteFile API is ok so far so this only need a path to file. Thanks
-
[C#] dnlib patcher code
by mrexodia- 0 replies
- 13.9k views
Today I wrote a small class that assists with patching .NET binaries. using System; using System.IO; using dnlib.DotNet; using dnlib.DotNet.Emit; namespace MyNamespace { class Patcher { public delegate bool PatchStrategy(AssemblyDef asm); private static bool patchMethodReturnBool(AssemblyDef asm, string classPath, string methodName, bool returnValue, int numArguments = 0) { var method = findMethod(asm, classPath, methodName); if (method != null && method.Parameters.Count == numArguments) { //patch instructions var instructions = method.Body.Instructions; …
-
The4Got10's Protector [Unpack]
by ooilinlove- 5 replies
- 6.8k views
hi anyone i'm try to decompire it. i thinks it best for me , coz i can't unpack it hahaha [ i'm noobs ] just unpack me / good luck NoFuser_Output.rar