Programming and Coding
Programming and coding tips, help and solutions...
1,890 topics in this forum
-
Set an operand to MessageBox.Show()?
by MindSystem- 2 replies
- 5.8k 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.7k 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
- 24.4k 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.5k 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
- 8.1k 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
- 6k 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.5k 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
- 5.1k 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.8k 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.9k 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.9k 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
- 13.1k 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
- 5.2k 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.9k 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 …
-
- 18 replies
- 5.7k 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.5k 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.8k 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.8k 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.3k 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
- 6k 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.4k 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.8k 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.7k 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.5k 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…