z2k

(★ 155)

Zapret 2 for keenetic

File Explorer

  • .gitattributes
  • .gitignore
  • .luacheckrc
  • ARCHITECTURE.md
  • build-matrix.tsv
  • CONTRIBUTING.md
  • eslint.config.mjs
  • LICENSE
  • package-lock.json
  • package.json
  • quic_strats.ini
  • README.md
  • release.sh
  • RELEASING.md
  • SECURITY.md
  • strats_new2.txt
  • UPDATES.json
  • UPDATES.json.sig
  • z2k.sh
  • z2k_cleanup.sh

# Use via CDN

jsDelivr

jsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.

Command Glossary

Commands referenced in this DOCs, explained below.

🔍

http

View Details ▼

HTTPie: an HTTP client designed for testing, debugging, and generally interacting with APIs and HTTP servers.
See also: `xh`.

http {{https://example.com}}

Make a simple GET request (shows response headers and content):

http {{[-p|--print]}} {{H|B|h|b|m|Hh|Hhb|...}} {{https://example.com}}

Print specific parts of the content (`H`: request headers, `B`: request body, `h`: response headers, `b`: response body, `m`: response metadata):

http {{GET|POST|HEAD|PUT|PATCH|DELETE|...}} --proxy {{http|https}}:{{http://localhost:8080|socks5://localhost:9050|...}} {{https://example.com}}

Specify the HTTP method when sending a request and use a proxy to intercept the request:

🔍

opt

View Details ▼

Run optimizations and analyze LLVM source files.

opt -{{passname}} {{path/to/file.bc}} -S -o {{file_opt.bc}}

Run an optimization or analysis on a bitcode file:

opt {{-dot-cfg}} -S {{path/to/file.bc}} -disable-output

Output the Control Flow Graph of a function to a `.dot` file:

opt -O2 {{path/to/file.bc}} -S -o {{path/to/output_file.bc}}

Optimize the program at level 2 and output the result to another file:

🔍

ipset

View Details ▼

Create IP sets for firewall rules.

ipset create {{set_name}} hash:ip

Create an empty IP set which will contain IP addresses:

ipset destroy {{set_name}}

Destroy a specific IP set:

ipset add {{set_name}} {{192.168.1.25}}

Add an IP address to a specific set:

🔍

opkg

View Details ▼

A lightweight package manager used to install OpenWrt packages.

opkg install {{package}}

Install a package:

opkg remove {{package}}

Remove a package:

opkg update

Update the list of available packages:

🔍

resolvectl

View Details ▼

Resolve domain names, IPv4 and IPv6 addresses, DNS resource records, and services.
Note: `systemd-resolved.service` must be running.
See also: `dig`, `nslookup`, `host`.

resolvectl

Show DNS settings:

resolvectl query {{domain1 domain2 ...}}

Resolve the IPv4 and IPv6 addresses for one or more domains:

resolvectl query {{ip_address}}

Retrieve the domain of a specified IP address:

🔍

x86_64

View Details ▼

This command is an alias of `setarch x86_64`.

tldr setarch

View documentation for the original command:

🔍

ipconfig

View Details ▼

View and control IP configuration state.

ipconfig getiflist

List all network interfaces:

ipconfig

List all network adapters:

ipconfig getifaddr {{interface_name}}

Show the IP address of an interface:

// repository documentation