본문 바로가기
반응형

<툴, 프로그램 관련>12

Infoblox WAPI example 회사에서 Bluecat DDI를 사용하다가 Infoblox로 migration한 이후 API를 활용하여 업무 자동화를 진행하고 있는데 Software Engineer는 아니지만 Network Engineer로써도 몇 줄안되는 간단한 Script만으로도 다양한 업무를 자동화하고 낭비되는 시간을 줄일 수 있다. [Case 1] - 11:22:ee:55:77:99를 DHCP pool이라는 이름을 가진 filter에 extensible attribute와 함께 등록 test_server = 'https://server_name/wapi/v2.10.5/' test_server_id = 'userid' test_server_pw = 'userpassword' payload = '{"mac": "11:22:ee:55.. 2020. 12. 3.
[CLI Script] VTP domain gathering pexpect module This script gathers vtp domain and vtp operation mode and then makes a spread sheet as a report. 2020. 6. 2.
SecureCRT python script to update hostname and banner This script is to update hostname and banner of cisco swtiches especially IOS. ****** # $language = "python" # $interface = "1.0" # # Author: Ethan Park # Date: 3/2/2020 # This script reads a csv file which contains hostname, IP address and a model # It updates hostname and banner section import csv import math def updateBanner(host, model): hostLength = int(math.ceil((35 - len(host)) / 2)) mode.. 2020. 3. 4.
E: Unable to locate package $ sudo apt-get install binwalk Reading package lists... DoneBuilding dependency treeReading state information... DoneE: Unable to locate package binwalk This problem can solve update and upgrade package as below. $ sudo apt-get update$ sudo apt-get upgrade 2019. 3. 18.
반응형