Python Pytest
pytest overview 运行 pytest basic first test pytest 跳过 pytest 标记 Pytest 参数化测试 pytest ...
pytest overview 运行 pytest basic first test pytest 跳过 pytest 标记 Pytest 参数化测试 pytest ...
unittest.mock 基础概念 Mock 类 Mock方法与属性 patch patch 使用方法 ref https://hustyi...
Unittest example0 example1 运行单元测试 setUp与tearDown Unittest “测试驱动开发”(TDD:Test-Driven Development),单元测试就不陌生。 单元测试是用来对一个模块、一个函数或者一个类来进行正确性检验的测试工作。 比如对函数a...
CompTIA Linux+ XK0-004 [toc] Linux - Boot Process Concepts ✔️ | Legacy GRUB BIOS > boot.img (load core file) (first 512 bytes) > core.img (address of boot disk, the actual boot par...
LFCE: Linux Service Management - Advanced HTTP Services [toc] build scalable internet architectures resources consumed: find the bottleneck, mitigate it hardware access: spread out th...
LFCE: Linux Service Management - HTTP Services [toc] Basic server1: install the Wireshark $ yum install wireshark $ sudo usermod -a -G wireshark server run dig $ wireshark Warning...
LFCE: Network and Host Security [toc] lab server0: network change to bridge. server0: 192.168.1.30 enp0s10 192.168.0.110 server1: 193.168.3.100 enp0s8 server2: 192.168.2.100/25 ...
LFCE: Advanced Network and System Administration [toc] check the init daemons, Starting and Stopping Services server0: 1. command to switch between runlevels on initd-base Systems $ ls -la /s...
LFCE: Advanced Linux Networking [toc] virtual network Setup between centos make a virtual network things you gotta do first 1. virtubalbox. add network adapter. server0 > adapter 1: ...
CentOS Enterprise Linux User and Group Management [toc] PAM PAM: pluggable authentictaion module user login (SSH, Condole, GUI…) -> PAM (Authentication, limits, home directory) -> access ...
DNS Attack DNS lookup DNS spoofing/cache poisoning DNS Cache Poisoning DNS 快取污染 DNS Cache Poisoning and the Birthday Paradox ...
Network protocol - SSH basic ssh的安装 SSH Breakdown 配置ssh 使用ssh在远程后台不中断地跑程序 ssh 服务器端把空闲连接断开 system administration test if ssh is r...
Network protocol - RDP basic RDP Breakdown Network protocol - RDP basic Remote Desktop Protocol is used within Windows OS. It is used to access physical or virtu...
DNS basic basic Domain names DNS variant DNS Packet Structure [53] DNS record types: ...
DNS Establish Local Resolution Creating Name Servers 1. Install BIND on the Primary DNS Host 2. Configure BIND on the Primary DNS Host 3. ...