Programming and Coding
Programming and coding tips, help and solutions...
1,882 topics in this forum
-
- 1 follower
- 6 replies
- 6.1k views
Can you ülease help me with some code snippet or example on how to change a byte[] with dnlib or other libs ? thanks
-
- 2 followers
- 0 replies
- 4.3k views
using var module = ModuleDefMD.Load(Properties.Resources.Bin); // How to change this icon ? module.Write("Save_NewFile.exe");
-
LZMA packer / depacker code
by mudlord- 1 follower
- 1 reply
- 14.9k views
Figured I drop this here. Its the packer and decompressor I use for my private build of my exe packer. Feel free to do what you want with it. lzma_decenc.rar
-
Crazy Word 0.1 by x0man[tPORt]
by r0ger- 2 followers
- 5 replies
- 4.8k views
hi there guys , does anyone have this effect that is actually missing ? recently came across this link where it had the download links to these kind of effects (which are already dead) , and i really want to add this effect for my next templates .
-
Python to Assembly code
by tarequl.hassan- 13 replies
- 5.7k views
Hi All What could be the code in Assembly for the below Python code? Result =str(random.randint(800000,899999)) This is just to get random number of 6 digit between 800000 to 899999. Thanks
-
.py to exe conversion
by tarequl.hassan- 1 follower
- 1 reply
- 4.9k views
Hi Is there any easy way to convert .py to exe? Thanks
-
How to understand an executable file?
by Jason Long- 3 followers
- 2 replies
- 5.1k views
Hello, How can I learn how an executable file work and when open a file in a reverse engineering or debugging tool, understand it? Thank you.
-
fix swift opcode (help)
by zELzELE- 2 followers
- 2 replies
- 4.6k views
how to remove or fix opcode please help image:
-
Bassmod as LIB 1 2
by Ufo-Pu55y- 1 follower
- 40 replies
- 42.7k views
lo, anybody ever had 'luck' converting Bassmod.DLL into a .LIB ? For static linking I mean... I guess lotsa ppl would love to have it. I've tried the tool 'Dll To Lib' on it, but somehow it fails bigtime.. all generated symbols are crap.. useless. (and yes I've unpacked it before ofc ^^) I don't know about any other tool. Somebody out there having experience in this topic? cheers
-
- 1 follower
- 2 replies
- 4.9k views
I would like to have a guide to start with the development of UEFI drivers Any help will already be very useful
-
Iphone IOS hello world
by JMC31337- 1 follower
- 0 replies
- 4.9k views
IOS 14.2 (using 13.3. SDK) having ran around for a few hours trying to figure out how to write some code on the iPhone I decided to quickly sum up a few snafus I ran into on various message boards Yes theos works and if you follow the theos install tutorial on their dev site there shouldn't be problems with theos except your Makefile should contain if using the below referenced private iOS 13 SDK (I had unzipped the SDK-master into theos sdks folder then unzipped the iPhone13.3.sdk) so the below sysroot line is different than what you may decide to do ARCH = arm64 SDKVERSION = 13.3 SYSROOT = /var/opt/theos/sdks/iOS13-Private-SDK-master/sdks/iPhoneOS13.3…
-
Can you convert batch to disassembler?
by schoolboy- 1 follower
- 3 replies
- 4.9k views
Hello, Can you convert this cmd code to Disassembly code, thank you. taskkill /IM notepad.exe /F
-
Hidden VNC(or Hidden RDP) Programming
by Vladymir- 1 follower
- 1 reply
- 8.9k views
I am developing hidden vnc on windows in c++ language. I am going to connect vnc keyborad and mouse event to controlled pc. But I don't know how to send key and mouse event to certain vnc server thread. I have searched in google for a long time, but I don't have usefull information. I only know that I have to use below windows api. CreateDesktop OpenInputDesktop SwitchDesktop I'll appreciate any help.
-
- 1 follower
- 2 replies
- 6k views
i am working on a confuserex mod and i'm a beginner so i doubt it's very good but i am trying to find a way to make my mod create a custom class while obfuscating called "Program.cs", i'm clueless on how to do this and appreciate any help. thanks
-
About clr string in the memory qustion
by despy3- 1 follower
- 1 reply
- 4.5k views
c# code like this: string str = "MyString"; What is the meaning of each area in memory as below?
-
- 1 follower
- 4 replies
- 5.3k views
I'm trying to write my own PE reader and would like to get the size of an export function. But this information is not provided in the export directory of the PE header. How can I get the size? This must be possible somehow, for exampled dbghelp knows where the function starts and ends. I have the same problem when trying to parse a PDB file. I can get the actual offset of the public symbol but not its size. Any ideas?
-
libv2 1.5 for MASM
by r0ger- 2 followers
- 4 replies
- 9.1k views
Hi there. I am looking for another v2m player that uses this kind of version of libv2 , because the V2M player from MagicH uses only libv2 1.0 (which he made it work for vista and later) and i saw some assembly source code that uses libv2 1.5 on a THETA NFO viewer 2.2 , so i'm gonna post a part of the code where the libv2 is initiated and loaded in asm : include ./Music/libv2simple.inc includelib ./Music/libv2simple.lib externdef c theTune:byte externdef c theTune2:byte include winmm.inc includelib winmm.lib DlgProc : ; libv2 music start invoke V2MInit,offset theTune,FUNC(GetForegroundWindow) invoke V2MPlay; anyone has this library for asm p…
-
Some questions about writing packer with C++
by m0rfl1ng- 1 follower
- 1 reply
- 5.6k views
Hi guys , it is been a while that i am try to understand how PE files . I did some research and experiment that i will write about them here , but lots of thing does not make sense to me. So C++ codes are already too much complicate to start with , so i decided to compile a pure 64bit assembly code using visual studio 2019 , the code is as follow : .data MorphByte db 78 Morphling db 68 Death db 44 .code main proc xor rax, rax mov rbx, 456 mov rcx, 666 mov rax, 123 add rax, rbx xor rbx, rbx lea rax, [rcx] mov al, byte ptr [MorphByte] ret main endp end now , after compiling the above code we will get two files one .exe and one .obj , since my code is …
-
Needing a Very Small Help in C# PLEASE !!
by BlackHat- 1 follower
- 4 replies
- 6.4k views
I have One textBox and a Button1 Code of btnStart if (this.txtBox.Text.Length == 0) { Interaction.MsgBox("Please Insert Your Data", MsgBoxStyle.OkOnly, null); return; } this.thflag = false; this.th2flag = false; this.btnstart.Enabled = false; this.btnstop.Enabled = true; this.th = new Thread(new ThreadStart(this.BlackHat)); this.th.IsBackground = true; this.th.Start(); this.Timer1.Enabled = true; This is my code of this.BlackHat checked { using (WebClient webClient = new WebClient()) { foreach (string text in this.txtBox.Lines) { if (!string.IsNullOrEmpty(text)) { string address = "https://XXXXXXX/" + text + "X…
-
Mapping DLL that uses OpenSSL
by risky- 2 followers
- 3 replies
- 6.3k views
I'm currently building software using ASIO as a network library and its SSL counterpart. It has worked perfectly, but I've recently tried to initialize the context in a manually mapped DLL and SSL_CTX_new is failing when ASIO initializes it's OpenSSL components. The odd thing is that no error can be resolved from SSL_CTX_new's failure, it simply returns error code 0. So, I dug into the code and I believe I've dumbed down the failure to OPENSSL_init_crypto. The only problem I can think of is TLS (Thread Local Storage). I've handled TLS manually, and TLS seems to be fixed, but the problem persists. Note the code works perfectly when the DLL is loaded via LoadLibra…
-
Writing a .NET Profiler (dev.to)
by sirp- 1 follower
- 0 replies
- 5.1k views
https://dev.to/gabbersepp/create-a-net-profiler-with-the-profiling-api-start-of-an-unexpected-journey-198n https://github.com/gabbersepp/dev.to-posts/tree/master/blog-posts/net-internals call-c-from-cpp debugging-profiler digging-into-callbacks how-does-profiler-work how-to-debug-with-windbg marshal-example net-bitness profiler-attach/code/DevToNetProfiler profiler-fn-enter-arguments profiler-fn-enter-leave-x64 profiler-fn-enter-leave stacktrace-linenumber/code/DevToNetProfiler write-net-profiler
-
- 1 follower
- 7 replies
- 5.6k views
im looking for an APIwindows that get a character of keyboard immediate? means the character get immedaitely after pressing its key on keyboard
-
[.Net] How to hook Microsoft.VisualBasic.CompilerServices.Conversions.ToString(long Value) ?
by Sh4DoVV- 1 follower
- 1 reply
- 5.4k views
Hi I have an executable .net application and how to hook Microsoft.VisualBasic.CompilerServices.Conversions.ToString(long Value) for logging Value ? thanks
-
- 1 follower
- 0 replies
- 5.6k views
Run Constructor even Activator.CreateInstance gives Exception Assembly asm = Assembly.LoadFrom(@"X:\xxxasd.exe"); Type kd = asm.GetType("keydata"); // Create an instance of the type object classInstance = Activator.CreateInstance(keydata, null); ----------> This always throws errorr ..tried different approaches i.e with other parameters and Bindingflags ... There is also System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type), which additionally guarantees that the static constructor is only called once, regardless how many times the method is called: Type myClass = typeof(MyClass); System.Runtime.CompilerS…
-
- 1 follower
- 0 replies
- 5k views
Create Instance without calling constructor FormatterServices.GetUninitializedObject() will create an instance without calling a constructor. I found this class by using Reflector and digging through some of the core .Net serialization classes. using System; using System.Reflection; using System.Runtime.Serialization; namespace NoConstructorThingy { class Program { static void Main() { // does not call ctor var myClass = (MyClass)FormatterServices.GetUninitializedObject(typeof(MyClass)); Console.WriteLine(myClass.One); // writes "0", constructor not called Console.WriteLine(myClass.T…