Programming and Coding
Programming and coding tips, help and solutions...
1,877 topics in this forum
-
- 8 replies
- 7.7k views
Hello, for the last few days I have been trying to figure out how to use diablo2oo2's dUP2 SNR patch engine in a scripting language called autoit, the way you call Dll's from autoit is as follows DllCall ( "dll", "return type", "function" [, type1, param1 [, type n, param n]] )I don't understand ASM very well, and since the examples are only in ASM, I'm having quite a difficult time translating it to autoit, and I was hoping someone could help me figure out how to call it, Thanks.
-
- 3 replies
- 4.6k views
There is possibility to implement in the C#? I want encrypt message in C# then decryption message C++ side by Crypto++ https://www.cryptopp.com/wiki/RSA_Signature_Schemes
-
Miracl
by ragdog- 1 reply
- 12.6k views
Hello I playing on a little Vs cpp project and use Miracl library but after i compile my project use it the MSVCRxxxx.dll fgetc,fgetc,free,fputc,calloc ,__iob_func etc Is it prossible to build a static library without this and what is the settings for it? I have use the commandline build ms32doit.bat all works fine but my project crash in "miracl * mip = mirsys(100, 10);" Ntdll error Regards, raggy
-
Similar Crypto++ Encoder method in C#
by Perplex- 1 reply
- 4.6k views
Is there similar Crypto++ Encoder method in C# ? This method What does it do? https://github.com/weidai11/cryptopp/blob/master/integer.cpp#L3169
-
- 8 replies
- 4.4k views
I have a library developed by VC++ I want load and call to export the library by unmanaged code such as C# without detecting by AntiVirus and Firewall and without extract the library to hard disk.
-
The BETTER language for multithreaded programming?
by hotpockets- 6 replies
- 4.2k views
So I'm fairly familiar with multiple languages, my programming foundation is pretty strong. I wrote a program using Java (just because it was the quickest language to make a mock up for me at least) and it's creating 5 threads. Each thread is shared with 1 HttpClient (Apache) which sends/receives JSON commands, and my computer begins to get really slow if I run too many threads. I'm looking for efficiency and speed. There was a really good article about Java vs C# on Google, and I've been sold on C#. I need the language to be compatiable with both mac/windows (it's all console, no gui). And yes, my computer is up to par, it's very powerful. Which languages would be b…
-
SnR Patch Delphi Source
by Ali.Dbg- 0 replies
- 8.8k views
View File SnR Patch Delphi Source SnR Patch Delphi Source by Ali.Dbg Submitter Ali.Dbg Submitted 12/30/2015 Category Source Code
-
How To Click Another button with delphi
by permana- 3 replies
- 5.4k views
Hi again I'm Newbie In delphi7 . And i want to ask to all member how to click another button application in delphi ? i want click button remember with delphi , and view mmy attacment
-
What is the difference between the SSCLI2 corinfo header and the CoreCLR corinfo header ?
by Perplex- 2 replies
- 4k views
What is the difference between the SSCLI2 corinfo header and the CoreCLR corinfo header ?
-
Limit thread execution time
by Pancake- 3 replies
- 6k views
Hello. Im coding small server with c++11 which is running on linux, everything works as fine as it should, but i got security question. It is multithreaded server, so every new client has new thread which exits at connection exit. Connection takes jsut few seconds, to check if the key is registered in the database. But the problem is, what if someone wants to fornication me up and opens many connections which lead to creation of so many threads that server will crash? I did not find any solution to limit the time of std::thread execution time, to kill it after 5 seconds if it not exited. Do you have any suggestions? Greetz Hmm actually i think i found std::future and…
-
Set an operand to MessageBox.Show()?
by MindSystem- 2 replies
- 5.6k views
Hi, i want to set an operand to MessageBox.Show("test"); But when i debug, using this code : method.Body.Instructions.Insert(0, Instruction.Create(OpCodes.Ldstr, "test")); object a = MessageBox.Show(method.Body.Instructions[0].Operand.ToString()); method.Body.Instructions.Insert(1, Instruction.Create(OpCodes.Nop)); method.Body.Instructions.OpCode = OpCodes.Call; method.Body.Instructions.Operand = a; (Yeah the code is strange haha) So, when i debug using this code, it shows messagebox unlimited...; My Question is : how to set…
-
- 6 replies
- 19.4k views
I want to access a site (third party, I do not have any server side access) via Httpwebrequest in c#. All works well but I want to access the site most at a certain time of the day, for 4-5 minutes. But this time the server flooded by user requests and server responds very slowly. The time is almost fixed, that is when I want to get contents from it.And it gets inaccessible for that time due to loads of user hits. Is there any technique, that can maximize my chance to get response from that site when it even gets busy? I search a lot but found nothing. If you could help me, I would be grateful. Thanks guys. I'am Adding request and response header for your f…
-
IDA Pro plugin wizard for VS2013
by zadow- 5 replies
- 23.8k views
Hope its the right place to post this I have converted the old version https://github.com/htk59/IDA-Pro-plugin-wizardif anyone would like to try it outinstallthen new project >> VC ++ >> IDA PRO pluginYou proberly have to add idasdk dir under project proberties and vc++ general IDA.PRO.PLUGIN.WIZARD.VS2013.rar
-
ConfuserEx RefProxy Question
by noob.exe- 2 replies
- 8.2k views
Hi, I have a question, when i resolve the refproxy (strong) of confuserex, and I want to replace the delegate call with the real MemberRef how do i know if I need to use call/callvirt/newobj? Is that somehow encoded in the signature or so? Or how can i find out what OpCode to use? ~yq8
-
How to build a lib from a dll?
by LCF-AT- 21 replies
- 7.8k views
Hello again, at the moment I try to find out how to build libs from dll files.I found some infos on internet how to do it but I don't get it work and I don't know why and what the problem is.Infos about building a lib I found on that source... http://win32assembly.programminghorizon.com/importlib.html https://adrianhenke.wordpress.com/2008/12/05/create-lib-file-from-dll/ ...I did these steps and got a lib file of my xy dll and did add it into my asm include lib code but if I try to use any export API then I always get a unresolved external error of the APIs I wanna use. The question what I do wrong if I did anything wrong and how to fix it.So its the …
-
dnlib - OptionalCustomModifiers
by noob.exe- 1 reply
- 5.8k views
Yo guys, I already asked this on BS but unluckily nobody found a solution there eitehr, so i decided to ask on tuts4you What I am trying to do is basically, converting this System.Reflection based code into dnlib-only based code. int num2 = fieldFromHandle.GetOptionalCustomModifiers()[0].MetadataToken; So, how can I do what this code does with dnlib ?? I already looked through the dnlib src but I couldn't find much. The user "n0th!ng" suggested me to check out CModOptSig() in dnlib, - which I did, but I couldn't come up with a proper solution either, since I dont entirely understand this line.. (I know it grabs the MDToken of a class, bu…
-
- 1 reply
- 4.3k views
Hi again, got a new problem again where I need some help.I created a sliderbar control and wanna change the position by mouseclick exactly where I do press with the mouse.I did subclass the slider control and do catch at WM_LBUTTONDOWN message and wrote my code so far... .if uMsg == WM_LBUTTONDOWN LOWORD lParam mov pt.x,eax mov ISH, eax ; <---- HIWORD lParam mov pt.y,eax nop invoke SendMessage,SLIDERHANDLE,TBM_GETCHANNELRECT,0,addr CHANNELRECT push CHANNELRECT.right pop eax push CHANNELRECT.bottom pop ecx push CHANNELRECT.left ; x …
-
How to get a pointer of a integer value
by Undebel- 2 replies
- 4.8k views
Hi, i want get a pointer of integer value without using unsafe, i tried with GCHandle.Alloc but only work for strings I was wondering if there is any way to get it without using unsafe I appreciate any help. Thanks
-
Professional C# Developer
by zuberspicy- 1 reply
- 12.6k views
I need the c#.net experts who can help me in the form auto filler application development. I need the expert person in optimization and webservice calls and web requests. The application is used to fill forms on a website and also pays on behalf of the user from the provided bank account. I need experts who can guide me in optimization of the application. And also help me in optimization of the bank payment. So, the user can complete the process very fast, If anyone is interested than please contact me on my skype. My skype id is : mr_orio.
-
8 Most common mistakes C# developers make
by CodeExplorer- 4 replies
- 4.7k views
8 Most common mistakes C# developers make: Link: http://blog.goyello.com/2013/01/07/8-most-common-mistakes-c-developers-make/
-
Professional C# Developer
by zuberspicy- 14 replies
- 9.6k views
I need the c#.net experts who can help me in the form auto filler application development. I need the expert person in optimization and webservice calls and web requests. The application is used to fill forms on a website and also pays on behalf of the user from the provided bank account. I need experts who can guide me in optimization of the application. And also help me in optimization of the bank payment. So, the user can complete the process very fast, If anyone is interested than please contact me on my skype. My skype id is : mr_orio.
-
Which assembly syntax is IDA pro using?
by Hakman- 5 replies
- 12.6k views
Hello. As far as I understand, there are various assemblers like MASM, FASM, NASM, etc, which may differ in syntax. I'm about to begin learning and choose one to start with. I would like to choose assembler which syntax is as close as possible to what IDA pro produces. Which one should I pick?
-
Online Hash Generator
by RustyNail- 4 replies
- 5k views
Recently, I found a site that contains most of the common hash generators. I thought it would be useful to share. Adler32 Hash Generator Base64 Converter CRC32 Hash Generator CRC32B Hash Generator GOST Hash Generator MD2 Hash Generator MD4 Hash Generator MD5 Hash Generator SHA1 Hash Generator SHA256 Hash Generator SHA384 Hash Generator SHA512 Hash Generator RIPEMD128 Hash Generator RIPEMD160 Hash Generator RIPEMD256 Hash Generator RIPEMD320 Hash Generator SNEFRU Hash Generator Whirlpool Hash Generator
-
Hi again, so I have a little question again and need some help. Can anybody tell me how to control & handle & work with the CMD console inside of own code?So what I want at the moment is to get the content of the CMD console. Exsample / Steps: ----------------------------------------- 1.) I start the a CMD tool xy with specific paramters via CreateProcess API 2.) Now the CMD console gets some results xy back (text xy) 3.) I wanna get this text etc logged into memory buffer 4.) Now I check the text for some strings as success or failed for exsample 5.) I got the results of CMD console 6.) If string success was found = keep console r…
-
- 5 replies
- 7.6k views
Hey guys, I recently got my feet wet in unpacking programs to view source code in .NET Reflector. I had success in the past using megadumper's dumping tool to dump all the files, and then using PE Universal fixer to repair the files. I'm trying another file with the same method and it shows some of the code but shows a lot of lines such as "// Invalid method body" and etc. I threw the original file in protection id it says its packed with themida, and so I also threw the one I dumped&fixed it says it's okay. So I tried using de4dot to check for any obfuscation, it says unknown obfuscator but it'll try to fix anyways. I'm positive it's obfuscated with Crypto …