Programming and Coding
Programming and coding tips, help and solutions...
1,882 topics in this forum
-
- 0 replies
- 3.9k views
.plt:002F1418 ; Processor : ARM .plt:002F1418 ; ARM architecture: ARMv7 .plt:002F1418 ; Target assembler: Generic assembler for ARM .plt:002F1418 ; Byte sex : Little endian i tried looking everywhere ,could anybody put some information on shared library headers , .so libs i actually need for the the processors we have ,dont know which bit defines what but i know 62 is for arm64 EDIT :-got the thing https://opensource.apple.com/source/dtrace/dtrace-90/sys/elf.h here for other people as well
-
HackChina.com - Open Source Projects Search Engine
by CodeExplorer- 1 reply
- 26k views
HackChina.com - Open Source Projects Search Engine Open Source Projects Search Engine Link: />http://www.hackchina.com/dlpre.php?lang=en&id=26873
-
HttpSendRequest problem
by LCF-AT- 7 replies
- 9.7k views
Hi guys, need again some help.I wanna access the internet again with specific set Header datas but this with WinInet functions.So before I always used WinSock or WinInet with InternetOpenUrl API and all was going good.But as I said I wanna send specific header datas and this I cant do with InternetOpenUrl API and have to use HttpOpenRequest / HttpAddRequestHeaders & HttpSendRequest APIs but I dont get it work. Example: https://google.com/imghp GET https://www.google.com/imghp HTTP/1.1 Host: www.google.com Connection: close User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1) TEST1 BYTE "Host: www.google.com", 13, 10 BYTE "…
-
- 2 replies
- 4.7k views
Hello, I am currently working on a paper on uac bypass I would like to show a proof of concept as well and of course I want to code it myself. I already found some great methods but they all require you to copy a file (usually a dll) to a protected location (usually system32) Of course I red everything about the greatest proof of concept currently available : uacme On the forum post the coder describes everything related to his findings and it's a great source. On this post : http://www.kernelmode.info/forum/viewtopic.php?f=11&t=3643&start=80#p28249 He describes a way to copy a file to a protected location without injection, but for some r…
-
Keygen tool debugging
by impossibletask- 7 replies
- 9.3k views
Hi everyone, Im very new to this and have read many docs...and i have infomation overload. I need some help with something which i have been trying to do but now a little confused. I think i have been reading too much things that are unrelated to my task, so im confused. Here is what i want to do. I have a keygen tool ...(for a android app license..fully working) that requires me to put in an IMEI of a phone. I put the IMEI number in the keygen and it generates 2 files that i need to put into the phone to make the app work. Now the app works fine after i put the license in ( generated by my tool). So what i want to do is see what the license gen tool …
-
- 9 replies
- 25.2k views
Hello, I'm trying to write some code to emulate an application that is using ZwCreateKey and ZwQueryValueKey My environment is: Windows 7 DDK 7.1 Visual Studio 2010 When I specify #include <Wdm.h> I get the following error ------ Build started: Project: MVL_0.1, Configuration: Debug Win32 ------ MVL_0.1.cpp c:\winddk\7600.16385.1\inc\ddk\wdm.h(54): fatal error C1083: Cannot open include file: 'ntdef.h': No such file or directory ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== I am starting Visual Studio from within the: 'Win7 x86 Checked Build Environment' The Include Directories are: $(…
-
- 0 replies
- 3.8k views
Convert .NET is an integrated, powerful, multi-purpose conversion and developer tool (7-in-1) 多功能多用途轉換與開發工具, 整合七大主要項目超過二十項子功能, 操作簡易直覺無需任何學習 Version 7.9.6103 (2016/09/16), 2.00MB , History更新記錄 / Features軟體特色 / Feedback問題反饋 / License商業授權 Free for non-commercial, All-In-One, Portable, Single executable file, Easy to Use and Multlanguage 非商業下免費使用, 多合一, 綠色可攜, 單檔免安裝, 簡單易用, 多國語言介面, Supported Platforms支持平台 Windows All (x86/x64) , Requires軟體需求 .NET 4.5 Website: http://fishcodelib.com/Convert.htm
-
Ollydbg 2 plugin - How to display DialogBox
by HellRaider- 4 replies
- 5.7k views
I tried to create an olly2 plugin with msvc 2010. But I was unable to display a DialogBox,, even after trying. Can some one please look at the code and figure out the problem and help me display the DialogBox correctly.... Here's the code. main.c /* In OllyDbg 2.x the plugin exports are a mixture of _cdecl and _stdcall Cdecl functions can be declared in the DEF file as FunctionName@Ordinal Stdcall functions must be declared in the DEF file in the decorated format FunctionName@<number_of_parameter_bytes>@Ordinal DllEntryPoint ODBG2_Pluginquery() ->->->-> real entry point ODBG2_Plugininit() mainmenu[] -> function calls ODBG2_Pluginmen…
-
- 3 replies
- 4.4k views
what is this loop equivalent to in C++ / C language ? 2) what is this in reverse engineering mov edx, [eax+4] or mov edx, [eax]
-
how does 16 bit register works ?
by kb432- 6 replies
- 4.8k views
what is moving something to cl or ax or dl ? what does it mean ? i know it's 16 bit register. Can anyone give me an example so i understand better ? Thanks
-
Code cave in C++?
by kb432- 2 replies
- 4.8k views
How do i add an executable code / exe to another executable's body. So when the first file runs it will also execute the second files body from the first one? i have heard like code cave but with all modification. how do i do it ? In C or C++ programming language?
-
- 1 reply
- 3.8k views
1) cmp dword_4298B8, eax jnz short loc_xxxx dword_4298B8 is initialized as "dd ? " then how to compare with eax? dword_4298B8 ---> dd ? 2) Can you give me an example of array and accessing it and allocating it in ASM when i do reverse egnineering! Thanks 3) mov WORD PTR [ebx], 2 WHAT IS THIS ABOVE "WORD PTR" ?
-
Capture Console output realtime to Memo in Delphi
by GautamGreat- 5 replies
- 7.4k views
Hello. I am trying to devlop a GUI app for a console app. I need some help. I want to capture real time text of console in memo. How can i do it? I tried some function that available of internet but there is problem it freez the app so anyone have any other idea delphi.wikia.com/wiki/Capture_Console_Output_Realtime_To_Memo Its no working
-
- 1 reply
- 4k views
Large or medium .Net projects (Winform or WPF) that are not obfuscated? I tried before Paint.Net & ILSpy.
-
Understanding assembly Hello World
by fabiothebest- 8 replies
- 5.1k views
I'm studying x86 architecture and assembly in order to have the basis for studying reversing and exploit development. I'm following a course on opensecuritytraining.info. I see a Hello World example: push ebp mov ebp, esp push offset aHelloWorld; "Hello world\n" call ds:__imp__printf add esp, 4 mov eax, 1234h pop ebp retn This code was generated by Windows Visual C++ 2005 with buffer overflow protection turned off and disassembled with IDA Pro 4.9 Free Version. I'm trying to understand what each line does. the first line is push ebp. I know ebp stands for base pointer. What is its function? I see that in the second line the value in esp is…
-
Read/Write ProcessMemory of Private block
by kincses- 18 replies
- 7.4k views
Hi. Making a new thread for this, but is actually a sub-problem coming from my other thread. I'm trying to make a loader (now in c++), which would use the ReadProcessMemory API. The process is created by the loader with CreateProcess(address,NULL,NULL,NULL,FALSE,CREATE_SUSPENDED,NULL,NULL,&startup_info,&process_info) I noticed, that while it reads the memory of an "Imag" memory block, it returns 0x00 (or 0xCC ?) when trying to read from a private memory area. How is this bypassable?
-
- 5 replies
- 5k views
Hello Friends, I'm trying to implement one key generation logic developed in java in to c#. So can anyone tell me how to convert it in c# so that both the java and C# programs will work in similar manner. My java method which will implement the key is as below. public static String calculateOTP(byte[] seedValue, String userPIN, String challenge) { try { SHA1 sha1 = new SHA1(); byte[] hashedChallenge = sha1.digest(challenge.getBytes()); sha1.init(); sha1.update(seedValue); sha1.update(hashedChallenge); sha1.finish(); byte[] otp0byte = sha1.digest(); in…
-
How to handle HLS?
by LCF-AT- 9 replies
- 11.3k views
Hi guys, at the moment I try to study a little bit how HLS streamings are working and wanna ask whether anyone of you has some knowledge and experience with that theme.I found some sites (mosty any IPTV) where you can find listet links of TV channel playlists in m3u8 format.Normaly I can use commandline tools like ffmpeg / livestreamer to play / download them but now I wanna know how to handle such links manually to play / download them.After a manually check of a playlist file I can find inside some informations and another links to other m3u8 files using diffrent quallity etc.As next I did download one of them and can find inside another infos about splitet ts file…
-
- 2 replies
- 4.2k views
Hi guys, so I have a question about using / calculate / handling a HSCROLL control.So I would like to create a HSCROLL control what gets set and moved correctly and nice dependent on a tab control (X tabs = dynamic).Problem is I dont get it really good working. Lets say I have only one tab so then the thumbtrack should take the entire place in the hscroller and if I add more tabs then it should get smaller and smaller etc like in Notepad app for example.Next problem are the positions to set them correctly + calculate the right value to adjust everything you know.I made a example for testing.Maybe you can check this. invoke GetDlgItem,hWnd,IDC_HSCROLL mov…
-
[Help]How to HOOK LogonUI.exe
by Howsk- 4 replies
- 14.6k views
Hello everybody: There is a question bothers me for a long time. I want to get my computer's UserName、Domain、PassWord between LogonUI.exe and StartShell(Winlogon Notification Events),so i must HOOK it(LogonUI.exe),and i only want to HOOK it.I have referencesed some information,but failed. So,everybody,How to HOOK LogonUI.exe can get UserName、Domain、PassWord? Thanks.
-
Flickering and delay problems... 1 2
by LCF-AT- 39 replies
- 23.8k views
Hi guys, I have again found a problem and dont know whats the reason for this.I have a PC with a onBoard grafic 1 GB so I told this before on other topic.The problem I have is that I always have any kind of flickering / delay on the screen if I move any window or resize it also with any notepad file it happens.Its more worst if I do it in my Sandbox or also in VM too.Next problem is watching videos so there I always see any not vissible line moving from bottom to top (looks like a scissors cut) especially if there is much moving action in the video.I am really not sure why it is so and whether the onBoard grafic is the problem or not or whether any setting in the BIO…
-
- 0 replies
- 3.7k views
Hi everyone, I wanna develop a plugin for ollydbg. The plugin can record user's operations. For example, i add a breakpoint at line 40, then plugin can record this operation. Is is possible to make it? Any advice is welcome. Great thanks~~ Young
-
CreateProcess in Thread problem
by LCF-AT- 3 replies
- 7k views
Hi guys, have a new problem and need some advice. Problem: I created a thread and in this thread I also use a CreateProcess API to start a exe file and right after this API in my thread comes a loop to write bytes into hStdOutput handlle into new created process.All working so far but the problem is this...if the new created process does run and I do exit this process manually with mouse button then the remaining codes / following codes will not executed anymore.So thats the problem and I dont know why.I checked this also in Olly and did set soft BPs right after the loop and on thread exit but it will never reached.Does anyone have a idea why my thread will no m…
-
[C] Wrong strlen of array
by pcfx- 6 replies
- 10.9k views
Hi, I'm reading about some egg hunter shellcode and noticed a weird thing. If I remove the 'egg tag' in front of my actual payload i'm getting wrong strlen sizes? Why so? The shellcode isn't working in the second example without the egg tag (of course) but this has nothing to do with the strlen function, has it? shellcode1.c (Egg-tag is "Egg-Mark" without "", correct strlen of array) #include <stdio.h> #include <string.h> unsigned char egg[] = { 0x40, 0x81, 0x78, 0xf8, 0x45, 0x67, 0x67, 0x2d, 0x75, 0xf6, 0x81, 0x78, 0xfc, 0x4d, 0x61, 0x72, 0x6b, 0x75, 0xed, 0xff, 0xd0 }; unsigned char payload[] = { 0x45, 0x67, 0x67, 0x2d, 0…
-
HWID With Visual basic
by Sadare- 7 replies
- 7.5k views
Hi friends.How are you?And today i need your help to create HWID in Visual basic or delphi plz help..I need help to create HWID protected program with Delphi or Visual basic