python web自动化 selenium 开局代码 Python

chromedriver()函数,自动安装驱动 import random import time from selenium import webdriver from selenium.webdriver.chrome.service import Service from selenium.webdriver.common.by import By f...
myluzh 发布于 

AD域控-ntdsutil清理元数据 Windows

原因是林里面依旧残留宕机的主域信息,需要进行清除。 ntdsutil命令,这个是固定的进入到metadate cleanup 清理元数据模式。 Select operation target ——connections——connect to server 域名.com—quit。(这一些是固定命令)之后列出当前站点 list site,找到了...
myluzh 发布于 

RouterOS基于源地址的策略路由 RouterOS

0x01 需求 目前出口有两条:1.pppoe-out-yd(移动pppoe出口)2.pppoe-out-dx(电信pppoe出口) 需要源地址172.16.20.0/24 无线网络网段 走移动出口,不走电信默认出口。其他走电信出口。 0x02 实现 方案一、通过mangle表实现 (1)添加标记 IP->Firewall->Mangle-&g...
myluzh 发布于 

H3C交换机关闭密码复杂度限制 H3C

The new password is too short. It must contain at least 10 characters. password-control length 4 password-control composition type-number 1 type-length 1 undo password-control comp...
myluzh 发布于 

Ansible-module常用模块 Linux

官方文档传送门: https://docs.ansible.com/ansible/latest/collections/ansible/builtin/index.html#plugins-in-ansible-builtin ping模块 (检查主机连通性) [root@master ansibleProject]# ansible -i ./inven...
myluzh 发布于 

Ansible-inventory主机清单 Linux

创建inventory文件 vim /root/ansibleProject/inventory [node134] #手动在主机清单中指定这台机子的用户名密码 192.168.253.134 ansible_ssh_port=22 ansible_ssh_user=root ansible_ssh_pass="cisco123" [node133] 192...
myluzh 发布于 

Ansible-基础笔记 Linux

yum安装ansible需要先启动EPEL仓库,具体方法自行百度。 [root@master ~]# yum install ansible --nogpgcheck 安装完成后使用--version 查看默认配置文件 [root@master ~]# ansible --version ansible [core 2.14.2] config file...
myluzh 发布于 

CentOS6~8 配置阿里云yum源与epel源 Linux

CentOS 6 wget -O /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-vault-6.10.repo 或者 curl -o /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/re...
myluzh 发布于 

HCIP-ISIS配置 Huawei

0x01 实验拓扑图 0x02 关于network-entity 例如: 49.0001.0000.0000.0001.00 49.0001 表示区域id ( 49 国际组织分配49表示任意使用类似私有ip ) 0000.0000.0001 系统id 表示某个路由 类似router id 00 代表isis 工作于IP网络中 推荐使用router id ...
myluzh 发布于 

HCIP-ISIS概述 Huawei

概述 ISIS: Intermediate System to IntermediateSystem的简称 中间系统到中间系统,是一个主要应用于运营商的路由协议,其应用规模和算法和OSPF类似。中间系统: 路由器 isis 。 isis 路由优先级:15,直连 0,静态路由 60,rip 100,ospf 10 ISIS骨干区域 骨干区域 :连续的一片Le...
myluzh 发布于