Скрипт автоматической смены пароля на smart.guard
9 USDДобрый день.
Скрипт автоматической смены пароля на smart.guard
Необходимо написать скрипт, который будет выполнять следующие действия:
1. Подключиться через telnet к камере с IP, переданным в качестве первого аргумента скрипта
2. Ввести логин: root
3. Ввести пароль: worldwideweb
4. Произвести смену пароля для mjpg-streamer-а (пароль передается вторым аргументом при запуске скрипта)
5. Перезапустить mjpg-streamer (/etc/init.d/mjpg-streamer restart)
6. Отключиться от камеры (exit)
7. Записать в файл результат в формате IP:результат
Расположение конфига: /etc/config/mjpg-streamer
Формат конфига:
config mjpg-streamer 'core'
option enabled '1'
option input 'uvc'
option output 'http'
option device '/dev/video0'
option resolution '640x480'
option fps '15'
option www '/www/webcam'
option port '8090'
option username 'smart'
option password 'blah blah'
config mjpg-streamer 'ftp'
option username 'smart'
option password 'foobar'
option server 80.73.X.X
Необходимо изменить значение option password в секции 'core'. При этом не поменяв пароль в секции 'ftp'. Для простоты примем за аксиому, что данные в конфиге располагаются именно в таком порядке, т.е. секция 'core' всегда в начале конфига.
Аргументы:
∙ IP камеры
∙ Новый пароль
Результат:
Выходной файл с именем campass.<текущая дата и время> с данными в формате:
IP камеры:результат
Стоит хорошенько подумать - что может быть записано в качестве результата.
И не забыть о проверках 😉
-
3 days30 USD
560 11 0 3 days30 USDДобрый день.
Telnet или ssh?
В любом случае готов взяться.
Current freelance projects in the category Desktop Apps
Need an Airtable architect to build a relational schema and a new clean Airtable base.Need help rethinking and building a clean relational schema for an internal operational system on Airtable. The current database is already in use by the team, but it has grown organically: the structure is partially flat, some tables/views are actively used, while others are… Databases & SQL, Desktop Apps ∙ 2 hours 39 minutes back ∙ 7 proposals |
Creation of software for generating cutting files for wooden puzzlesWe are looking for a developer to create software that automates the process of building cutting files for wooden jigsaw puzzles. Current Process Currently, each file is created manually by a designer in Adobe Illustrator. The file contains: the outer contour of the puzzle in… Desktop Apps ∙ 6 hours 57 minutes back ∙ 10 proposals |
Small edit on the website
16 USD
Need to update the offer agreement in the footer to a new one, the company has changed its regulations Task will take 20 minutes Web Programming, Desktop Apps ∙ 1 day 8 hours back ∙ 105 proposals |
Account reconciliation tool with the bank, cards, and accountantTechnical Assignment: Tool for Reconciling Accounts with Bank, Cards, and AccountantGeneral Goal A local tool (script/small application in Python) is needed, which is manually run once every 1-2 months on my computer and performs reconciliation between: Invoices I issued to… Python, Desktop Apps ∙ 3 days 15 hours back ∙ 43 proposals |
Add pauses of 10-30 seconds between sending emails.Hello! I am looking for an experienced 1C / BAS (BAF) programmer to promptly resolve a technical issue with email distribution.Problem essence: We use the accounting program BAF (Business Automation Framework), version 2.0. Once a month, there is a need to send about 300 emails… Web Programming, Desktop Apps ∙ 9 days 7 hours back ∙ 10 proposals |