Главная
Форумы
Новые сообщения
Поиск сообщений
Что нового?
Новые сообщения
Новые ресурсы
Последняя активность
Ресурсы
Последние отзывы
Поиск ресурсов
Помощь форуму
ЧатTG
Вход
Регистрация
Что нового?
Поиск
Поиск
Искать только в заголовках
От:
Новые сообщения
Поиск сообщений
Меню
Вход
Регистрация
Приложение
Установить
Форумы
Компьютерная безопасность
Антивирусные продукты и прочие инструменты защиты
Прочие инструменты защиты компьютера
Антишпионы и иже с ними, обсуждаем, делимся впечатлениями, ссылками на оффсайты
JavaScript отключён. Чтобы полноценно использовать наш сайт, включите JavaScript в своём браузере.
Вы используете устаревший браузер. Этот и другие сайты могут отображаться в нём некорректно.
Вам необходимо обновить браузер или попробовать использовать
другой
.
Ответить в теме
Сообщение
[QUOTE="Phoenix, post: 164923, member: 6535"] Посмотрел справку, есть интересные ключи (полный путь можно не указывать). Не пойму при каких параметрах создаётся папка с логом, один раз получилось.. [LIST] [*][B][I]mbam.exe [B]/logtofolder[/B] C:\mbam_log_files[/I][/B] [*][B][I]mbam.exe /scan -full -log -terminate[/I][/B] [/LIST] [spoiler] [SIZE=6][B]Command Line Parameters[/B][/SIZE] [B]Malwarebytes Anti-Malware[/B] supports a variety of command line parameters, which can be used from either a command prompt, batch file or script. (Note: some of these parameters are available in the PRO version only.) [B]mbam.exe[/B] <parameters> [I](where parameters is one or more of the following)[/I] [LIST] [*][B]/errorsilent[/B]: suppresses all critical errors and writes the last error to <root-drive>\mbam-error.txt where <root-drive> is the hard drive where Windows is installed, also known as the System Drive. [B]Example:[/B] [B][I]mbam.exe /errorsilent [/I][/B]will suppress all errors when the program is running. [/LIST] [LIST] [*][B]/proxy[/B] <required server> <optional port> <optional username> <optional password>: allows the user to update through a proxy server. Leave blank to remove any proxy settings previously set. [B]Examples:[/B] [LIST] [*]mbam.exe /proxy will remove the proxy settings. [*]mbam.exe /proxy proxy.com 80 will use proxy.com on port 80 with no credentials. [*]mbam.exe /proxy proxy.com 80 admin password will use proxy.com with the specified credentials. [/LIST] [*][B]/logtofolder[/B] <optional path>: allows the user to save all log files to the specified folder. If this folder does not exist, [B]Malwarebytes Anti-Malware[/B] attempts to create it. If the path is blank, changes are reverted to default settings. These logs do not show up on the Logs tab. [B]Example:[/B] [B][I]mbam.exe /logtofolder C:\mbam_log_files [/I][/B]will save all future log files to the location C:\mbam_log_files. [B]Note:[/B] Protection logs created by the protection module will be saved to the same location you select [/LIST] [LIST] [*][B]/logtofile[/B] <optional path>: allows the user to save all log files to the specified file. If this file does not exist, [B]Malwarebytes Anti-Malware[/B] attempts to create it. Newest entries are appended to top of the file. If the path is blank, changes are reverted to default settings. This log does not show up on the Logs tab. [B]Example:[/B] [B][I]mbam.exe /logtofile C:\mbam_log_files\mbam-log.txt [/I][/B]will save all future log files to the location C:\mbam_log_files\mbam-log.txt. [B]Limitations:[/B] The path, in the above case C:\mbam_log_files, must exist. This option will not create folders if they don't exist, only the log file. [B]Note:[/B] Protection logs created by the protection module will always still only be saved to the default location [/LIST] [LIST] [*][B]/register[/B]: allows the user to register the program without displaying the main dialog box. [B]Examples:[/B] [B][I]mbam.exe /register 12345-67890 AAAA-BBBB-CCCC-DDDD [/I][/B]will register the product using the license key passed in the parameters. [B]Limitations:[/B] Protection must be enabled using the program user interface if it is to be enabled before the system restarts. [/LIST] [LIST] [*][B]/developer[/B]: this command line parameter is used to execute the program in developer mode and will create a log with encrypted information on items detected in a scan. It is used for reporting false positives and allows the researchers to determine why an item is being detected. [B]Example: [I]mbam.exe /developer[/I][/B] will start the program with detailed detection information. [B]Note:[/B] When reporting a false positive, please be sure to use the /developer switch and provide the resulting log to the researchers. [/LIST] [LIST] [*][B]/update[/B] <optional [B]-silent[/B]>: allows the user to update the product and database. [B]Examples:[/B] [LIST] [*]mbam.exe /update will attempt to update the database or program, depending on settings. [*]mbam.exe /update -silent will attempt to update the database or program silently. The -silent switch will not function in the Free version. [/LIST] [*][B]/scan[/B] <optional [B]-quick[/B] or [B]-full[/B] or [B]-flash[/B]> <optional [B]-silent[/B]> <optional [B]-remove[/B]> < optional [B]-terminate[/B]> <optional -reboot> <optional -log>: initiates a scan with the selected options. [B]Parameters:[/B] [LIST] [*][B]-quick[/B]: initiates a quick scan. [*][B]-full[/B]: initiates a full scan using saved drives in the registry. [*][B]-flash[/B]: initiates a flash scan of memory and heuristics only. [*][B]-terminate[/B]: closes the program after a scan completes and no threats were found (cannot be used with [B]-silent[/B]). If an item is detected, the program remains open so that the user can decide whether or not to remove the detected threat(s). The -terminate switch will not function in the Free version. [*][B]-log[/B]: overrides the save log checkmark on the settings tab. If the Automatically save log after scan completes option is unchecked, a log file will still be saved when the -log parameter is used. [*][B]-silent[/B]: hides the GUI while scanning (does not need to be used with [B]-terminate[/B]). The -silent switch will not function in the Free version. [*][B]-reboot[/B]: reboots the computer if necessary, only valid if [B]-remove[/B] is used. The -reboot switch will not function in the Free version. [*][B]-remove[/B]: automatically removes threats and saves a log file. Unless [B]-silent[/B] is specified, GUI stays open. The -remove switch will not function in the Free version. [/LIST] [B]Examples:[/B] [LIST] [*][B][I]mbam.exe /scan [/I][/B]will run a default scan. [*][B][I]mbam.exe /scan -full [/I][/B]will run a full scan. [*][B][I]mbam.exe /scan -flash -terminate [/I][/B]will run a flash scan and terminate if no objects are detected. [*][B][I]mbam.exe /scan -quick -log -silent -remove -reboot[/I][/B] will run a quick scan silently, save logs, automatically remove threats, and reboot if necessary. [/LIST] [B]Limitations:[/B] [LIST] [*]-terminate parameter cannot be used with the -silent parameter since the program will automatically terminate when the -silent parameter is used. [*]-reboot parameter is only valid if used with the -remove parameter. [/LIST] [*][B]/schedule[/B] <options [B]/update[/B] or [B]/scan -quick[/B] or [B]/scan -full[/B] or [B]/scan -flash[/B]> <options [B]/realtime[/B] or [B]/hourly[/B] or [B]/daily[/B] or [B]/weekly[/B] or [B]/monthly[/B] or [B]/once[/B] or [B]/onreboot[/B]>: these items allow the user to choose the frequency for the scheduled update or scan to occur: [LIST] [*]<optional [B]/starting[/B] mm/dd/yyyy hh:mm:ss>: this item allows the user to set the time for the scheduled scan or update to start. [*]For [B]/realtime[/B] omit this - the current time is assumed. [*]For [B]/random[/B] - this item selects a random time to set the scheduled scan or update to occur. /random may only be used with /hourly or /daily and randomizes the Hour and Minute or Hour and Minute and Second respectively [B]Limitations:[/B] Not supported with [B]/onreboot[/B] for scans or [B]/realtime[/B] or [B]/onreboot[/B] for updates. [*]<optional [B]/every[/B] X where X is a number for the frequency of the scan or update to occur, this is required for every option except [B]/monthly[/B],[B]/once[/B] and [B]/onreboot[/B]> <optional [B]/recover[/B] X where X is the number of hours for the scan or update to attempt to run again if the computer was unavailable during the scheduled time, this is not valid with [B]/onreboot[/B] or [B]/realtime[/B]> [*]<optional [B]/wakefromsleep[/B]>: may be used with a scan or an update. [B]Malwarebytes Anti-Malware[/B] will attempt to wake the computer from sleep to perform the scheduled scan or update. [B]Limitations:[/B] Not supported with [B]/onreboot[/B] for scans or [B]/realtime[/B] or [B]/onreboot[/B] for updates. [*]<optional [B]/flash[/B] executes a Flash Scan after a successful update [B]Note:[/B] only used with /update> [/LIST] [B]Examples:[/B] [LIST] [*][B][I]/schedule /scan -quick -remove -terminate -log /daily /starting 08/10/2010 23:00:00 /every 1 /silent /wakefromsleep[/I][/B] will schedule silent daily Quick Scan starting on August 10th, 2010 at 11:00PM that will repeat every 1 day, remove threats, reboot if necessary, force the creation of a scan log and will attempt to wake the computer from sleep to perform the scan. [*][B][I]/schedule /update /flash /realtime /every 5[/I][/B] will schedule an update to occur in real-time once every 5 minutes and set a Flash Scan to occur after each successful update. [/LIST] [*][B]/unschedule[/B] <optional [B]/all[/B] or [B]/all -update[/B] or [B]/all -scan[/B]>. [B]Note:[/B] You can remove individual scans or updates by not including the /all switch and specifying the exact switches used to create the scan or update [LIST] [*][B]/all[/B] removes all scheduled scans and updates. [*][B]/all -update[/B] removes all scheduled updates. [*][B]/all -scan[/B] removes all scheduled scans. [/LIST] [B]Examples:[/B] [LIST] [*][B][I]/unschedule /all[/I][/B] will delete all scheduled updates and scans [*][B][I]/unschedule /all -scan[/I][/B] will delete all scheduled scans [*][B][I]/unschedule /all -update[/I][/B] will delete all scheduled updates [*][B][I]/unschedule /scan -quick -remove -terminate -log /daily /starting 08/10/2010 23:00:00 /every 1 /silent [/I][/B]will delete a scheduled silent daily Quick Scan that was set to start on August 10th, 2010 at 11:00PM that was set to repeat every 1 day, remove threats, reboot if necessary, and force the creation of a scan log. [*][B][I]/unschedule /update /flash /realtime /every 5 [/I][/B]will delete a scheduled update that was to occur in real-time once every 5 minutes and with a Flash Scan set to occur after each successful update. [/LIST] [*][B]/setpassword[/B] sets or changes the password to access certain features of the product. Quotes are required around the password you wish to set if it contains any non alpha-numeric characters and the actual character " is not allowed within the password itself. [B]Examples:[/B] [LIST] [*][B]/setpassword "malwarebytes"[/B] sets the password to [I]malwarebytes[/I] [*][B]/setpassword "newpassword" "oldpassword"[/B] changes the password from [I]oldpassword[/I] to [I]newpassword[/I] [*][B]/setpassword "P^@"[/B] sets the password to [I]P^@[/I] [/LIST] [*][B]/clearpassword[/B] <password>: removes the password. [B]Examples:[/B] [LIST] [*][B]/clearpassword "malwarebytes"[/B] removes all password protection if the password was [I]malwarebytes[/I] [*][B]/clearpassword "P^@"[/B] removes all password protection if the password was [I]P^@[/I] [/LIST] [/LIST] [/spoiler][I][B]разобрался -[/B][/I] [LIST] [*][B][I]mbam.exe [B]/logtofolder[/B] C:\mbam_log_files[/I][/B] [/LIST] [I][B]так создаётся папка для логов (но лучше руками создать и выполнить команду, тогда все отчёты туда идут. [B]/logtofile - все логи будут писаться в один файл (дописываться)[/B]).[/B][/I]В cmd (bat) так будет выглядеть. [PHP]"C:\Program Files (x86)\Malwarebytes' Anti-Malware\mbam.exe" /logtofolder C:\mbam_log_files "C:\Program Files (x86)\Malwarebytes' Anti-Malware\mbam.exe" /scan -quick -log -terminate[/PHP]Или так [PHP]"C:\Program Files (x86)\Malwarebytes' Anti-Malware\mbam.exe" /logtofolder %userprofile%\desktop\mbam_log_files "C:\Program Files (x86)\Malwarebytes' Anti-Malware\mbam.exe" /developer /scan -full -log -terminate[/PHP] [/QUOTE]
Вставить цитаты...
Проверка
Ответить
Форумы
Компьютерная безопасность
Антивирусные продукты и прочие инструменты защиты
Прочие инструменты защиты компьютера
Антишпионы и иже с ними, обсуждаем, делимся впечатлениями, ссылками на оффсайты
Сверху
Снизу