pcapfix

package
v1.4.1-beta5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 8, 2025 License: AGPL-3.0 Imports: 11 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Fix

func Fix() error

FixPermission 尝试修复 pcap 权限问题 Example: ``` err := pcapx.FixPermission() die(err) // 没有错误,即可正常使用 syn 扫描 ... ```

func IsPrivilegedForNetRaw

func IsPrivilegedForNetRaw() bool

func Withdraw

func Withdraw() error

WithdrawPermission 撤销 pcap 权限 Example: ``` err := pcapx.Withdraw() die(err) ... ```

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL