VScode React Snippets

Snippets info Every space inside { } and ( ) means that this is pushed into next line 🙂 $ represent each step after tab. TypeScript has own components and own snippets. Use search or just type ts before every component snippet. I.E. tsrcc React Hooks Hooks from official docs are added with hook name […]

Linux C/C++ sniff packets and display traffic statistics

Sniffing packets and displaying traffic statistics is an important technology in network analysis and is often used in network fault diagnosis, network security monitoring, etc. Specifically, a sniffer is a software tool that captures packets traveling on a network and displays them to analysts. Among sniffers, using the pcap library is a common approach because […]

Nginx supports SNI certificate, which has been used by ssl_server_name

I have compiled some information online and recorded it here for your reference What is SNI? In traditional application scenarios, a server corresponds to an IP address and a domain name, using a certificate containing domain name information. With the popularization of cloud computing technology, the virtual machine in the cloud has an IP, corresponds […]

[Comprehensive explanation of Linux commands] 158.Linux command skills: Use skill and snice to freeze processes and reduce process priority

Article directory skill Additional information grammar Options Example Learn `python` from scratch skill Send a signal to the selected process to freeze the process Supplementary instructions The skill command is used to send a signal to the selected process and freeze the process. This command is not commonly used by beginners, but may be used […]

The solution to No package dsniff available when yum installs tcpkill

Prompt when installing tcpkill today [jiankunking@cmp24 ~]# yum -y install dsniff Loaded plugins: fastestmirror, langpacks Repository base is listed more than once in the configuration Repository updates are listed more than once in the configuration Repository extras are listed more than once in the configuration Repository centosplus is listed more than once in the configuration […]

Network Sniffer and Analyzer Programs – Part 3

Directory introduce ARP What does the term ARP mean? What does the term ARP spoofing mean? working principle the code use code DNS packet structure header field use code Download binary – 352 KB Download source code – 466.2 KB Read the first part of this article here. Read the second part of this article […]

Python scapy sniff function parameter usage

sniff(*args, **kwargs) Sniff packets and return a list of packets. Args: count: number of packets to capture. 0 means infinity. store: whether to store sniffed packets or discard them prn: function to apply to each packet. If something is returned, it is displayed. –Ex: prn = lambda x: x.summary() session: a session = a flow […]

20 easy-to-use Python code snippets! ! ! (Python tips)

Python is a non-BS programming language. Design simplicity and legibility are two reasons for its popularity. Just like the tenet of Python: beautiful is better than ugly, and explicit is better than implicit. It is useful to remember some common tips to help improve code design. In a pinch, these little tricks can save you […]

“MySQL Compulsory Course: Sniping Massive Data! Teach you how to perform index analysis and SQL query optimization! “

Article directory Chapter Learning Objectives Section 1 Index Analysis and Optimization 1.1 EXPLAIN 1.2 return table query 1.3 Covering Index 1.5 LIKE query 1.6 NULL query 1.7 Indexing and sorting Section 2 Query Optimization 2.1 Slow query positioning 2.1.1 Enable slow query log 2.1.2 Check the slow query log 2.2 Slow query optimization 2.2.1 Indexes […]