Programming and Coding
Programming and coding tips, help and solutions...
1,882 topics in this forum
-
PHP $_POST help
by Kruse- 7 replies
- 4.5k views
Hey everyone, I'm writing an FTP script in PHP and I know the upload is working (tested it with out the HTML form), but as soon as I put a form in it to post some data to another page, it no longer works. the data i'm trying to post are in hidden fields in an html form: <input type="hidden" name="action2" value="up"> <input type="hidden" name="hostname" value=<?php $hostname ?>> <input type="hidden" name="user" value=<?php $user ?>> <input type="hidden" name="password" value=<?php $password ?>>where all the values were posted from another page and put into these vars (except for action2, which is also the only one which is read p…
-
DirBrowseButton
by nilsen- 0 replies
- 3.5k views
Hello i wonder what's missing this code,Why it's doesn't play sound on click for DirBrowse button? How to get this work? function DirBrowseButtonClick(CurPageID: Integer): Boolean; begin
-
ExeSafeguard 1.0 Source Code...
by Teddy Rogers- 0 replies
- 3.3k views
For those interested in the source code of executable crypters should find this one interesting... src104.zip Ted.
-
- 0 replies
- 2.5k views
I found a tutorial from codeproject: http://www.codeproject.com/KB/COM/cwebpage...uick&fr=226 The problem I encountered is solved. The key is vtable in COM object. C++ doesn't need vtable.
-
[Delphi] KeYGeN
by IMPosTOR- 0 replies
- 3.7k views
hear is 1 keygen source code . Author : IMPosTOR \ Under SEH Team Feedback: impostor_76171@yahoo.comPage : www.webkade.ir Homepage: www.impostor.blogfa.com KeYGeN_Src_by_IMPosTOR.zip
-
ASM Editor
by jackyyll- 5 replies
- 4.7k views
What editor do most people use to edit asm source code (more specifically, masm)? Looking for a good one to use to get started with masm.
-
change entry point
by ragdog- 14 replies
- 5.4k views
hi I search an example for change entry point in masm32 can your help me please? greets, ragdog
-
How To Code A Colored Dialog
by diablo2oo2- 14 replies
- 5.1k views
This is just a little example how to make colored dialogs... dialog.color.example.rar
-
code injection
by ragdog- 4 replies
- 5.3k views
hi all i search a masm32 source for code injection to a running process. i found only this code this crash my target no plan why ? can you help me or have your a good example? .386 .model flat, stdcall option casemap:none include \masm32\include\windows.inc include \masm32\include\kernel32.inc include \masm32\include\user32.inc includelib \masm32\lib\kernel32.lib includelib \masm32\lib\user32.lib.data szTarget byte 'Notepad', 0 szUser32 byte 'USER32.DLL', 0 szSharedData byte 261 dup (0).data? hModule dword ? hNewModule dword ? hProcess dword ? dwSize dword ? dwPid dword ? dwBytesWritten dword ? dwTid dword ? .codeHijackedThread proc invoke MessageBox, 0, addr szTarget, ad…
-
injecting calls?
by high6- 9 replies
- 5.6k views
So I want to inject a call into a remote process that I can call with CreateRemoteThread. Problem is that if a few of the api calls aren't to the same place in memory with the target and the compiled stub then it wont work. Whats an easy way to compile a C++ stub and fix its api calls? I rather not make a 2d array of where the call is in the stub and what api it is, to fix it. All I can think of is have an array that is pointers to the apis instead and have my stub call those. Then when I inject it I fix the pointers. If thats what I should do can someone give an example?
-
How to change the color background Inno Setup?
by zombie123- 2 replies
- 7.1k views
Hello was just wondering how you would change the background color in IsTools i went on top and clicked Project Then Setup Options Then Appearance then there you will see Background color i tried changing the color or even clicking on Custom and tried doing my own color i want it then clicking Apply then clicking OK - now when i go to Compile Setup then try out the exe the color is still white for the background if anyone can help me do it proper i would really appreciate it
-
Pe Headers Editor + Source Code...
by Teddy Rogers- 10 replies
- 5.2k views
As the title says, a PE Header Editor with full source code. Maybe of interest to someone here... PE_Header_Editor_2.0.rar Ted.
-
OR EAX,EAX?
by ShadowRayz- 4 replies
- 9.1k views
K, so i wrote a small masm exe to see how it'll look when its compiled, kinda same..the only major difference was that in the source i did an IF condition. when i debugged the .exe the .if eax == null.........endif became OR EAX,EAX, i didn't really find anything about that in google for some reason...can anyone explain how that OR works and if i can use it as a replacement for the .if .endif somehow. Thanx
-
2 new antidebug tricks?
by rendari- 4 replies
- 3.7k views
Ran across these two tricks while browsing through the Woomann blogs forum. http://www.woodmann.com/forum/showthread.php?t=11318 http://www.woodmann.com/forum/showthread.php?t=11451 http://www.woodmann.com/forum/showthread.php?t=11078 Haven't seen those before, figured I might bring it to your guys' attention before a protection author does Cheers!
-
How to use minifmod in delphi?
by nilsen- 7 replies
- 4.9k views
Hi! Can anybody help me ? i need to use bassmod.dll or minifmod.dll i wonder how the code should look like
-
How to pause/resume WAVE? (Win32 API)
by alaphate- 2 replies
- 3.1k views
LRESULT CALLBACK WndProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) { switch(message) { case WM_CREATE: sndPlaySound("hello.wav", SND_FILENAME | SND_ASYNC); return 0; }I know how to stop it by sndPlaySound("", SND_FILENAME | SND_ASYNC); //sending NULL string but how to pause and resume it? Thanks a lot for helping me.
-
Content deleted
by FLeXuS_GReeN- 2 replies
- 5.4k views
Someone might help to create an nfo scroll in asm because I have no idea, and will be great if someone gives me a hand please! thank's.....
-
- 8 replies
- 4.2k views
I can calculate the result by pressing <enter>, however, It will doesn't work after I click the application's tray icon. Thanks a lot, my buddies Attachment is my project. Below is my source code. #include <windows.h> #include <stdio.h> #include "resource.h"HINSTANCE hInst; NOTIFYICONDATA nid; bool isMin = false;BOOL CALLBACK DlgProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) { char szBuf[15]; double a, b, result; switch(message) { case WM_INITDIALOG: //create tray icon nid.cbSize = sizeof(nid); nid.hIcon = LoadIcon(hInst, "MYICON"); nid.uCallbackMessage = WM_USER + 1; nid.hWnd = hwnd; nid.uID = WM_USER + 2; str…
-
Delphi encrypt directory
by afre_N- 4 replies
- 3.4k views
who know delphi code to encrypt directory?? help me please..
-
MiniDBG with source
by langxang- 0 replies
- 2.8k views
MASM source of MiniDBG debugger.rar
-
minifmod help, win32 api programming, thx
by alaphate- 4 replies
- 3.9k views
Any buddy can help me to tackle this problem? Thanks a lot. Attachment is my source files. o10.zip
-
bass.dll
by Fungus- 9 replies
- 4.4k views
I am patching an old game, I have reversed the winmm.dll calls for playing audio from the cd, and I know how to get out the track number and convert it to a filename. I want to replace the playing routines with bass.dll so I can play the .wav rips instead. I need to be able to play, stop and loop (and checking the position of the current play to loop it). anyone can help with this? I tried the examples that come with bass , but they .wav player doesn't seem to work on my system (no sound). I plan to write a nocd tut for this game when I am done patching and testing, so all help much appreciated. =) Cheers
-
unpacker stubs?
by high6- 6 replies
- 3.5k views
I was wondering how do packer makers make stubs? Do they program a unpack stub in say C++ then get the bytecodes and have the unpacker use the bytecodes as a base stub?
-
Moving text effect
by ShadowRayz- 1 reply
- 5.6k views
Sometimes keygens and websites use that feature, in a program you got a textbox and the text like moves to the left and it deletes a character everytime, but then the text reappears from the other side, thats where im stuck.. i can make it disappear to the left but i have no idea how to make it reappear again... that's the code i wrote so far Public back As StringPrivate Sub Command1_Click() If (Timer1.Enabled = True) Then Timer1.Enabled = False Else Timer1.Enabled = True End If End SubPrivate Sub Form_Load() Timer1.Enabled = False Timer1.Interval = 80 End SubPrivate Sub Timer1_Timer() If (LenB(Text1.Text) <> 0) Then back = Text1.Text back = Mid$(back, 2, Len(Tex…
-
dll unpack, GetThreadContext error... solution
by langxang- 3 replies
- 4.4k views
Here is a unpacker for PECompact packed dll, but there are some error occur: 1、CreateProcess use command line: loaddll.exe *.dll (just like ollydbg) 2、While CREATE_PROCESS_DEBUG_EVENT,log the DBEvent.u.CreateProcessInfo.hProcess and DBEvent.u.CreateProcessInfo.hThread 3、While LOAD_DLL_DEBUG_EVENT, when load *.dll, SuspendThread DBEvent.u.CreateProcessInfo.hThread, than set breakpoint in OEP,and ResumeThread DBEvent.u.CreateProcessInfo.hThread, while GetThreadContext, Context.regEip always stop in ntdll.KiFastSystemCallRet, can not get dll's regEip: ProcessDll proc LOCAL Buffer [64]:byte LOCAL BP1_data,BP2_data,BP3_data,BP4_data:DWORD LOCAL BP1,BP2,BP3,BP4:DWORD LOCAL hPro…