Click here to Skip to main content
15,892,674 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to call global functions of dll with void* (or some more generic pointer) [modified] Pin
glitteringsound9-Feb-10 21:30
glitteringsound9-Feb-10 21:30 
GeneralRe: How to call global functions of dll with void* (or some more generic pointer) Pin
Rozis10-Feb-10 14:07
Rozis10-Feb-10 14:07 
QuestionHow to import a file into PE header of an exe then load that file from within modified exe Pin
only_jack9-Feb-10 5:51
only_jack9-Feb-10 5:51 
AnswerRe: How to import a file into PE header of an exe then load that file from within modified exe Pin
Richard MacCutchan9-Feb-10 6:17
mveRichard MacCutchan9-Feb-10 6:17 
GeneralRe: How to import a file into PE header of an exe then load that file from within modified exe Pin
only_jack9-Feb-10 7:08
only_jack9-Feb-10 7:08 
GeneralRe: How to import a file into PE header of an exe then load that file from within modified exe Pin
David Crow9-Feb-10 7:19
David Crow9-Feb-10 7:19 
GeneralRe: How to import a file into PE header of an exe then load that file from within modified exe Pin
LunaticFringe9-Feb-10 7:32
LunaticFringe9-Feb-10 7:32 
GeneralRe: How to import a file into PE header of an exe then load that file from within modified exe Pin
only_jack9-Feb-10 10:53
only_jack9-Feb-10 10:53 
why are you getting all wrong
DavidCrow wrote:
The BMP file you want to insert is that sensitive?


BMP was an example i will use something else , maybe you forget to do your glasses while reading my question


DavidCrow wrote:
Once you replace the PE headers with some other file, that modified file will no longer function. So what purpose does it serve?


i never said that i want to replace Dead | X|
i want to replace nothing , i want to import a new section



DavidCrow wrote:
The cynic in me smells a Trojan horse (i.e., trying to hide the nefarious file from AV software by wrapping it with some other legitimate file).


Thumbs Down | :thumbsdown: Thumbs Down | :thumbsdown:
why i will do this for a malicious purpose , all of AVs can scan PE headers you should know this as a MVP Confused | :confused: ,
if i want to hide a file from user or AVs , i can easily import it to a
NTFS portion as a ADS Laugh | :laugh: but i am killing my hours against them Sniff | :^)

if i was looking for some malicious resources trust me i can find them on the net in few seconds Thumbs Up | :thumbsup: , even in codeproject site
there are lots of articles like how to inject your code to another process maybe first you should check those articles firs which you approved and publised

finally , i will explain it a bit more

the compiled exe uses a %80 modified Lua interpreter do you know Lua
and i am importing some modified Lua scripts in to compiled exe's resources
and then i am getting these scripts through resource API functions
then redirect the file buffer to luaL_loadbuffer() function of LUA C API
interpreter parses this file and generates some reports

so i am uploading this file to FTP and users download it priodically and run to get some report about a main program ,and it will edit some portions of main installition if necessary with user's permission (i hope now you do not get this like i am making a pacher)

finally it will generate a report like below and present some options to user
-------------------------------------------------
your installition needs an update
x database is absolete , y file needs a update ,

the purpose that you having trouble to understand was the automation of some report procedures


do you know an idiot who spends hours to do above to make a simple damn trojan , whereas it can be done within minutes
GeneralRe: How to import a file into PE header of an exe then load that file from within modified exe Pin
Richard MacCutchan9-Feb-10 21:53
mveRichard MacCutchan9-Feb-10 21:53 
GeneralRe: How to import a file into PE header of an exe then load that file from within modified exe Pin
Richard MacCutchan9-Feb-10 7:47
mveRichard MacCutchan9-Feb-10 7:47 
Questionerror LNK2001: unresolved external symbol "private: static class std::map<class std::basic_string Pin
transoft9-Feb-10 3:24
transoft9-Feb-10 3:24 
AnswerRe: error LNK2001: unresolved external symbol "private: static class std::map<class std::basic_string Pin
Graham Breach9-Feb-10 3:44
Graham Breach9-Feb-10 3:44 
QuestionMIDL cascading Pin
William Engberts9-Feb-10 1:26
William Engberts9-Feb-10 1:26 
QuestionMessage Removed Pin
9-Feb-10 0:18
gregarion9-Feb-10 0:18 
AnswerRe: Database Syntax Pin
ThatsAlok9-Feb-10 0:46
ThatsAlok9-Feb-10 0:46 
GeneralRe: Database Syntax Pin
gregarion9-Feb-10 1:05
gregarion9-Feb-10 1:05 
AnswerRe: Database Syntax Pin
Game-point9-Feb-10 0:56
Game-point9-Feb-10 0:56 
GeneralRe: Database Syntax Pin
gregarion9-Feb-10 1:06
gregarion9-Feb-10 1:06 
GeneralRe: Database Syntax Pin
Game-point9-Feb-10 1:23
Game-point9-Feb-10 1:23 
GeneralRe: Database Syntax Pin
gregarion9-Feb-10 1:49
gregarion9-Feb-10 1:49 
GeneralRe: Database Syntax Pin
Richard MacCutchan9-Feb-10 2:40
mveRichard MacCutchan9-Feb-10 2:40 
GeneralRe: Database Syntax Pin
David Crow9-Feb-10 3:14
David Crow9-Feb-10 3:14 
GeneralRe: Database Syntax Pin
gregarion9-Feb-10 3:32
gregarion9-Feb-10 3:32 
AnswerRe: Database Syntax Pin
David Crow9-Feb-10 3:37
David Crow9-Feb-10 3:37 
GeneralRe: Database Syntax Pin
gregarion9-Feb-10 3:38
gregarion9-Feb-10 3:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.