[WARNING CLOSED!] Any newbie question, so as not to clutter up the forum. Professionals, don't go by. Can't go anywhere without you. - page 268

 
ermq4 писал(а) >>

Hello!

I don't know anything about mql4 at all, so please excuse me for asking a silly question. Is it possible to insert a malicious code like "trojan" into ex4 file so that it could pass usernames and passwords to an intruder?

Thank you.

In principle it is possible, but hoping that you have a properly configured Publisher or Mail in the terminal is a bit naive. But if you allowed the DLL to work, then fine, although there would be problems with the password.

 
Roger >> :

In principle you can, but hoping that you have properly configured the publisher or Mail in the terminal is a bit naive. If you have enabled the DLL operation, then it's fine.

DLL operation is enabled by writing value 01 to byte offset 0x14 in config\experts.ini file

so it's a piece of cake :)

 
alsu писал(а) >>

The DLL is enabled by writing the value 01 to byte offset 0x14 in the config\experts.ini file

so it's a piece of cake :)

And how do you open this file if you don't allow DLLs?

 
Roger >> :

And how will you open this file if no DLLs are allowed?

:))))

Then the only option is to dump pre-made shellcode into porno.exe file and send a message to the user that it is necessary to run the file.

 
alsu >> :

:))))

then the only option left is to dump the pre-made shellcode into the porno.exe file and prompt the user to run the said file

))) Then MetaPorno.exe

 
alsu писал(а) >>

:))))

then the only option left is to dump the pre-made shellcode into the porno.exe file and prompt the user to run the said file

Score!

 

I'm following an example... I got the code from somewhere.)

how to use this great loop? is there any code that explains it?)

 
Can you tell me how to make a loop in the indicator is not executed on every tick, but only at the opening of a new bar?
 
alsu >> :
Check the bid, is it accurate with four digits?

I tried to test on the "native" quotes on Finam's terminal - I have them only since June 1 - EVERYTHING WORKS (I tested them on 5 minutes). I downloaded the whole MetaQuotes Corp. (through Service), recalculated all timeframes, reloaded the terminal and... All works, but only up to 20.03.09 and then it starts displaying a price discrepancy "TestGenerator: unmatched data error (low value 1.3562 at 2009.03.20 14:22 and price 1.3562 mismatched)" - and the price in the messages actually coincides! - and invalid price 1.35414000 for OrderClose function". What is this mysterious date - March 20, 2009? Maybe from this date the 5th sign appeared in metaquotes (I dare to suggest blasphemously)? What to do about it now? Try to normalise Ask and Bid?

 
alsu >> :

it looks like something's been messed up...

>> I'd like to see the whole code.

I would be glad to show the whole code here - but in spite of the fact, that it is miserable, primitive and uncompleted, it does not fit to the whole post - it blames, that it is too long. :-(