|
|
|
куда поставить 2-ую команду cmd.exe
|
|||
|---|---|---|---|
|
#18+
я ноль в асме. Помогите. куда поставить 2-ую команду cmd.exe и как добавить ExpandEnvironmentStrings для '%WinDir% и можно добавить exe внутрь этой программы. спасибо. цель кода =2 команды с запуском cmd. дальше сам. format PE Console entry start include 'win32a.inc' section '.data' readable writeable szShell db "C:\WINDOWS\system32\cmd.exe",0 szCommandLine db "/C calc.exe",0 _open db "open",0 section '.code' code readable executable start: invoke GetModuleHandle,0 invoke ShellExecute, eax, _open, szShell, szCommandLine, NULL, SW_HIDE invoke ExitProcess,NULL section '.idata' import data readable library kernel,'kernel32.dll', shell32, 'shell32.dll' import kernel,\ GetModuleHandle,'GetModuleHandleA', \ ExitProcess,'ExitProcess' import shell32,\ ShellExecute,'ShellExecuteA' ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 17.01.2011, 20:46 |
|
||
|
|

start [/forum/topic.php?fid=16&tid=1343198]: |
0ms |
get settings: |
9ms |
get forum list: |
16ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
195ms |
get topic data: |
9ms |
get forum data: |
2ms |
get page messages: |
23ms |
get tp. blocked users: |
1ms |
| others: | 246ms |
| total: | 507ms |

| 0 / 0 |
